PDA

View Full Version : Default aspx webpage


jd4moto
11-02-2010, 12:57 PM
I am working on my first aspx application using Visual Studio 2010 Express and ASP.NET 4. I have uploaded my application and set the Default aspx page in the web.config file as well as setting the Default page in the Control Panel under IIS Tools > Default Documents. When I type in my domain name (www.website.com) I get an internal error 500.19 (The related config file for the page is invalid), but if I type in the full Default file path (www.website.com/appname/Default.aspx) everything works fine. I am sure it is a simple fix and I'm just an idiot, but can someone point me in the right direction? Thanks!

Ramses
11-02-2010, 01:02 PM
That error is probably due to an error in your web.config setting. Probably recommend starting it from scratch to determine the cause of the problem.

jd4moto
11-14-2010, 08:06 PM
Jose,
Thanks for the recommendation. I started with a new web.config file and it works great!

mjp
11-15-2010, 12:30 PM
Nice. Glad you got it working.