I have created an simple dll which returns the string message as COM Interop DLL and deployed in Dev server using gacutil and regasm with /tlb: to generate tlb file.
Referenced in Excel VBA to make call to .NET method and coded to call the method. It worked fine in Development and received the message if i run the macro.
I then copied the dll's into CITRIX server and registered with gacutil and regasm with /tlb:
Referenced the .tlb file to Excel sheet to make call to method to get message
then did run the macro but it is giving error msg "File or assembly name , or one of its dependencies, was not found."
I need to find solution asap. Please feel free to help me if you have any solution.
In dev(XP) its working fine but not in CITRIX terminal server(Win 2003)
Please help me.
- Moved by Forrest Guo Thursday, March 08, 2012 2:33 PM (From:.NET Framework Setup)
here is the log from fusion bing log viewer. Please help me to fix this issue. thanks for all your help.
I did registered my dll and its supported dll into GAC. the dll that was there in GAC has PublicKeyToken=669a8e92dd354227.
Any thing to do with security/impersonation. help me to resolve this issue.
*** Assembly Binder Log Entry (3/27/2012 @ 11:49:39 AM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: P:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\fusion.dll
Running under executable P:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: DisplayName = M_LIM_Addin2_0, Version=184.108.40.206, Culture=neutral, PublicKeyToken=669a8e92dd354227
LOG: Appbase = P:\Program Files\Microsoft Office\OFFICE11\
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = NULL
Calling assembly : (Unknown).
LOG: Processing DEVPATH.
LOG: DEVPATH is not set. Falling through to regular bind.
LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from P:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: M_LIM_Addin2_0, Version=220.127.116.11, Culture=neutral, PublicKeyToken=669a8e92dd354227
LOG: Cache Lookup was unsuccessful.
LOG: Attempting download of new URL file:///P:/Program Files/Microsoft Office/OFFICE11/M_LIM_Addin2_0.DLL.
LOG: Attempting download of new URL file:///P:/Program Files/Microsoft Office/OFFICE11/M_LIM_Addin2_0/M_LIM_Addin2_0.DLL.
LOG: Attempting download of new URL file:///P:/Program Files/Microsoft Office/OFFICE11/M_LIM_Addin2_0.EXE.
LOG: Attempting download of new URL file:///P:/Program Files/Microsoft Office/OFFICE11/M_LIM_Addin2_0/M_LIM_Addin2_0.EXE.
LOG: All probing URLs attempted and failed.
Did you use .NET 1.1 for installing your assembly into GAC? Is it really compiled against .NET 1.1 and not higher version?
You can double check that your DLL is indeed in GAC by running "gacutil.exe /l M_LIM_Addin2_0", or "dir /S /B %WINDIR%\M_LIM_Addin2_0.dll".