c# - Where do I deploy the DLL's to be used while calling unmanaged code from a custom .Net Data Provider which will be deployed to the GAC? -
c# - Where do I deploy the DLL's to be used while calling unmanaged code from a custom .Net Data Provider which will be deployed to the GAC? -
i have build custom .net info provider , in process of trying deploy can utilize in sql integration services (ssis). issue running referencing unmanaged methods in win32 dll. in order info provider work in ssis, have sign managed provider dll , deploy global assembly cache (gac). when seek utilize info provider in business intelligence development studio (bids), gives me next error:
title: connection manager ------------------------------ test connection failed because of error in initializing provider. unable load dll 'rtb32.dll': specified module not found. (exception hresult: 0x8007007e) ------------------------------ buttons: ok ------------------------------ how/where supposed deploy unmanaged code along provider works? things have tried:
embedding dll's managed dll. adding unmanaged dll's gac. adding location of unmanaged dll's path scheme variable. putting unmanaged dll's system32 directory (out of desperation)side note: when utilize info provider in forms app unmanaged , managed assemblies in same directory, works without issues.
side note 2: want info provider work in more places ssis. want work linked server in sql server, info source in ssrs, info source visual studio, in entity framework, etc. prefer set dll's in 1 place work of these.
thanks!
chris
if 32-bit app running on 64-bit os, need install dlls in c:\windows\syswow64 directory.
otherwise, should go c:\windows\system32.
in both cases, obviously, need utilize appropriate drive , directory machine installing on.
c# .net ado.net unmanaged gac
Comments
Post a Comment