dll used in webpart in GAC but not found
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
dll used in webpart in GAC but not found

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Narshe
Guest





Posted: Wed Nov 02, 2005 5:51 pm    Post subject: dll used in webpart in GAC but not found Reply with quote

I have a 3rd party dll eWorld.UI that has a few nice controls in it
that I'm using in a webpart. Locally everything is in the bin and works
fine, but on the servers everything is in the GAC.

I put the dll in the GAC and the page displays an error saying the dll
can't be found. I changed to reference type from local true to false,
rebuilt, then deployed and it still can't be found. If I copy it to the
sites bin, it works fine.

All my own dll's are put in the GAC and are found just fine, but this
one isn't found for some reason. It has a public key token, so it is
strong named (if it wasn't, I probably would have got a not safe
error).

What can I do to have this ddl work in the GAC?
Back to top
Narshe
Guest





Posted: Wed Nov 02, 2005 5:51 pm    Post subject: Re: dll used in webpart in GAC but not found Reply with quote

I found a way for this to work. I added this to my web.config

<compilation batch="false" debug="true">
<assemblies>
<add assembly="eWorld.UI, Version=1.9.0.0, Culture=neutral,
PublicKeyToken=24d65337282035f2" />
</assemblies>
</compilation>
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
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




New Topics Powered by phpBB