The remote server returned an error: NotFound. [Resolved]

Posted by Vuyiswamb under WCF on 5/23/2011 | Points: 10 | Views : 6040 | Status : [Member] [MVP] [Administrator] | Replies : 4
Good morning All

I have a WCF service, i tested the service on its own , with wcftestclient and it works perfectly. now i want to consume this service in Silverlight, i get the following error

The remote server returned an error: NotFound.



i have added a trace in the services and they bring me something like this

<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent"><System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system"><EventID>131073</EventID><Type>3</Type><SubType Name="Information">0</SubType><Level>8</Level><TimeCreated SystemTime="2011-05-22T15:31:29.1867346Z" /><Source Name="System.ServiceModel" /><Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" /><Execution ProcessName="w3wp" ProcessID="1844" ThreadID="2" /><Channel/><Computer>VUYISWA-PC</Computer></System><ApplicationData><TraceData><DataItem><TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Information"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.AppDomainUnload.aspx</TraceIdentifier><Description>AppDomain unloading.</Description><AppDomain>/LM/W3SVC/1/ROOT/Ecash/BusinessLayer-1-129505503912960602</AppDomain><ExtendedData xmlns="http://schemas.microsoft.com/2006/08/ServiceModel/DictionaryTraceRecord"><AppDomain.FriendlyName>/LM/W3SVC/1/ROOT/Ecash/BusinessLayer-1-129505503912960602</AppDomain.FriendlyName><ProcessName>w3wp</ProcessName><ProcessId>1844</ProcessId></ExtendedData></TraceRecord></DataItem></TraceData></ApplicationData></E2ETraceEvent>



I am using .net 4 and in my IIS the service are hosted under the .NET 4 Application Domain. It was working before , i am not sure what is the problem now.

Thanks

Thank you for posting at Dotnetfunda
[Administrator]



Responses

Posted by: Vuyiswamb on: 6/15/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down

Resolved
It was a permission issue, it was resolved thanks

Thank you for posting at Dotnetfunda
[Administrator]

Vuyiswamb, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Robin_ahuja2008 on: 6/15/2011 [Member] Starter | Points: 25

Up
0
Down
Try to increase the size of the buffer in web.config .
That can be the issue

Regards,
Robin Ahuja

Vuyiswamb, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Simcard on: 9/14/2011 [Member] Starter | Points: 25

Up
0
Down
I'm getting the same error please share your solution about the permission.

Vuyiswamb, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 9/14/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Its not really a Permission issue, there is something wrong with your Service, you might be able to run it via WCFclient, but it does not mean there is something wrong. WCF errors are not descriptive. check your contracts and your Bindings in the Webconfig


Thank you for posting at Dotnetfunda
[Administrator]

Vuyiswamb, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response