CSLA DataPortal on IIS for Remoting - Getting 500 - Internal server error with ?WSDL

CSLA DataPortal on IIS for Remoting - Getting 500 - Internal server error with ?WSDL

Old forum URL: forums.lhotka.net/forums/t/10690.aspx

SMILEMan posted on Thursday, September 15, 2011

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"?>

        <add key="CslaAuthentication" value="Csla" />
        <add key="DalManagerType" value="SMILE.DataAccess.SqlServer.DalManager,SMILE.DataAccess.SqlServer"/>
    <compilation debug="false" targetFramework="4.0" />
    <httpRuntime maxRequestLength="2147483647"/>
    <authentication mode="Windows"/>

                <wellknown mode="SingleCall"
                    type="Csla.Server.Hosts.RemotingPortal, Csla" />
                <channel ref="http">
                        <provider ref="wsdl" />
                        <formatter ref="soap" typeFilterLevel="Full" />
                        <formatter ref="binary" typeFilterLevel="Full" />

        <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" />


Ray Klaassen
Stiles Machinery, Inc.
616-698-7500 x1202




Copyright (c) Marimer LLC