Re: Calling C++ library from ASP.NET web service

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Zoodor" <Zoodor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:D165DE19-F4B9-42EC-96BE-04DB413F9E9B@xxxxxxxxxxxxxxxx
I doubt that's the problem. It may be, that the C++ program is a COM
application and it's not registered in the registry. If it was some kind of
account restriction, some kind of *Access Denied* message would be coming
back.

The C++ library is not a COM application.

I think you have some kind of pathing or registration Dll issue.

I tried compiling the web service into an assembly and wrote an application
that used the web service class directly (as if it was just a class in an
assembly). I ran it from the web service's bin directory, and it worked fine.
When the exact same method is called via a web service call I am still
getting the same "The specified module could not be found" error.

This is getting really frustrating. If anyone has any suggestions on this, I
would really appreciate it. Just finding out what the missing module is would
be a good start.

..NET will sometimes return extra information in the InnerText property of the exception.

Have you tried using that feature, dumping messages to a text file to see all of the error exception message?

.



Relevant Pages

  • Re: Calling C++ library from ASP.NET web service
    ... application and it's not registered in the registry. ... I tried compiling the web service into an assembly and wrote an application ... that used the web service class directly (as if it was just a class in an ... getting the same "The specified module could not be found" error. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Could not establish trust relationship with remote server
    ... than you can cnofigure his rights regarding to specific ... The web service which make the call is impersonating ... this user rights in the registry. ... systems group that will apply apropriate proxy settings to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Problem with MSXML3.DLL
    ... I'm tring to implement a web service starting from the exemple showed ... HRESULT CDOMMapper::write(ISoapSerializer* pSoapSerializer, BSTR ... MSXML3.dll puts this key into registry, but I did not find it. ... Best regards. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Registry key cannot write..
    ... which would indicate it's actually a Web Service you're ... For a windows service, make sure it's running as local admin, or that the ... user it is running as has rights to edit the registry. ... > Cannot write to the registry key. ...
    (microsoft.public.dotnet.languages.csharp)
  • Event Log Write Access error.
    ... If that user is a member of Administrators group, then the web service can write into Event Log. ... If using SIDs in the registry is the only way, how can I get the SID for that particular user to enter into the registry? ...
    (microsoft.public.dotnet.framework.aspnet.security)