I'm upgrading my CSLA application from 3.0 to 4.1. My DataPortal is hosted on IIS. When testing my 4.1 csla.dll with my URL (?WSDL), I'm getting the 500 - Internal server error. When I use my CSLA 3.0 csla.dll the ?WSDL returns the normal XML data.
I know I'm suppose to be using WCF instead of Remoting, but I had performance issues with that a couple years ago when I tried it, so I'm still using Remoting for my production application (I have the dataportal working with WCF but want the Remoting one just in case, the performance issues remain).
My Web.config file is listed below. Am I missing a setting the CSLA 4.1 needs but 3.0 didn't or is there something else that needs to be done?
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="CslaAuthentication" value="Csla" />
<add key="DalManagerType" value="SMILE.DataAccess.SqlServer.DalManager,SMILE.DataAccess.SqlServer"/>
</appSettings>
<system.web>
<compilation debug="false" targetFramework="4.0" />
<httpRuntime maxRequestLength="2147483647"/>
<authentication mode="Windows"/>
</system.web>
<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall"
objectUri="RemotingPortal.rem"
type="Csla.Server.Hosts.RemotingPortal, Csla" />
</service>
<channels>
<channel ref="http">
<serverProviders>
<provider ref="wsdl" />
<formatter ref="soap" typeFilterLevel="Full" />
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
<connectionStrings>
<add name="Security"
connectionString="data source=Stiles-SMILE2;initial catalog=SMILESec;user=smuser;password=987654321;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
<add name="TEST"
connectionString="data source=Stiles-SMILE2;initial catalog=TEST;user=smuser;password=987654321;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
<add name="TRAIN"
connectionString="data source=Stiles-SMILE2;initial catalog=TRAIN;user=smuser;password=987654321;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
<add name="STILES"
connectionString="data source=Stiles-SMILE2;initial catalog=STILES2;user=smuser;password=987654321;MultipleActiveResultSets=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
Ray Klaassen
Stiles Machinery, Inc.
616-698-7500 x1202
rklaassen@stilesmachinery.com
Copyright (c) Marimer LLC