.net - WebService hangs while loading VB6 legacy interop -


we have 2 dll's - 1 x.dll (legacy dll built visual c/c++ 2005 , visual basic 6), x.interop.dll generated tlbimp. x.interop.dll added reference , used our webservice.

while using .net asmx application there 2 calls it:

  • first - checks if service available , provides data available query
  • second - starts using x.interop.dll , queries data.

second query not pass , hangs while loading interop.

some interesting facts:

  1. it not work on deployment server (iis 8.5) while works on development machine (iis 10). on both server same msi package installed.
  2. it possible reproduce same issue on development machine renaming or removing access x.dll. however, in event viewer writes warning or error service not have access it, while deployment server not says accessing x.dll.
  3. tried various various configurations on component security settings , nothing seems helpful.
  4. 32-bit applications enabled on web-service.
  5. wrote separate console exe application x.interop.dll simple initialization , call (like doing on web-service) , worked on both machines.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -