Click to See Complete Forum and Search --> : [RESOLVED] exception error when replacing dll


amirt
March 3rd, 2009, 09:00 AM
Hello all,

I have an old dll which not in use anymore in my asp.net application which calls infrastructure.dll
I tried to remove it and replce it by new dll which also called infrastructure.dll
Building web site sucseeds, but when I try to run the application, I get
this TypeLoadException (during site upload):

Could not load type 'InfraStructure.LogClass' from assembly 'Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'


and cannot continue...(LogClass is a function from old dll which not in use anymore as I said and not appears at all in the application)
any ideas?

p.s
I looked for this string (LogClass') in the entire solution (including web.config) but didn't find anything...

amirt
March 5th, 2009, 02:42 AM
Finally solved the mistery...
I had another dll in my project which was using the old infrastructure.dll...
removing from this dll the reference to old infrastructure.dll solved the problem!
haleluya :)