Options

Access denied while trying to load an ASP.NET page

rdezellrdezell Posts: 2
edited June 9, 2010 11:52AM in Exception Hunter 2
I'm trying to load an ASP.NET page into Exception Hunter 2.1 and get the following error:

An exception was encountered while trying to load the assembly C:\ProjectsTFS2008\Organizational Management (Admin Codes)\V1.0\OrgManager\OrgManagerWeb\Default.aspx.
RedGate.Exceptions.AssemblyNotLoadedException
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Exception )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Boolean )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(String )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly..ctor(IExceptionHunterSession session, String fullPathname)
at y.GetPE(String fullPathname)
at v.AddSessionAssembliesAndReferences(IEnumerable`1 filenames)
at RedGate.ExceptionHunter.UI.MainForm.<>c__DisplayClass21.<AddAssemblies>b__1d()

Caused by:

Compilation of ASP.NET pages did not succeed: Utility to precompile an ASP.NET applicationCopyright (C) Microsoft Corporation. All rights reserved.error ASPRUNTIME: Access to the path 'C:\Documents and Settings\rde1\Local Settings\Temp\Red Gate\b8edfecc-14b1-4e9b-9e93-f59a8cba1f5e\bin\App_global.asax.compiled' is denied.
RedGate.Exceptions.AssemblyNotLoadedException
at G.FullNameForAssembly(String filename)
at cB.a(String , Boolean )
at bz.LoadAssemblyFromFile(String filename)
at bs.e.PerformTask()
at bs.a()

I have Full Control access to the folder given in the second part of the message. Why would I get 'access denied'?

Thanks.

Comments

  • Options
    What happens if you manually run the aspnet compiler? Frex:


    aspnet_compiler -v /MyVirtualDir -p "c:\inetpub\wwwroot\MyApp" -d -c "c:\MyExceptionHunterAssemblies"

    ?
Sign In or Register to comment.