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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Appointment - FORMS not working ("An Error has occurred")

(0) ShareShare
ReportReport
Posted on by 4,515

Hi,

MY CRM 2013 started bugging out under my APPOINTMENT entity. Specifically now when I try to open ANY form under Appointment I get below error message. Any idea what can I do and how to approach this?? Where to look and how to fix this?

Any advice is much appreciated. Thanks so much!

*This post is locked for comments

I have the same question (0)
  • Hosk Profile Picture
    on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    are you using CRM 2013 online or CRM 2013 on premise

    have you made any customizations to the appointment form or appointment entity

  • Community Member Profile Picture
    on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    I am also having the same issue. I had custom Javascript on my primary appointment form that was working correctly in CRM 2011 Online, and now I have the same error as the original poster since upgrading to 2013.

  • Suggested answer
    Hosk Profile Picture
    on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    have you tried opening the Appointment form, saving and publishing. To see if this resolves the error.

  • donyc Profile Picture
    4,515 on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    I am using CRM 2013 online. I initially imported a solution(which was in crm 2011). It worked fine and I was doing some customizations and then it all stopped working. I am unable to load any of the forms now.

    Any suggestions what I can do? I really don't want to reinstall the whole solution again.

    Any advice would be much appreciated

  • Suggested answer
    Hosk Profile Picture
    on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    maybe you could import a solution which only has one entity to see if this resolves the problem on that entity (and if you are lucky the other entities).

  • Robinson Moses Profile Picture
    on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    Hello,

    Clear all the scripts running on the machine and then try again, if it works without the script then I would suggest you to use the custom code validation tool to look for any issues with the script that you are using.

    Thanks,

    Rob Moses

  • donyc Profile Picture
    4,515 on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    Hi Rob. how would I go about clearing all the scripts?

  • Michael Mertz Profile Picture
    1,195 on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    Having the same issue - did you ever get this resolved?

  • Robinson Moses Profile Picture
    on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    Hello,

    Please go to the appointment's form under customization and click on form Properties in the ribbon. Look for Scripts on the On Load and the On Save event, if you do then disable them for the time being and test the behavior. If the issue is still there then we would require server traces to go forward.

    Or you can post the Dev errors here for a quick look, go to CRM server, Program files >>> CRM >>> CRMWeb >>> Web.config file, in this file look for Dev Errors, once you find it change the value to On from Off and then try to recreate the issue.

    Thanks,

    Rob Moses

  • Denys Shevchuk Profile Picture
    10 on at
    RE: Appointment - FORMS not working ("An Error has occurred")

    We have the same issue with Appointment from. There is error log info:

    Exception generated at: 03.04.2014 9:33:27

    Error Type: System.Web.HttpException

    Error Message: Error executing child request for /_forms/read/page.aspx.

    Error Stack Trace:

    at HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)  ilOffset = 0x45B

    at HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)  ilOffset = 0x204

    at HttpServerUtility.Transfer(String path)  ilOffset = 0x18

    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54

    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x967

    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69

    at Page.ProcessRequest()  ilOffset = 0x14

    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33

    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D

    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15

    InnerException:

    Error Type: System.Web.HttpUnhandledException

    Error Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.

    Error Stack Trace:

    at Page.HandleError(Exception e)  ilOffset = 0x11C

    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x967

    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x69

    at Page.ProcessRequest()  ilOffset = 0x14

    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x33

    at HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)  ilOffset = 0x36A

    InnerException:

    Error Type: System.ArgumentNullException

    Error Message: Value cannot be null.

    Parameter name: g

    Error Stack Trace:

    at Guid..ctor(String g)  ilOffset = 0x35

    at ControlDescriptor..ctor(XmlNode formNode, EntityMetadata entityMetadata, FormDescriptor formDescriptor, CellDescriptor parentCellDescriptor, IOrganizationContext context)  ilOffset = 0x6B

    at CellDescriptor..ctor(XmlNode formNode, EntityMetadata entityMetadata, FormDescriptor formDescriptor, TabDescriptor containerTab, Boolean isInFirstColumn, Boolean isInLastColumn)  ilOffset = 0x65

    at CellCollection..ctor(XmlNodeList nodes, EntityMetadata entityMetadata, FormDescriptor formDescriptor, TabDescriptor containerTab)  ilOffset = 0x24

    at RowDescriptor..ctor(IXPathNavigable node, EntityMetadata entityMetadata, FormDescriptor formDescriptor, Boolean rowVisible, TabDescriptor containerTab)  ilOffset = 0x23

    at RowCollection..ctor(XmlNodeList nodes, EntityMetadata entityMetadata, FormDescriptor formDescriptor, Int32 sectionColumns, TabDescriptor containerTab)  ilOffset = 0x38

    at SectionCollection..ctor(XmlNodeList nodes, EntityMetadata entityMetadata, FormDescriptor formDescriptor, TabDescriptor containerTab)  ilOffset = 0x12

    at ColumnDescriptor..ctor(XmlNode columnNode, EntityMetadata entityMetadata, FormDescriptor formDescriptor, TabDescriptor containerTab)  ilOffset = 0x5A

    at ColumnCollection..ctor(XmlNodeList nodes, EntityMetadata entityMetadata, FormDescriptor formDescriptor, TabDescriptor containerTab)  ilOffset = 0x1B

    at TabDescriptor..ctor(XmlNode formNode, EntityMetadata entityMetadata, FormDescriptor formDescriptor)  ilOffset = 0xAA

    at TabCollection..ctor(XmlNode formNode, EntityMetadata entityMetadata, FormDescriptor formDescriptor)  ilOffset = 0x2F

    at FormDescriptor.InitializeObjectModel(XmlNode formNode, EntityMetadata entityMetadata, FormType formType)  ilOffset = 0x41

    at FormDescriptor.Initialize(EntityMetadata entityMetadata, XmlNode formXml, Guid formId, FormType formType)  ilOffset = 0x144

    at FormDescriptor..ctor(EntityMetadata entityMetadata, XmlNode formXml, Guid formId, FormType formType, Boolean isUserForm, IOrganizationContext context)  ilOffset = 0x5C

    at FormDescriptor..ctor(Int32 typeCode, XmlNode formXml, Guid formId, FormType formType, Int64 versionNumber, FormPresentationMode formPresentation, IOrganizationContext context)  ilOffset = 0x1F

    at FormDescriptorLoader.LoadCacheData(FormDescriptorCacheKey key, IOrganizationContext context)  ilOffset = 0x15D

    at CrmSharedMultiOrgCache`2.LookupEntry(TKey key, IOrganizationContext context)  ilOffset = 0x9A

    at FormDescriptorCache.GetFormDescriptor(Guid formId, IOrganizationContext context)  ilOffset = 0x5D

    at AppFormFilter.GetSingleForm(Int32 entityTypeCode, FormType formType, Boolean useSystemUserContext)  ilOffset = 0x19

    at ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor)  ilOffset = 0xB0

    at ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, FormFactor formFactor)  ilOffset = 0x9

    at ReadFormPage.PopulateFormDescriptorAndDataBuilder()  ilOffset = 0x193

    at ReadFormPage.OnPreInit()  ilOffset = 0x95

    at AppPage.OnInit(EventArgs e)  ilOffset = 0xA

    at Control.InitRecursive(Control namingContainer)  ilOffset = 0xFF

    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x2CD

    Stack Frame:

    at EventHandler.Invoke(Object sender, EventArgs e)  ilOffset = 0xFFFFFFFF

    at HttpApplication.RaiseOnError()  ilOffset = 0x26

    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x85

    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C

    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A

    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B

    Exception Data:

    1: Key type: System.String, value: ASPIMPERSONATING

    1: Value type: System.String, value:

    Any suggestions how to resolve this issue?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans