CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Could not find default endpoint element that references contract 'WcfPortal.IWcfPortal'

rated by 0 users
Answered (Verified) This post has 1 verified answer | 2 Replies | 1 Follower

Not Ranked
5 Posts
smgrisw posted on Tue, Feb 14 2012 3:59 PM

Hello,

I am using CSLA version 4.3.1.0 and Silverlight 5.  I am getting an error message that is very strange.  When I try to create a new business object I am getting an error Could not find default endpoint element that references contract 'WcfPortal.IWcfPortal.  I do not have an endpoint with the name.  I could find no reference in my code that says WcfPortal.IWcfPortal.  Does anyone know why I would be getting a message for and endpoint contract name that does not exist in my code?

 

Thanks,

 

 

 

Answered (Verified) Verified Answer

Top 10 Contributor
9,270 Posts
Verified by smgrisw

Did you set the data portal url as the app starts up? The data portal defaults to using the WCF proxy to talk to an app server, but you need to supply the url for the server.

The contract you are seeing is the data portal contract.

Or you can set the proxy name to Local to run the data access code on the client. Obviously that has a whole other set of implications.

The Using CSLA 4: Data Portal Configuration book has a lot of detail on all the various configuration options.

Rocky

All Replies

Top 10 Contributor
9,270 Posts
Verified by smgrisw

Did you set the data portal url as the app starts up? The data portal defaults to using the WCF proxy to talk to an app server, but you need to supply the url for the server.

The contract you are seeing is the data portal contract.

Or you can set the proxy name to Local to run the data access code on the client. Obviously that has a whole other set of implications.

The Using CSLA 4: Data Portal Configuration book has a lot of detail on all the various configuration options.

Rocky

Not Ranked
5 Posts

Dear Mr. Lhotka,

Than you for your response.  Your answer pointed me in the right direction and I was able to resolve my issue.

 

Regards,

 

Scott Griswold

 

Page 1 of 1 (3 items) | RSS

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