Adding project reference of CF class library to web service

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am using VS.NET 2005, C#

I want to expose some of the functionality from my CF class library via
web services. I created the web service project and added a reference
to my businessServices class library. In this library I include some
connection functionality from the SqlServerCE namespace. What ends up
happening is that it copies over the SqlServerCe assembly to the Bin
directory of the web service under Inetpub and when i try to build the
solution it gives the error of:

Error 1 Could not load file or assembly 'System.Data.SqlServerCe,
Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or
one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)

What is wrong with this and why is it doing this? It seems like it is
having rouble loading the assembly because of signed information? Is
this an ok process of exposing a device class library via web services?


Thanks in advance,

Jonathan

.



Relevant Pages

  • Re: Separating UI logic & program logic
    ... logic by putting it into a separate DLL, but you can of course do that ... functionality described here, it would be a very bad idea not to. ... A well written set of program logic should be be able to have a ... from web services to provide the functionality to an iPhone or ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: SOA and its real state of the art
    ... function and some parameter data in an xml document and fire it off ... It's important to realize that Web Services and SOA are not ... Functionality is exposed as a set of services. ...
    (comp.object)
  • Shall I implement this in javascript?
    ... Hi all, I need to add a new functionality to our product, where I need ... to access some web services. ... the user interface. ... I'm new to javascript so I'm not sure if this is ...
    (comp.lang.javascript)
  • Re: XML and Array of Arrays
    ... benchmark for my new Web Services product! ... U2WSD tool. ... The nice thing is that test cases, including load tests, ... If the functionality of the free version is not enough they, ...
    (comp.databases.pick)
  • Re: Separating UI logic & program logic
    ... On 6/18/11 7:46 PM, Larry P. wrote: ... logic by putting it into a separate DLL, but you can of course do that ... functionality described here, it would be a very bad idea not to. ... from web services to provide the functionality to an iPhone or ...
    (microsoft.public.dotnet.languages.csharp)