Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2008

Tip: Looking for answers? Try searching our database.

Open a .aspx file with Internet Explorer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nicole - 22 Oct 2007 17:50 GMT
Hello,
I have developed a ASP.Net Web Site in C# language. I can debug it and run
it from Visual Studio 2005. I have published it .
But when I want to open this .aspx file in Internet Explorer without Visual
Studio 2005, I have an error with a message like that:
The XML page can’t be opened. It’s impossible to open the XML insertion , by
using an XSL stylesheet. Correct the mistake and ...
The name is begun with a faulty character. Error in the processing of the
resource file:///C:/Mes documents/ ...

I can’t understand because I haven’t any XSL stylesheet.
Could you give me please a solution? According to my opinion, it could be
the parameters of IIS or Internet Explorer or I haven’t the rights to open
this file.
Thanks a lot for your help
Good Bye

Signature

Nicole
Chef de projet - développeur

Ignacio Machin ( .NET/ C# MVP ) - 22 Oct 2007 18:03 GMT
Hi,

Most probably the aspx engine has not been registered, run regiis_aspx.exe ,
it is in the win folder inside the Microsoft.Net folder

Signature

Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.

> Hello,
> I have developed a ASP.Net Web Site in C# language. I can debug it and run
[quoted text clipped - 14 lines]
> Thanks a lot for your help
> Good Bye
Stoitcho Goutsev (100) - 22 Oct 2007 18:38 GMT
Here is another possible reason for your problem.
When you start (create) a web application in VS2005 you have an option to
create it using IIS or the file system. I think by default it is the file
system. The file system option means that VS2005 will not create IIS vritual
folder for you and will use a small development web server to run your
application. In fact you don't need to have IIS installed at all. However it
is VS that starts this web server when you try to run the application.
Without VS there is no way you can see your web page.

After you are done developing your web application you need to deploy it on
IIS. I believe there are deployment tools in VS that helps you with this,
but what I usually do is to create a virtual folder in IIS set up a web
application for that folder and copy my files manually.

Keep in mind that you cannot open aspx page using files system path such as
file:///C:/Mes documents/ ...
This is because aspx pages needs to be processed by the asp.net runtime in
order to generate the final HTML that is going to be served to the browser.

HTH
Signature

Stoitcho Goutsev (100)

> Hi,
>
[quoted text clipped - 21 lines]
>> Thanks a lot for your help
>> Good Bye
Nicole - 22 Oct 2007 18:39 GMT
I try to run the file regiis_aspx.exe. Then, I look for this file. But I
can't find it in my computer.
I work on Microsoft Windows Server 2003.
Signature

Nicole
Chef de projet - développeur

> Hi,
>
[quoted text clipped - 19 lines]
> > Thanks a lot for your help
> > Good Bye
Dimitris Milonas - 22 Oct 2007 19:29 GMT
Hello Nicole,

A few questions. You said that you "have published it". I suppose that you
mean that you send your application to web server in order to access it from
the internet. Is this correct?
If the previous question is correct then is it the first time that you
published an application?
Again, if the first question is correct, then why the directory of the
resource file begins with c:\My Documents\etc... Did you hardcoded a
resource filename in your code to point at your local hard drive?

I'm sorry for not giving you any answers, but I had problems myself when I
tried to run my published application for the first time. So I'm trying to
find out what is causing the problem?

Regards
Dimitris

> Hello,
> I have developed a ASP.Net Web Site in C# language. I can debug it and run
> it from Visual Studio 2005. I have published it .
> But when I want to open this .aspx file in Internet Explorer without Visual
> Studio 2005, I have an error with a message like that:
> The XML page can't be opened. It's impossible to open the XML insertion ,
by
> using an XSL stylesheet. Correct the mistake and ...
> The name is begun with a faulty character. Error in the processing of the
[quoted text clipped - 10 lines]
> Nicole
> Chef de projet - developpeur
Nicole - 23 Oct 2007 16:34 GMT
Hello Ignacio,
I found the file aspnet_regiis.exe in the French version and I run it with
the correct parameters. But I always have the same problem.
Could you help me more, please?
I don't know what to do
Thank you for your help
Good bye
Signature

Nicole
Chef de projet - développeur

> Hello Nicole,
>
[quoted text clipped - 36 lines]
> > Nicole
> > Chef de projet - developpeur
Nicole - 30 Oct 2007 17:46 GMT
Hello,
I have found a solution to open this ASP.Net Web Site. I have published it
on IIS local Server from Visual Studio 2005. You must chose the IIS local  
Server on the left on the windows which is opened when you published your
site. You must open your site with the URL.
But now I have an exception of Security, when I click on the button of
Project Server Connection.
The message is described like that :
The application tried to run an operation which isn’t allowed by the
security. You must ask to your system Administrator or modify the level’s
trust of your application on configuration file.
I don’t know whether this point is caused by the rights of SharePoint, by
Project Server itself or by the rights of Windows Server 2003.
Could you help me please ?
Thank you for your help
Good bye
Signature

Nicole
Chef de projet - développeur

> Hello,
> I have developed a ASP.Net Web Site in C# language. I can debug it and run
[quoted text clipped - 12 lines]
> Thanks a lot for your help
> Good Bye
uma devi - 08 Aug 2008 22:30 GMT
hey,i have the problem as urs...if u found out the solution,can u please help me out with this???
Family Tree Mike - 08 Aug 2008 22:48 GMT
Any particular question among the 2000+ previous postings?

> hey,i have the problem as urs...if u found out the solution,can u please
> help me out with this???

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.