469,641 Members | 1,195 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,641 developers. It's quick & easy.

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&
stackMark)
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
original)
[ConfigurationException]: Execution permission cannot be acquired.
(c:\windows\microsoft.net\framework\v1.1.4322\Conf ig\machine.config line
258)
at System.Web.UI.CompilationConfiguration.LoadAssembl ies(Hashtable
original)
at System.Web.UI.TemplateParser.AppendConfigAssemblie s()
at System.Web.UI.TemplateParser.PrepareParse()
at System.Web.UI.TemplateParser.Parse()
at
System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
at System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound)
at System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
at System.Web.UI.TemplateParser.GetParserCacheItem()
at
System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser)
at System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext
context)
at System.Web.HttpApplicationFactory.Init(HttpContext context)
at
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
context)
at System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest
wr)
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!

David


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!

www.SocialNetwork.com

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

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
By using this site, you agree to our Privacy Policy and Terms of Use.