1
Vote

Flan Controls in the GAC?

description

Hi!
For different reasons, I need to add the Flan Controls in the GAC. In order to do so, I had to sign the DLL with my own key.
Adding the DLL to the GAC goes fine, but when my web-page gets loaded, I receive a "Could not load file or assembly 'Flan.Controls' or one of its dependencies. "
 
Using fuslogvw and debugging, I notice that the loading of the DLL is not with the fully qualified name. Here's the event-log entry (things get a little complicated, since I use Telerik's controls in WSS weparts...)
Any idea? I can work-around the problem by adding the DLL in the 80/bin directory as well, but I'd rather not.
 
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 2009-04-21
Time: 11:15:22
User: N/A
Computer: VM-WSS
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2009-04-21 11:15:22
Event time (UTC): 2009-04-21 09:15:22
Event ID: eff41daae5d4413a83f53d024b76e125
Event sequence: 67
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1163341726/Root-4-128847788899610288 
Trust level: Full 
Application Virtual Path: / 
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\ 
Machine name: VM-WSS 
Process information:
Process ID: 3892 
Process name: w3wp.exe 
Account name: NT AUTHORITY\NETWORK SERVICE 
Exception information:
Exception type: FileNotFoundException 
Exception message: Could not load file or assembly 'Flan.Controls' or one of its dependencies. The system cannot find the file specified. 
Request information:
Request URL: http://vm-wss/apps/Select/default.aspx?IW_Debug=1 
Request path: /apps/Select/default.aspx 
User host address: 192.168.1.38 
User: VM-WSS\Administrator 
Is authenticated: True 
Authentication Type: NTLM 
Thread account name: NT AUTHORITY\NETWORK SERVICE 
Thread information:
Thread ID: 6 
Thread account name: NT AUTHORITY\NETWORK SERVICE 
Is impersonating: False 
Stack trace:    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Telerik.Web.UI.ScriptEntry.LoadAssembly()
at Telerik.Web.UI.ScriptEntrySlot.GetSerializedAssemblyInfo(ScriptEntry scriptEntry)
at Telerik.Web.UI.ScriptEntrySlot.SerializeScriptEntry(ScriptEntry scriptEntry)
at Telerik.Web.UI.ScriptEntryUrlBuilder.TryAddScriptEntry(ScriptEntry scriptEntry)
at Telerik.Web.UI.ScriptEntryUrlBuilder.RegisterScriptEntry(ScriptEntry scriptEntry)
at Telerik.Web.UI.RadScriptManager.OnResolveScriptReference(ScriptReferenceEventArgs e)
at System.Web.UI.ScriptManager.RegisterScripts()
at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

comments