Red Gate forums :: View topic - Error attemting to profile IIS Website .Net v4
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 5
ANTS Performance Profiler 5 forum

Error attemting to profile IIS Website .Net v4

Search in ANTS Performance Profiler 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
John Morrison



Joined: 28 May 2010
Posts: 2

PostPosted: Fri May 28, 2010 6:57 pm    Post subject: Error attemting to profile IIS Website .Net v4 Reply with quote

We access the website fine on our development machine however when ever we attempt to profile it we get the following server error. any ideas.. I also tried this on the EAP v 6 .. same error


Server Error in '/' Application.
--------------------------------------------------------------------------------

Could not load file or assembly 'AspDotNetStorefrontCore, Version=9.0.1.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'AspDotNetStorefrontCore, Version=9.0.1.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FileLoadException: Could not load file or assembly 'AspDotNetStorefrontCore, Version=9.0.1.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) +0
System.Signature..ctor(IRuntimeMethodInfo methodHandle, RuntimeType declaringType) +148
System.Reflection.RuntimeMethodInfo.get_ReturnType() +93
System.Web.HttpApplicationFactory.ReflectOnMethodInfoIfItLooksLikeEventHandler(MethodInfo m) +66
System.Web.HttpApplicationFactory.ReflectOnApplicationType() +323
System.Web.HttpApplicationFactory.Init() +441
System.Web.HttpApplicationFactory.EnsureInited() +109
System.Web.Compilation.BuildManager.CompileGlobalAsax() +171
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +655

[HttpException (0x80004005): Could not load file or assembly 'AspDotNetStorefrontCore, Version=9.0.1.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +113
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +980
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1154

[HttpException (0x80004005): Could not load file or assembly 'AspDotNetStorefrontCore, Version=9.0.1.2, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +706
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +186
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +810




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Back to top
View user's profile Send private message
slaphead99



Joined: 10 Mar 2010
Posts: 93

PostPosted: Mon May 31, 2010 12:32 pm    Post subject: Reply with quote

Can you try to give this assembly a string name please? I think, given that the profiler loads its assembly into the runtime, it might force extra checking which necessitates signing.
Back to top
View user's profile Send private message
slaphead99



Joined: 10 Mar 2010
Posts: 93

PostPosted: Tue Jun 01, 2010 1:27 pm    Post subject: Reply with quote

Or even a strong name Smile
Back to top
View user's profile Send private message
John Morrison



Joined: 28 May 2010
Posts: 2

PostPosted: Thu Jun 03, 2010 10:45 pm    Post subject: Reply with quote

Unfortuatly I cannot sign this as it causes issues with other dll's down the road.

Thas has not been an issue before.

There is one thing i did notice. The assembly version it is saying it cannot access is 9.0.1.2 while we are on 9.0.1.3 or atleast that is what is in the AssemblyInfo.cs

There is a precompilied dll that i do not have access to that is loaded before the call to the dll in the exception .. could this be the issue?
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