J
Joel Cade
I'm having a problem with ASP.Net on a machine with both .Net
Framework 1.0 and 1.1. This application is targeted to 1.0 using IIS
application extension mappings. The following error page is shown
when the page is accessed.
Server Error in '/' 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: Execution permission cannot be acquired.
Source Error:
Line 197: <add assembly="System.Drawing,
Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="System.EnterpriseServices,
Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
Line 199: <add assembly="*"/>
Line 200: </assemblies>
Line 201:
Source File: c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config
Line: 199
Version Information: Microsoft .NET Framework Version:1.0.3705.288;
ASP.NET Version:1.0.3705.360
The stack trace in the source of the page states:
[PolicyException]: Execution permission cannot be acquired.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Boolean stringized, Evidence assemblySecurity,
StackCrawlMark& stackMark)...
[ConfigurationException]: Execution permission cannot be acquired.
(c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config line
199)
at System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable
original)
at System.Web.UI.TemplateParser.AppendConfigAssemblies()
....
The following steps have been taken:
- The indexing service has been uninstalled on the server and the
server has been rebooted.
- There is no anti-virus software running on the machine.
I've searched the Microsoft knowledge base and google groups, but
haven't found any answers. Thanks in advance for any help!
Joel Cade, MCSD
Framework 1.0 and 1.1. This application is targeted to 1.0 using IIS
application extension mappings. The following error page is shown
when the page is accessed.
Server Error in '/' 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: Execution permission cannot be acquired.
Source Error:
Line 197: <add assembly="System.Drawing,
Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
Line 198: <add assembly="System.EnterpriseServices,
Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/>
Line 199: <add assembly="*"/>
Line 200: </assemblies>
Line 201:
Source File: c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config
Line: 199
Version Information: Microsoft .NET Framework Version:1.0.3705.288;
ASP.NET Version:1.0.3705.360
The stack trace in the source of the page states:
[PolicyException]: Execution permission cannot be acquired.
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName
assemblyRef, Boolean stringized, Evidence assemblySecurity,
StackCrawlMark& stackMark)...
[ConfigurationException]: Execution permission cannot be acquired.
(c:\winnt\microsoft.net\framework\v1.0.3705\Config\machine.config line
199)
at System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable
original)
at System.Web.UI.TemplateParser.AppendConfigAssemblies()
....
The following steps have been taken:
- The indexing service has been uninstalled on the server and the
server has been rebooted.
- There is no anti-virus software running on the machine.
I've searched the Microsoft knowledge base and google groups, but
haven't found any answers. Thanks in advance for any help!
Joel Cade, MCSD