.net - Unmanaged 32bit dll in C# wcf service could not load on IIS 7 using system.dynamic -
i have unmanaged c dll, register under class_root registry. it 32bit , register on x64 bit windows server r2.
i have developed wcf application load c dll registry value like
type type= type.gettypefromprogid("cdllregistyassociatedkey"); dynamic typeobj= activator.createinstance(type,true); // call c dll function typeobj here....
its work fine during development , debugging vs2012 .net 4.0. when deploye service on iis 7. c dll couldn't load , throw exception.
like
activator.createinstance(type,bool) type n't null
any 1 can please. in advance
Comments
Post a Comment