remote server returned an error : not found

remote server returned an error : not found

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


st3fanus posted on Friday, August 24, 2012

Hi all..

I used Silverlight 5, CSLA 4.13

 

I have an error that said : "remote server returned an error : not found". When I execute BeginSave from my ViewModel

I have no experience with wcf, all what I know about CSLA is from csla ebook series.

So , Are there any suggesstion for me to solve my problem ?

could you give me practicals steps to solve this problem ?

 

thanks a lot

Stefanus

JonnyBee replied on Friday, August 24, 2012

This means that there is no webserice that answers on the URL address to a remote portal/ WCF Service.

To correct:

 

st3fanus replied on Friday, August 24, 2012

Hi jonny thanks for your response,

I can Fetch data into Business Object,

Is it means that wcf channel is work ?

 

Do I mean right jonny ?

 

stefanus

JonnyBee replied on Friday, August 24, 2012

If your DataPortal_Fetch method has [RunLocal] attribute then it will not try to use the remote portal.

That error message means that somewhere in your code there is a webservice call that does not hit a running service.
You must locate where in your code.

st3fanus replied on Friday, August 24, 2012

Hi jonny, sorry I forgot, I means is not Fetch BUT Create.

BUT the important point is that : I'm not run in local mode, BUT in remote mode

It's worked.

 

My error happend only when BeginSave is run ?

Do you have any suggestions ? Or Is there something I missing ?

 

thank a lot jonny I hope you can help me

 

stefanus

JonnyBee replied on Friday, August 24, 2012

Does BeginFetch / Fetch work?

The default implementation of DataPortal_Create has the RunLocal attribute so I believe you do NOT use the remote portal before BeginSave

st3fanus replied on Friday, August 24, 2012

I not yet checked BeginFetch, BUT

I'm not use default implementation of DataPortal_Create

I used like this :

private void DataPortal_Create(DailyTestCriteria dtCriteria)

{

 

}

Am I right that this means i can success connect to remote server on BeginCreate scenario ?

BUT FAiled in BeginSave scenario ?

 

 

 

 

Copyright (c) Marimer LLC