• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 687
  • Last Modified:

error while consuming WCF service

I am getting error while consuming WCF service

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.


Kindly Suggest

Thanks
0
Aspnet_9
Asked:
Aspnet_9
1 Solution
 
Vel EousResearch & Development ManagerCommented:
Unfortunately my crystal ball is broken at the moment, so more detail is going to be required before providing a possible resolution.

If you have not already, implement some exception handling on your service(s)/client(s) to provide more detailed error messages.  Possibly look into fault contracts:

http://msdn.microsoft.com/en-us/library/ms733721(v=vs.85)
http://msdn.microsoft.com/en-us/library/ms752208(v=vs.85).aspx

I would also suggest you step through your code in the debugger to get a better idea where the exception is occurring.
0
 
Aspnet_9Author Commented:
good
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now