The XML page cannot be displayed

G

Guest

I have .net 2.0, IIS 5.1 and Vistual Studio 2005 installed. The asp.net
project i created is running fine under VS 2005, but if I browse through IE
directly, or even browse a simple aspx page, it returns:

---------------------------------------------------------------------------------------------The XML page cannot be displayed

Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.

A name was started with an invalid character. Error processing resource..
---------------------------------------------------------------------------------------------

ASP.Net of Defatult Web Site Properties is pointing to ASP.NET version
2.0.50727. Any other setting or configuration I missed?

Any feedback is appreciated.

Michael X.
 
J

Juan T. Llibre

Is ASP.NET properly registered with IIS?

Try running aspnet_regiis -u
from a command window in the .Net Framework directory :
Drive:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
or
Drive:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

That will first unregister ASP.NET with IIS

Then, run aspnet_regiis -i
to re-register it, and see if it works after that.

Also, make sure the physical directory in which you are
trying to run the page from is setup as a virtual directory in the IIS Manager.
 
G

Guest

Juan,

Big thanks goes to you. You solve my problem which had been bothering for a
couple of days.

Michael X.
 
J

Juan T. Llibre

You're very much welcome, Michael.
Glad to know you're up and running again!
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top