A
Alan Silver
Hello,
I would like to create a new web site with VWD, but would like to run it
under IIS, not the development server. One reason for this is that I
want the web site to be at the domain root, not under a virtual
directory.
I have tried this, but don't seem to be able to get it to work. I
created a new (empty) web site in IIS, and then started a new project in
VWD and specified the type as HTTP. I browsed to http://test/ and
clicked OK to create the project.
This gave me a basic default.aspx page. I hit f5 to try it out and was
told that remote debugging was unavailable. I have enabled debugging on
the web site, so I have no idea why this should be. Without debugging,
most of the advantage of VWD has gone. Any idea how I enable it?
Anyway, I tried doing Ctrl-f5, which starts the project without
debugging. This time I got a browser window, but got a message saying
....
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
I looked in the event log and found two entries, one warning and one
error. The warning said...
Failed to initialize the AppDomain:/LM/W3SVC/87257621/Root
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Access is denied.
StackTrace: at System.AppDomain.CreateInstance(String assemblyName,
String typeName)
at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironme
nt(String appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironme
ntAndReportErrors(String appId, IApplicationHost appHost,
HostingEnvironmentParameters hostingParameters)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
and the error said...
Failed to execute request because the App-Domain could not be created.
Error: 0x80070005 Access is denied.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Does anyone have any idea what is going on here? Surely it can't be this
hard to create a web site.
I'm using Windows 2003 Server, with IIS6, VWD beta 2.
TIA
I would like to create a new web site with VWD, but would like to run it
under IIS, not the development server. One reason for this is that I
want the web site to be at the domain root, not under a virtual
directory.
I have tried this, but don't seem to be able to get it to work. I
created a new (empty) web site in IIS, and then started a new project in
VWD and specified the type as HTTP. I browsed to http://test/ and
clicked OK to create the project.
This gave me a basic default.aspx page. I hit f5 to try it out and was
told that remote debugging was unavailable. I have enabled debugging on
the web site, so I have no idea why this should be. Without debugging,
most of the advantage of VWD has gone. Any idea how I enable it?
Anyway, I tried doing Ctrl-f5, which starts the project without
debugging. This time I got a browser window, but got a message saying
....
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
I looked in the event log and found two entries, one warning and one
error. The warning said...
Failed to initialize the AppDomain:/LM/W3SVC/87257621/Root
Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Access is denied.
StackTrace: at System.AppDomain.CreateInstance(String assemblyName,
String typeName)
at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironme
nt(String appId, IApplicationHost appHost, HostingEnvironmentParameters
hostingParameters)
at
System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironme
ntAndReportErrors(String appId, IApplicationHost appHost,
HostingEnvironmentParameters hostingParameters)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
and the error said...
Failed to execute request because the App-Domain could not be created.
Error: 0x80070005 Access is denied.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Does anyone have any idea what is going on here? Surely it can't be this
hard to create a web site.
I'm using Windows 2003 Server, with IIS6, VWD beta 2.
TIA