Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

The report server has RDLSandboxing enabled and the report contains custom code. Remove the Code element from the report definition.Detail

Posted on by 884

Hi All,

Error Below

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: The report server has RDLSandboxing enabled and the report contains custom code. Remove the Code element from the report definition.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>40d89b35-f745-43e2-bc3b-ef4de1039da9</ActivityId>
<ErrorCode>-2147188077</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>The report server has RDLSandboxing enabled and the report contains custom code. Remove the Code element from the report definition.</Message>
<Timestamp>2017-09-20T05:37:29.505318Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

Below is the code :

Public Function Divider(ByVal Dividend As Decimal, ByVal Divisor As Decimal)
If IsNothing(Divisor) Or Divisor = 0 Then
Return 0
Else
Return Dividend / Divisor
End If
End Function

Does anyone know how to disable RDL sandboxing in CRM Online?

*This post is locked for comments

  • account payable Profile Picture
    account payable 670 on at
    RE: The report server has RDLSandboxing enabled and the report contains custom code. Remove the Code element from the report definition.Detail

    hi Andrii Butenko

    when i deploy report in crm showing error like "error uploading report" please help me

    8407.error-in-live-while-upload-report.JPG

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: The report server has RDLSandboxing enabled and the report contains custom code. Remove the Code element from the report definition.Detail

    Hello,

    You can't disable RDL Sandboxing in online.

    You will have to replace code with formulas inside your report in places where you use it.

    Good luck.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans