Thanks for the guidance.
I ran the "version switcher" as recommended. In fact it seems that IIS was
configured to execute ASP.NET (aspx) apps via dotnet version 2.0 and so I
switched it back to version 1.1. So, I no longer get the original error
message described in my earlier message.
However, now I get a different error... When opening my project, vs.net
2003 gives this error message via a dialog box:
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL: 'http://localhost/gta'.
'HTTP/1.1 500 Internal Server Error'."
Alternatively, I typed the address of my application (
http://localhost/gta)
into IE. The resulting page givesan error message, which I cut-and-pasted
below.
Unfortunately, I was not able to understand how to execute the second
recommendation regarding "Project >> Configuration Mananger" from Hermit
Dave.
In addition to debugging this current problem, I would appreciate any
recommendations for articles about how to maintain two versions of vs.net
(in my case 2003 and 2005) simultaneously installed for ASP.NET development
on one machine.
Thanks,
Bruce
******* Start of error message from IE **********
Server Error in '/gta' Application.
----------------------------------------------------------------------------
----
Server cannot access application directory 'C:\Inetpub\wwwroot\gta\'. The
directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access
application directory 'C:\Inetpub\wwwroot\gta\'. The directory does not
exist or is not accessible because of security settings.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Server cannot access application directory
'C:\Inetpub\wwwroot\gta\'. The directory does not exist or is not accessible
because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDi rectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +263
[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +965
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr) +128
----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
******* End of error message from IE **********
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:us**************@TK2MSFTNGP12.phx.gbl...
Just yesterday i talked to two people who had a similar problem
get yourself a version switcher
http://www.denisbauer.com/NETTools/A...nSwitcher.aspx
and check to see which version its currently bound to.
if its not bound to 1.1 then switch it to 1.1 and then try debugging.
if its still gives you bother problems then
Project >> Configuration Mananger - Debug version
Web.config - Debug = true
and you should be a member of Administrators and Debuggers
--
Regards,
Hermit Dave
(http://hdave.blogspot.com)
"Bruce Schechter" <br***@coding-r-us.com> wrote in message
news:#6**************@TK2MSFTNGP09.phx.gbl...
I just started to develop an ASP.NET application in vs.net 2003 . But
each time I try to execute the application (which is basically empty so far),
I get a dialog box titled "Microsoft Development Environment" with this
message:
"Error while trying to run project: Unable to start debugging on the web
server. Server-side error occurred on sending debug HTTP request.
Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a Debug.Start without debugging. You may
also want to refer to the ASP.NET and ATL Server debugging topic in the
online documentation."
I have created ASP.NET code successfully in the past with my current
installation of vs.net 2003, and I don't recall getting this error
message before. Also, vs.net works fine for win forms development.
What could cause this error message?
The only significant change to my system configuration since my previous
ASP.NET development was my installation of the latest edition of vs.net
2005 from msdn downloads. Could this be a factor?
Thanks,
Bruce