CSLA .NET

From Rockford Lhotka's Expert C# 2008 and VB 2008 Business Objects books

WCF Remote data portal error

rated by 0 users
Not Answered This post has 0 verified answers | 0 Replies | 0 Followers

Top 500 Contributor
14 Posts
rob.polak posted on Wed, Aug 4 2010 9:57 AM

Hello, I am trying to setup a remote data portal with CSLA 3.8.2.  I have it working for part of my project, however, on occation I get the following error:

Could not find endpoint element with name 'WcfDataPortal' and contract 'Csla.Server.Hosts.IWcfPortal' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.

I have not been able to figure out what is causing the error.  Here is my client config:

  <system.serviceModel>
    <client>
      <endpoint name="WcfDataPortal"
                address="http://xxx:80/EMS_Remote/EMSWcfPortal.svc"
                binding="wsHttpBinding" bindingConfiguration="wsHttpBindingSettings"
                contract="Csla.Server.Hosts.IWcfPortal" />
     
    </client>

    <bindings>
      <wsHttpBinding>
        <binding name="wsHttpBindingSettings" maxReceivedMessageSize="2147483647" maxBufferPoolSize="2147483647" messageEncoding="Text">
          <!--<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />-->
        </binding>
      </wsHttpBinding>
    </bindings>
 
  </system.serviceModel>

 

<appSettings>

  <add key="CslaDataPortalProxy" value="Csla.DataPortalClient.WcfProxy, Csla"/>
 

</appSettings>

 

Any help is appreciated!  Thanks!

Page 1 of 1 (1 items) | RSS

Please contact Magenic for your .NET consulting
and CSLA .NET mentoring needs.
Please consider making a donation to help support the ongoing development of CSLA .NET.

Make donation through PayPal - it's fast, free and secure!
Why donate?
Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems