Answered by:
The server was unable to process the request due to an internal error. in WCF error

Question
-
User-1764659617 posted
Hi,
i have written my service in framework 4.0 using c# its an simple method which returns the value
the webconfig is like this
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<machineKey validationKey="0E1F430D6FFFA91FBEDAEC1D2DDAAC2127EB055DBAFB78328C5BDE83249A94EA66400453B" decryptionKey="A13EACEAAABBECF2D06619924A8" validation="SHA1" decryption="AES" />
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<services>
<service name="DecryptCookie.Service1">
<host>
<baseAddresses>
<add baseAddress = "http://localhost:8732/Design_Time_Addresses/WCFandEFService/ProductService/" />
</baseAddresses>
</host>
<endpoint address="" binding="wsHttpBinding" contract="DecryptCookie.IService1">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract = "IMetadataExchange"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="True"/>
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>When i try to consume the service .
i am getting an error like this
Error: The server was unable to process the request due to an internal error.
For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <servicedebug>configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.System.Exception {System.ServiceModel.FaultException}</servicedebug>not sure what is the promblem
any help on this would be great and much appreicated
Thanks
Kumar
Tuesday, January 8, 2013 9:54 AM
Answers
-
User1648350404 posted
Check following:
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, January 8, 2013 11:21 AM -
User-1000095884 posted
Hi,
What is the internal error?
You can find a sample implement a typical service and a typical client using WCF with wsHttpBinding in below link.
http://msdn.microsoft.com/en-us/library/ms751418.aspx
Best Regards.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, January 10, 2013 3:49 AM
All replies
-
User1648350404 posted
Check following:
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Tuesday, January 8, 2013 11:21 AM -
User-1000095884 posted
Hi,
What is the internal error?
You can find a sample implement a typical service and a typical client using WCF with wsHttpBinding in below link.
http://msdn.microsoft.com/en-us/library/ms751418.aspx
Best Regards.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Thursday, January 10, 2013 3:49 AM