Open a .aspx file with Internet Explorer

G

Guest

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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
 
S

Stoitcho Goutsev \(100\)

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
--
Stoitcho Goutsev (100)


Ignacio Machin ( .NET/ C# MVP ) said:
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
 
G

Guest

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.
--
Nicole
Chef de projet - développeur


Ignacio Machin ( .NET/ C# MVP ) said:
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
 
D

Dimitris Milonas

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
 
G

Guest

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
--
Nicole
Chef de projet - développeur


Dimitris Milonas said:
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
 
G

Guest

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
 
U

uma devi

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top