Including Library in C++ Webservice problems...

S

Sharon McCarty

Hi Everyone,

I'm creating a webservice that's written in C++. So, I'm using the
wizard by creating a c++ project using the template, ASP.net Web
Service.

I am trying to make method calls with third party api. So I am using
a .h file and a .lib file that comes with this api. I've placed the
actual .lib file in a bin directory that I created with the project.

However, when I run the application, I get a browser that pops up
saying:

---------------------------------------------------------------------------
Configuration Error

Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below and modify your configuration file
appropriately.

Parser Error Message: File or assembly name TrackerSubmit, or one of
its dependencies, was not found.
----------------------------------------------------------------------------

Source Error:

Line 198: <add assembly="*"/>

Assembly Load Trace:


=== Pre-bind state information ===
LOG: DisplayName = TrackerSubmit
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/TrackerSubmit
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TrackerSubmit
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/trackersubmit/5d212b37/c2206447/TrackerSubmit.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/trackersubmit/5d212b37/c2206447/TrackerSubmit/TrackerSubmit.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/TrackerSubmit/bin/TrackerSubmit.DLL.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: TrackerSubmit, Version=1.0.1686.21845,
Culture=neutral, PublicKeyToken=null


Can someone please tell me what I'm doing wrong here? Did I include
the library wrong?

Thanks

Sharon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,061
Latest member
KetonaraKeto

Latest Threads

Top