Showing posts with label WCF Silverlight. Show all posts
Showing posts with label WCF Silverlight. Show all posts

Friday, March 06, 2009

The remote server returned an error: NotFound WCF

This is a very common error message. To solve this, first you need to enable loggin in WCF. (Search for WCF Logging on Google) . Make you in logging section you enable all the types of the error messages

Eg


logMessagesAtServiceLevel="false" logMessagesAtTransportLevel="false"
maxSizeOfMessageToLog="2147483647" />


then you can see the exception on the error log file..


I got this error message because i have not set max request length, you need to add this to the web.config file

Wednesday, March 04, 2009

400 - Bad Request response

I was getting this message on the newly created silverlight app and it was driving me crazy.

this is how to fix it

in the ServiceReferences.ClientConfig


and in the Web Site project. Web.config file




maxReceivedMessageSize="2147483647" maxBufferSize="2147483647">






bindingConfiguration="MyBinding" contract="TranscriptViewerWebApp.IRFTranscriptService">

















Monday, February 02, 2009

Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details.

Custom tool error: Failed to generate code for the service reference ''. Please check other error and warning messages for details.

this is another issue i was stuck for sometime.. reason was i created the silverlight project using the Blend 2 with SP1 and created the WCF project using the VS2008 SP1.

to solve this problem you have to create silverlight application also using VS2008