Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > C+/CLI wrapper DLL does not work on Win 2003 Server IIS

Reply
Thread Tools

C+/CLI wrapper DLL does not work on Win 2003 Server IIS

 
 
Daniel P.
Guest
Posts: n/a
 
      02-16-2007
I have created a C++/CLI wrapper for a pice of classic C++ code that uses ATL
CString.

The DLL code is called from some web services written in C#.

It all works well on my dev machine (XP Pro) but when I deploy the web
services to Windows 2003 Server it fires all sort of errors. Below is one of
them.

Is it anything related with security settings or some dependencies I'm
missing?


System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.IO.FileNotFoundException: Could not load file or
assembly 'MyWrapper, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=934f0a8f34dfe663' or one of its dependencies. The system
cannot find the file specified.
File name: 'MyWrapper, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=934f0a8f34dfe663'
at WSAddEditCommonDialogs.EditExecution(String[] arrExecution)

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = MyWrapper, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=934f0a8f34dfe663
(Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/MyWebService/
LOG: Initial PrivatePath = C:\Inetpub\wwwroot\MyWebService\bin
Calling assembly : App_Code, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Inetpub\wwwroot\MyWebService\web.config
LOG: Using host configuration file:
\\?\c:\windows\microsoft.net\framework\v2.0.50727\ aspnet.config
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\conf ig\machine.config.
LOG: Post-policy reference: MyWrapper, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=934f0a8f34dfe663
LOG: The same bind was seen before, and was failed with hr = 0x80070002.

--- End of inner exception stack trace ---

at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters)
at MyCompany.MyModule.Foo(String[] arr)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet to run on Win 98, Win ME, Win XP, Win Vista & Win 7 ?? Krist Java 6 05-06-2010 11:53 PM
asp.net on server 2003 with IIS NOT installed, System.DllNotFoundException: Unable to load DLL (aspnet_isapi.dll)." EP ASP .Net 22 11-16-2005 09:21 PM
ASP applications form IIS on win NT 4.0 to IIS 6.0 win 2003 Raj ASP General 2 04-14-2004 12:32 AM
Web server upgraded to 2003 & IIS 6 and now call to win32 dll will not work Tom ASP .Net 0 10-30-2003 02:14 PM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57