Re: Configuration files location & accessibility

Re: Configuration files location & accessibility

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


guyroch posted on Tuesday, October 31, 2006

In step #2, the CLSA must be lower case with a capital C (Csla), otherwise will fail as the assembly will not be located properly.
 
It should read...
 
2. Add a web.config file to your web project and add to the following in the web.config file.
 
  <system.runtime.remoting>
    <application>
      <service>
        <wellknown mode="SingleCall"
            objectUri="WebPortal.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>

Copyright (c) Marimer LLC