472,146 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,146 software developers and data experts.

Show stopper problem!! Parser Error Message: Execute permission cannot be acquired

Hello, I'm receiving an error reading the machine.config file when I try
to access my web application. This error came out of nowhere. After
searching many sites, googelizing and searching here, I've found others
with the same problem but no resolution. The problem for me (and for
others) came out of nowhere.

Here's the error message:
> START <<<<< Server Error in '/MyApp' 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 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:
Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
Line: 258
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573
END <<<<<

If I look inside the source I see this stack:
[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(AssemblyNa me assemblyRef,
Boolean stringized, Evidence assemblySecurity, StackCrawlMark&
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.Load(String assemblyString)
at System.Web.UI.CompilationConfiguration.LoadAssembl ies(Hashtable
[ConfigurationException]: Execution permission cannot be acquired.
(c:\windows\microsoft.net\framework\v1.1.4322\Conf ig\machine.config line
at System.Web.UI.CompilationConfiguration.LoadAssembl ies(Hashtable
at System.Web.UI.TemplateParser.AppendConfigAssemblie s()
at System.Web.UI.TemplateParser.PrepareParse()
at System.Web.UI.TemplateParser.Parse()
System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
at System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
at System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext
at System.Web.HttpApplicationFactory.Init(HttpContext context)
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
at System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest
I did some reading which warned of problems with Index Server, but
that's already off. I also disabled Norton Anti-Virus. I deleted my
\bin files and rebooted. I deleted the temporary files for the project.
Still I can't get this to go away. The only thing that I know of doing
between this web app working and breaking is installing Macromedia
Shockwave viewer for my web browser.

Does anyone have any insite?

Thank you!


Meet people for friendship, contacts,
or romance using free instant messaging software! See a picture you
like? Click once for a private conversation with that person!


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
0 2633

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Trevor Oakley | last post: by
reply views Thread by Doug Holland | last post: by
5 posts views Thread by Kenneth P | last post: by
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.