Re: Open ASP.NET Application with visual studio.net
- From: suchdi@xxxxxxxxxxxxxxxx <suchdinetvisionnetil@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 17 Apr 2006 00:06:02 -0700
I did all that is written
in Knowledge Base article 306005
,but when I open an application,try to open any web page by right clicking
it in solution explorer of ASP.NET application,pressing view in web browser,I
receive the following message:
Server Error in '/WebApplication2' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parser Error Message: Root element is missing.
Source Error:
[No relevant source lines]
Source File: c:\inetpub\wwwroot\web.config Line: 0
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET
Version:2.0.50215.44
"pvdg42":
.
"suchdi@xxxxxxxxxxxxxxxx" <suchdinetvisionnetil@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:E2298BB9-AECC-40CB-ACED-94AC963D0778@xxxxxxxxxxxxxxxx
When I try to open ASP.NET Application,I get the following messagebox:
The webserver reported the following error when attempting to create or
open
the
web project loccated at the following
URL:'http//localhost/Webapplication2'.
HTTP /1.1 500 Internal Server Error.
I cannot execute the application.
How can I repair that error?
I cannot work with web applications with visual studio.net.
But I need
Please tell us which version of Visual Studio you are using. From your
subject line, I'll guess VS 2003?
If I'm correct, have you checked to see that IIS is installed and working
correctly?
Control Panel -> Administrative Tools -> Internet Information Services.
If you don't find IIS, you'll need to install it from your OS CD.
If it appears to be OK, the mapping between IIS and Visual Studio may be
corrupt.
In either case (with IIS up and running), follow the instructions in
Knowledge Base article 306005 to remap VS to IIS:
http://support.microsoft.com/default.aspx?scid=kb;en-us;306005
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.
- References:
- Re: Open ASP.NET Application with visual studio.net
- From: pvdg42
- Re: Open ASP.NET Application with visual studio.net
- Prev by Date: Re: Setup project dependency problem
- Next by Date: Re: Visual Studio2005 is a pain in the ...
- Previous by thread: Re: Open ASP.NET Application with visual studio.net
- Next by thread: Re: Select All Rows option in a DataGridView
- Index(es):
Relevant Pages
|