all groups > dotnet interop > september 2005 >
You're in the

dotnet interop

group:

COM Interop Deploy issue


COM Interop Deploy issue krissy_kernan NO[at]SPAM hotmail.com
9/29/2005 1:14:40 PM
dotnet interop:
I am getting the following error when I try to run my code on the
deployed server: "File or assembly name dllname.dll or one of its
dependencies was not found." It is a VB6 app. that calls a .Net dll.
(The .Net code also calls VB6 dlls, but I don't have a problem
executing that part of the code). I ran regasm on the server, but I
continue to get the error when I try to access the .Net code. My
assembly is not strong-named or registered in the GAC, since from what
I read, it didn't sound like it was necessary. I checked the registry
entries on the source and target server for the .tlb file entries, and
they both match. Would there be security settings on the target server
that could be preventing me from accessing the .Net dll? I would
appreciate any help since I am out of ideas. Thanks!
Re: COM Interop Deploy issue KK
9/29/2005 5:23:33 PM
Thanks for the quick reply.

Yes, my .Net DLL references other VB6 DLLs, but they are all located in
the directory with my VB6 executable.

Thanks, Krissy
Re: COM Interop Deploy issue Jeff Brown
9/29/2005 7:55:55 PM
Does your .NET DLL reference any other DLLs, besides those in the GAC?

If so, you may need to copy those other DLLs (and whatever DLLs they
reference, etc.) into the same directory as your VB6 executable and .NET
DLL.

[quoted text, click to view]

AddThis Social Bookmark Button