Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

error while consuming WCF service

Posted on 2012-08-23
2
Medium Priority
?
683 Views
Last Modified: 2012-09-13
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
Comment
Question by:Aspnet_9
2 Comments
 
LVL 14

Accepted Solution

by:
Vel Eous earned 2000 total points
ID: 38326624
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
 

Author Closing Comment

by:Aspnet_9
ID: 38395182
good
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question