Can't run ASP.NET 2.0 App

M

Mike Robbins

Just installed Visual Studio .NET 2005. Created a new Web App. Added
nothing to default.aspx and simply tried to run it. Got an error.

The XML Page cannot be displayed
Invalid at the top level of the document
Error processing resource 'http://localhost:3795/Website2/Default.aspx'
Line 1...
/*
^

Any help appreciated.

Mike
 
P

Paul Henderson

Just installed Visual Studio .NET 2005. Created a new Web App. Added
nothing to default.aspx and simply tried to run it. Got an error.

(Re-)register ASP.NET with IIS:

aspnet_regiis -u
aspnet_regiis -i

and try again...
 
M

Mike Robbins

Thanks, Paul.

I figured it out. The PC I'm running it on doesn't have IIS installed.
But, IE was set up to go through a proxy server and it was tanking on the
port that the ASP .NET Development Server was using. So I just went into IE
and turned off the proxy server setting.

I appreciate your response.

Mike
 

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,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top