473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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)
Feb 16 '07 #1
0 1029

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mark McEahern | last post by:
I just wrote a very simple wrapper for the PayFlow Pro SDK (see below). A friend of mine did this before, but I didn't have access to his source, so I took it as a learning opportunity for me to...
12
by: Egil M?ller | last post by:
Is there any way to create transparent wrapper objects in Python? I thought implementing __getattribute__ on either the wrapper class or its metaclass would do the trick, but it does not work for...
3
by: Ian | last post by:
Has anyone had any experience in writing wrappers for older C libraries? What I'm looking at doing is creating a wrapper C++ object as a front end to an older C library, also the library is not...
2
by: SpotNet | last post by:
Hello Newsgroup, Started a job where an Access 2003 database is accessed with a custom assembly that wraps\encapsulates the relevant System.Data.OleDb classes needed for the application. Briefly...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
7
by: Justin Koivisto | last post by:
system: php 4.4.2 windows 2003 server apache 1.3.x problem: scripts don't work :-P description:
0
by: Fred Heida | last post by:
Hi, i'm in the process of converting code from VS2003 to VS2005 but have run in to a (i hope small) problem.. we have a native C++ dll, and for c# clients we have a managed c++ dll which...
2
by: Serman D. | last post by:
Hi all, I'm trying to complete the samples from the excellent 2003 developerWorks article "Bringing the Power of Regular Expression Matching to SQL" by Knut Stolze: http://tinyurl.com/3bhrnn...
5
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got a .Net client to a soap service that works for the most part, but there are a couple of things I'd like to improve: 1) the first request to the client wrapper always takes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.