I’m facing the following issue I just can’t explain:
I have two dlls (DllA and DllB). When I call the first time from DllA into Dllb “ObjectFromB.aMethod()” everything works fine and fast. However, when I call another method from DllA in DllB “ObjectFromB.anotherMethod()” it takes more than 15 seconds!! I can’t figure out why… Except the method/signature everything is exactly the same (same thread, same objects, same assemblies, same call stack (until there) and then two only distinct methods/signatures (into the same object)).
Important: The issue happens only if I don’t have internet connection!
I found the reason of my issue:
Some DLLs I’ve been using are signed binaries. anotherMethod() contains a type in its signature from another DLL (DllC). Unfortunatley it couldn’t authenticate this DLL because of the missing Internet connection. A solution/workaround can be found here:
http://support.microsoft.com/kb/936707/en-us