Home > Net >  C # in the Webservice call 32-bit DLL, posted on the machine is no problem, not released on winserve
C # in the Webservice call 32-bit DLL, posted on the machine is no problem, not released on winserve

Time:11-14

In c # to write a Webservice, one of the interface to invoke a 32-bit DLL
In my computer is running on the Webservice this interface no problem (environmental WIN10 VS2015), but after the Webservice release on winserver2008R2, visit
This interface, prompt... 80040154 no registered... ,
Some of the ways I've tried online, useless,
I started this machine also has the hint, but I fixed for baidu, but by the method of fix that winserver2008R2 invalid,
Try methods:
1, the project properties in the platform to the X86
2.

CodePudding user response:


CMD/register x.d ll

CodePudding user response:

reference 1st floor tangyanzhi1111 response:
CMD/register x.d ll
is not the reason, I solved

CodePudding user response:

How to do, can you share,

CodePudding user response:

2018 R2 is 64 bit, the default.net program is also a 64 - bit operation, you have to in compiling attribute Settings, forcing it to 32 bit operation
  •  Tags:  
  • C#
  • Related