Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Error while creating a record

Posted on by 275

Hello Experts

This is a weird issue I ran into today. We are using ribbon buttons to created a new record, this will open a new record with all parameters. It is working for everyone except for one user. I tested it using a test user with same roles and teams but I didn't get this error. When I debugged the script, the function which open record in new window succeeded with all parameter but in the end it just stopped. Attached the error message. 

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #C20D40A8Detail: 
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ActivityId>58e1881c-8331-47ba-ba35-8533b7562dea</ActivityId>
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #C20D40A8</Message>
  <Timestamp>2018-06-14T16:01:36.140982Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault>
    <ActivityId>58e1881c-8331-47ba-ba35-8533b7562dea</ActivityId>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>System.ArgumentOutOfRangeException: Expected 'UniqueId' data type for 'process' parameter in 'Request.QueryString'.  The raw request was 'GET /form/Data.aspx?_CreateFromId=&amp;_CreateFromType=&amp;appid=3726f81b-2a6a-46a9-9fd8-9f30a6bcfcb8&amp;counter=1528992094510&amp;new_account=%7b424421A3-EF52-E711-810B-C4346BAC3FA4%7d&amp;new_accountname=firstname%20Lastname%20BUILDING%20PRODUCTS&amp;new_assignedto=%7bF0318499-F84A-E711-8107-C4346BAC4958%7d&amp;new_assignedtoname=Firstname%20Lastname&amp;new_contact=%7bB988CE7C-2553-E711-810B-C4346BAC3FA4%7d&amp;new_contactname=Rob%20O%27hood&amp;new_division=800000000&amp;new_opportunity=3DB32A0F-B155-E811-817D-9CDC71557F61&amp;new_opportunityname=firstname%20Lastname%20BUILDING%20PRODUCTS%3a%20firstname%20Lastname%20Building%20Products%20-%20persona%2c%20IL&amp;new_opportunityresult1=800000005&amp;new_opportunitystage1=800000000&amp;new_opsregion1=800000003&amp;new_recordtype=800000021&amp;new_requestdate=06%2f14%2f2018&amp;new_requester=%7bF0318499-F84A-E711-8107-C4346BAC4958%7d&amp;new_requestername=Firstname%20Lastname&amp;new_requestingbusinessunit=800000000&amp;new_requeststatus1=800000004&amp;new_startupdate=08%2f06%2f2018&amp;etc=10021&amp;extraqs=%3fnew_account%3d%257b424421A3-EF52-E711-810B-C4346BAC3FA4%257d%26new_accountname%3dfirstname%2520Lastname%2520BUILDING%2520PRODUCTS%26new_assignedto%3d%257bF0318499-F84A-E711-8107-C4346BAC4958%257d%26new_assignedtoname%3dFirstname%2520Lastname%26new_contact%3d%257bB988CE7C-2553-E711-810B-C4346BAC3FA4%257d%26new_contactname%3dRob%2520O%2527Brien%26new_division%3d800000000%26new_opportunity%3d3DB32A0F-B155-E811-817D-9CDC71557F61%26new_opportunityname%3dfirstname%2520Lastname%2520BUILDING%2520PRODUCTS%253a%2520firstname%2520Lastname%2520Building%2520Products%2520-%2520Peru%252c%2520IL%26new_opportunityresult1%3d800000005%26new_opportunitystage1%3d800000000%26new_opsregion1%3d800000003%26new_recordtype%3d800000021%26new_requestdate%3d06%252f14%252f2018%26new_requester%3d%257bF0318499-F84A-E711-8107-C4346BAC4958%257d%26new_requestername%3dFirstname%2520Lastname%26new_requestingbusinessunit%3d800000000%26new_requeststatus1%3d800000004%26new_startupdate%3d08%252f06%252f2018%26etc%3d10021%26formid%3d7895B015-A189-42C4-BEB2-A21F9C484C38%26process%3d&amp;formid=7895b015-a189-42c4-beb2-a21f9c484c38&amp;oid=&amp;pagemode=iframe&amp;pagetype=entityrecord&amp;process=' called from dynamics.com/main.aspx;amp;etc=3&amp;extraqs=formid%3dab64675e-350f-423c-8753-e67d5de65348&amp;id=%7b3DB32A0F-B155-E811-817D-9CDC71557F61%7d&amp;pagetype=entityrecord.</Message>
    <Timestamp>2018-06-14T16:01:36.140982Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault>
      <ActivityId>58e1881c-8331-47ba-ba35-8533b7562dea</ActivityId>
      <ErrorCode>-2147220970</ErrorCode>
      <ErrorDetails xmlns:d4p1="schemas.datacontract.org/.../System.Collections.Generic" />
      <Message>System.FormatException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #DE56563C</Message>
      <Timestamp>2018-06-14T16:01:36.140982Z</Timestamp>
      <ExceptionRetriable>false</ExceptionRetriable>
      <ExceptionSource i:nil="true" />
      <InnerFault i:nil="true" />
      <OriginalException i:nil="true" />
      <TraceText i:nil="true" />
    </InnerFault>
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>


*This post is locked for comments

  • Verified answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Error while creating a record

    Yes but as per the error  you have shared which causes due to length  exceeds  of querystring parameter.

    I am suspecting then there should have some  kind of user  specific parameter  you are passing.

    Try to reduce parameters text and  test  again.

  • Turbo Forms Profile Picture
    Turbo Forms 275 on at
    RE: Error while creating a record

    That sounds good but, I was able to create a new record form same record in same browser and it let me create one.

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Error while creating a record

    Hi,

    This is not an user related issue , this is the issue with particular data you are passing in parameter.

    Here is  the actual error -

    System.ArgumentOutOfRangeException: Expected 'UniqueId' data type for 'process' parameter in 'Request.QueryString'.

    When you are passing data using parameter it's basically internally creating a url with querystring . I believe you know there is certain limitation of length to use querystring parameter in an URL depending on the browser you are using.

    [View:https://stackoverflow.com/questions/812925/what-is-the-maximum-possible-length-of-a-query-string]

    This is a limitation ,the length of the data having in querystring  to open the entity form has been exceeded.

    One workaround to reduce the length of the data you are passing using parameter.

    I have faced similar issue and I avoided to pass parameter then I decided to get and  bind the data  onload event of creation form.

    Hope this helps.

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans