I am using Csla 2.1.4 with a business library named Lynx.Library. When I try to run with remoting I get the following error:
Unable to find assembly 'Lynx.Library, Version=5.5.0.1, Culture=neutral, PublicKeyToken=36b33b33f2b6545e'
Lynx.Library.dll and Csla.dll are in the Bin directory of the web site. If I open a browser with http://localhost/LynxRemotePortal/RemotingPortal.rem?wsdl I get the correct xml response returned.
Development environment is VS2008 (VB) and the solution has 3 projects (web app for remoting, business library, and windows application. Rebuilding the solution does update the remoting web app.
The application runs fine without remoting. I have searched the forums, but can't find anyone else with this problem. Any help is appreciated.
Walt
In your web.config, do you have something that looks like this:
<
system.runtime.remoting><
application><
service><
wellknown mode="SingleCall" objectUri="DataPortal.rem" type="CSLA.Server.DataPortal,CSLA.Server.DataPortal"/></
service><
channels><
channel ref="http"><
serverProviders><
provider ref="wsdl"/><!--
TODO: comment the following two lines for .NET 1.0 --><
formatter ref="soap" typeFilterLevel="Full"/><
formatter ref="binary" typeFilterLevel="Full"/></
serverProviders></
channel></
channels></
application></
system.runtime.remoting>In your app.config you should have something like this under <AppSettings>:
<
add key="CslaDataPortalProxy" value="Csla.DataPortalClient.RemotingProxy, Csla"/><
add key="CslaDataPortalUrl" value="http://www.YourWebSite.com/RemotingPortal.rem"/>Copyright (c) Marimer LLC