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
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}
not sure what is the promblem
any help on this would be great and much appreicated
prince23
Member
18 Points
91 Posts
The server was unable to process the request due to an internal error. in WCF error
Jan 08, 2013 01:54 PM|LINK
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 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}
not sure what is the promblem
any help on this would be great and much appreicated
Thanks
Kumar
urenjoy
Star
11997 Points
1797 Posts
Re: The server was unable to process the request due to an internal error. in WCF error
Jan 08, 2013 03:21 PM|LINK
Check following:
http://stackoverflow.com/questions/8315633/turn-on-includeexceptiondetailinfaults-either-from-servicebehaviorattribute-or
http://social.msdn.microsoft.com/Forums/en-US/dotnetstocktradersampleapplication/thread/750f7c35-5b3f-47b8-873e-4afd58228e2a/
http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicedebugbehavior.includeexceptiondetailinfaults.aspx
Haixia Xie -...
Contributor
3022 Points
294 Posts
Microsoft
Re: The server was unable to process the request due to an internal error. in WCF error
Jan 10, 2013 07:49 AM|LINK
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.
Feedback to us
Develop and promote your apps in Windows Store