开发者

Error while getting the result from the wcf service in silverlight

开发者 https://www.devze.com 2023-02-02 10:06 出处:网络
Am using silverlight4.0 and using the WCF service and my functnalities are working fine and at some point of time am getting an exception as like \"The remote server returned an error: NotFound.\" thi

Am using silverlight4.0 and using the WCF service and my functnalities are working fine and at some point of time am getting an exception as like "The remote server returned an error: NotFound." this was开发者_运维知识库 inner exception message and the response status code is"System.Net.HttpStatusCode.NotFound".can anyone help for this ..Thanks in advance.


The problem is that silverlight always shows not found error in many cases, the first thing that can be is that service really not available, second try to make sure that you service function is not throwing exception Try opening the wcf service in the browser, also this can help to investigate problem And here is how you can configure to send real exception to client

0

精彩评论

暂无评论...
验证码 换一张
取 消