Red Gate forums :: View topic - Access denied while trying to load an ASP.NET page
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Exception Hunter 2
Exception Hunter 2 forum

Access denied while trying to load an ASP.NET page

Search in Exception Hunter 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rdezell



Joined: 31 Mar 2010
Posts: 1

PostPosted: Wed Mar 31, 2010 3:14 pm    Post subject: Access denied while trying to load an ASP.NET page Reply with quote

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.
Back to top
View user's profile Send private message
slaphead99



Joined: 10 Mar 2010
Posts: 93

PostPosted: Wed Jun 09, 2010 4:52 pm    Post subject: Reply with quote

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


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

?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group