R
rrossney
Please look at the "what I've already done" section of this message
before responding to it: I believe that I've done everything that the
people who experience this error are typically told to do.
I have created an ASP.NET web service that I have running on my
development machine, and am trying to get it to run on my test server.
Both machines are running Windows 2000 SP4, IIS 5, and the .NET 2.0
framework.
When I attempt to access the service through IE, I get the familiar
page which reads:
"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. "
The attempt also results in three entries in the application log.
One's a warning:
"Failed to initialize the AppDomain:/LM/W3SVC/10/Root
Exception: System.Configuration.ConfigurationErrorsException
Message: Exception of type
'System.Configuration.ConfigurationErrorsException' was thrown."
[stack trace omitted]
Then two errors:
"Failed to execute the request because the ASP.NET process identity
does not have read permissions to the global assembly cache. Error:
0x80131902 "
"aspnet_wp.exe (PID: 744) stopped unexpectedly. "
Here's what I've already done:
- Verified that the machine.config file on the test server is identical
to the one on the development server. Both contain the element
<processModel autoConfig="true"/>, i.e. they aren't giving
aspnet_wp.exe a different user to run under.
- Via Task Manager, determined that aspnet_wp.exe is running as ASPNET.
- Verified that the ASPNET user has read permissions to WINNT\assembly
and its descendants. (I've done this by unregistering shfusion.dll,
setting the permissions in Windows Explorer's directory properties'
Security tab, and re-registering shfusion.dll; I've also run AccessEnum
to verify that none of the descendant directories are denied to
ASPNET.)
- Verified that ASPNET has full-control permissions to the Temporary
ASP.NET Files directory (though I know from experience that you get a
different error if this is the problem).
- Verified that ASPNET has read permissions to the web service's
application directory (again, I know from experience that this also
produces a different error from the one I'm getting).
What's going on here? Why is ASP.NET is throwing a
ConfigurationErrorsException? Why is it telling me that the ASP.NET
process identity doesn't have read permissions to the GAC when it does?
What further diagnostic steps should I be performing?
Any help would be welcome.
Thanks,
Robert Rossney
(e-mail address removed)
before responding to it: I believe that I've done everything that the
people who experience this error are typically told to do.
I have created an ASP.NET web service that I have running on my
development machine, and am trying to get it to run on my test server.
Both machines are running Windows 2000 SP4, IIS 5, and the .NET 2.0
framework.
When I attempt to access the service through IE, I get the familiar
page which reads:
"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. "
The attempt also results in three entries in the application log.
One's a warning:
"Failed to initialize the AppDomain:/LM/W3SVC/10/Root
Exception: System.Configuration.ConfigurationErrorsException
Message: Exception of type
'System.Configuration.ConfigurationErrorsException' was thrown."
[stack trace omitted]
Then two errors:
"Failed to execute the request because the ASP.NET process identity
does not have read permissions to the global assembly cache. Error:
0x80131902 "
"aspnet_wp.exe (PID: 744) stopped unexpectedly. "
Here's what I've already done:
- Verified that the machine.config file on the test server is identical
to the one on the development server. Both contain the element
<processModel autoConfig="true"/>, i.e. they aren't giving
aspnet_wp.exe a different user to run under.
- Via Task Manager, determined that aspnet_wp.exe is running as ASPNET.
- Verified that the ASPNET user has read permissions to WINNT\assembly
and its descendants. (I've done this by unregistering shfusion.dll,
setting the permissions in Windows Explorer's directory properties'
Security tab, and re-registering shfusion.dll; I've also run AccessEnum
to verify that none of the descendant directories are denied to
ASPNET.)
- Verified that ASPNET has full-control permissions to the Temporary
ASP.NET Files directory (though I know from experience that you get a
different error if this is the problem).
- Verified that ASPNET has read permissions to the web service's
application directory (again, I know from experience that this also
produces a different error from the one I'm getting).
What's going on here? Why is ASP.NET is throwing a
ConfigurationErrorsException? Why is it telling me that the ASP.NET
process identity doesn't have read permissions to the GAC when it does?
What further diagnostic steps should I be performing?
Any help would be welcome.
Thanks,
Robert Rossney
(e-mail address removed)