June 2008
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
Search

 
Catagories
Archives
Recent Entries
Links
RSS
Debugging VS6, calling a .NET assembly
Catagory: programming · This Entry · Comment(0) · eMail entry · Google
March 9, 2004 03:31 PM

programming

"Empty path is not legal"

This occurs when you try to debug a .NET assembly, calling it from a VB6 com object, and don't have and dll placed in the proper directory.


You need to place the assembly into the VB98 bin directory (or where ever you installed the VB6 binaries). it doesn't matter if register the assembly or install it into the GAC.

This also applies to where a dll is located on IIS, depending on the isolation level of the process. you may need to either place the dll into the system32 folder (system32/dllhost.exe) for medium and high isolation, or the iis inetsrv folder (system32/inetsrv/inetinfo.exe) for low isolation level.





Comments

Post a comment
Name:


Email Address:


URL:


Comments: