web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Web Application using CRM SDK

(0) ShareShare
ReportReport
Posted on by 55

Hi all!

I'm trying to use ASP.NET to build a Web Application that connects to the CRM web services.

It was correctly working when I was debugging it in VS 2010. After deploying it in IIS 7 I've got a Internal error on my server :

[FaultException: 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.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +4727747
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1725
   Microsoft.Xrm.Sdk.IOrganizationService.RetrieveMultiple(QueryBase query) +0
   Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.RetrieveMultipleCore(QueryBase query) +892
   _Default.RetrieveEntity(String entityLogicalName) +343
   _Default.Page_Load(Object sender, EventArgs e) +388
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064

The problem seems to come from a Who am I request that I send to the web service.

I've haven't any idea of the origin of the problem so any idea is welcome!

 

Thank you in advance for your help, 

Philippe

*This post is locked for comments

I have the same question (0)
  • Aron Hoekstra Profile Picture
    95 on at

    You may want to check your InnerException, a lot of time MS burries the real error message in there.

  • Aron Hoekstra Profile Picture
    95 on at

    Either that or do what it's telling you about:  (turn on IncludeExceptionDetailInFaults)

  • Philippe Lep Profile Picture
    55 on at

    Thank you for your answer.

    I've checked the InnerException: it's null. I tried to turn on IncludeExceptionDetailInFaults but I don't know where to put it in my config...

  • Aron Hoekstra Profile Picture
    95 on at

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans