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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error on Publish Customizations after employing SDK

(0) ShareShare
ReportReport
Posted on by

I have a development project.  I've implemented the SDK and can connect to CRM.  I'm working on a plug-in and am debugging it using the Profile method.

But now when I go back into CRM itself and make a change to an entity (fields) and attempt to "Publish Customizations" it gives me a non-descript error (An Error has occurred).

When I attempt to do the same thing within Visual Studio (through CRM Explorer), I can see the Entity, but when I go to look at (and change) the field, only a blank page appears - no field details.

Using:

CRM 2013

Visual Studio 2010 (to get the Developer Toolkit to work)

Any ideas?

*This post is locked for comments

I have the same question (0)
  • ScottDurow Profile Picture
    21 on at

    Are you using onprem or online? If onprem I suggest using the diagtool to collect the trace to get more info. If online you'll need to contact Microsoft support.

    crmdiagtool2011.codeplex.com

  • Aileen Gusni Profile Picture
    44,524 on at

    Hi Rengeek,

    What browser you try when get error?

    I think first you need to check the browser then check the event viewer (for CRM OnPremise) and trace the server if needed.

    Or you can start by doing IISREST (if no one still uses it)

    And try to uninstall the Plugin Profiler first.

    Thank you.

  • Community Member Profile Picture
    on at

    Hi Scott - the web site I'm looking at says it's for CRM 2011 and I am 2013.  Will it still work?

    Hi Aileen - This error on the web is in IE 11.  What about the field information not showing up in VS2010?

    I do think it has something to do with the Profiler.  I will uninstall when I'm done trying to get my code to work.

  • Community Member Profile Picture
    on at

    Aileen - No events to view.  I tried IISRESET to no affect.

  • Royal King Profile Picture
    27,686 on at

    Enable tracing on the server and reproduce the error . The trace log will provide more detailed information about the error .

    You can use below tool to enable tracing , it says CRM 2011 but it works with crm 2013 as well.

    crmdiagtool2011.codeplex.com

  • Community Member Profile Picture
    on at

    Here is a cut from one of the logs that shows the error dialog:

    >Load Key settings from Cache -- KeyType: CrmWRPCTokenKey, CrmKeyId: {A24534E8-F95D-4885-9B90-91894176BBA3}, Enabled: True, ArchiveLength: 1, ModifiedOn: 10/17/2014 21:06:33, ActiveKeyId: {00000000-0000-0000-0000-000000000000}

    [2014-11-05 07:25:49.617] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Verbose |ReqId: c4d097e9-88e5-4657-8d87-059d805b6b3e | CrmKeySetting.Initialize  ilOffset = 0xB

    at CrmKeySetting.Initialize(Boolean loadSettingsFromConfigDB, Guid scaleGroupId, ConfigSku configSku, LocatorServiceContext locatorServiceContext)  ilOffset = 0xB

    at CrmKeySetting..ctor(CrmKeyType crmKeyType, Boolean loadSettingsFromConfigDB, Boolean useCachedValues, Guid scaleGroupId, ConfigSku configSku, LocatorServiceContext locatorServiceContext)  ilOffset = 0x28

    at CrmKeySetting.LoadKeySetting(CrmKeyType keyType, Guid scaleGroupId)  ilOffset = 0x0

    at CrmKeyService.ComputeHash(CrmKey key, Guid scaleGroupId, HashParameterBase[] parameters)  ilOffset = 0x17

    at CrmKeyService.ComputeHash(CrmKey key, HashParameterBase[] parameters)  ilOffset = 0x7

    at WrpcContext.ComputeWrpcTokenHash(CrmKey key, String actionPageUrl, DateTime timestamp)  ilOffset = 0x4C

    at WrpcContext.GenerateToken(CrmUri actionPageUrl, DateTime timestamp)  ilOffset = 0xD5

    at WrpcContext.GetWrpcTokenAsQueryString(CrmUri actionPageUrl)  ilOffset = 0x43

    at AppHeader.RenderYammerGlobalVariables()  ilOffset = 0xCB

    at AppHeader.AddGlobalValues()  ilOffset = 0x55B

    at Header.PrepareForRendering()  ilOffset = 0x2D

    at Header.ConfigureForRendering()  ilOffset = 0x15

    at Header.Render(HtmlTextWriter output)  ilOffset = 0x6

    at AppHeader.Render(HtmlTextWriter output)  ilOffset = 0x8A

    at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)  ilOffset = 0x22

    at lenacrm__common_error_dlg_error_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer)  ilOffset = 0x3A

    at Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)  ilOffset = 0x2D

    at Page.Render(HtmlTextWriter writer)  ilOffset = 0x2

    at Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)  ilOffset = 0x22

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

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

    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

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

    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

    >Load Key settings from Cache -- KeyType: CrmWRPCTokenKey, CrmKeyId: {A24534E8-F95D-4885-9B90-91894176BBA3}, Enabled: True, ArchiveLength: 1, ModifiedOn: 10/17/2014 21:06:33, ActiveKeyId: {00000000-0000-0000-0000-000000000000}

  • Royal King Profile Picture
    27,686 on at

    Can you check whether or not  all the CRM services are running on the server Like Async Maintenance Service ?

  • Community Member Profile Picture
    on at

    The following services are all running:

    Microsoft Dynamics CRM Asynchronous Processing Service

    Microsoft Dynamics CRM Asynchronous Processing Service (maintenance)

    Microsoft Dynamics CRM Monitoring Service

    Microsoft Dynamics CRM Sandbox Processing Service

    Microsoft Dynamics CRM Unzip Service

  • Royal King Profile Picture
    27,686 on at

    Whatever you posted from trace log , it does show any error message. In Log file Look for "Error :" and post whatever exists in that portion of the log

  • Community Member Profile Picture
    on at

    >UserId ({C1C4E3AE-4156-E411-8AA6-000C29B0E874}): Error in SystemCustomizationHandler: Microsoft.Crm.CrmException: Error generating UiData

      at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

      at Microsoft.Crm.Application.Platform.ServiceCommands.PublishAllXmlCommand.Execute()

      at Microsoft.Crm.Application.WebServices.SystemCustomization.CustomizationsPublishAll.Execute()

      at Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomizationHandler.ProcessRequestInternal(HttpRequest request)

      at Microsoft.Crm.Application.AppHttpHandlerWithKeepAlive.ProcessRequestInternal(HttpContext context)

    [2014-11-05 07:25:49.492] Process: w3wp |Organization:f8a4c088-ab68-4ea9-9498-dd7743b73ddd |Thread:   13 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 39db10e3-1787-4a42-931e-fb2442ff01b5 | ErrorInformation.LogError  ilOffset = 0x17

    at ErrorInformation.LogError()  ilOffset = 0x17

    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x1F5

    at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x5

    at AppHttpHandlerWithKeepAlive.CreateSoapException(Exception innerException, HttpContext context)  ilOffset = 0x23

    at AppHttpHandlerWithKeepAlive.ProcessRequestInternal(HttpContext context)  ilOffset = 0x49

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

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

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

    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

    >MSCRM Error Report:

    --------------------------------------------------------------------------------------------------------

    Error: Error generating UiData

    Error Number: 0x80045037

    Error Message: Error generating UiData

    Error Details: Error generating UiData

    Source File: Not available

    Line Number: Not available

    Request URL: localhost/.../SystemCustomization.ashx

    Stack Trace Info: [CrmException: Error generating UiData]

      at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()

      at Microsoft.Crm.Application.Platform.ServiceCommands.PublishAllXmlCommand.Execute()

      at Microsoft.Crm.Application.WebServices.SystemCustomization.CustomizationsPublishAll.Execute()

      at Microsoft.Crm.Application.WebServices.SystemCustomization.SystemCustomizationHandler.ProcessRequestInternal(HttpRequest request)

      at Microsoft.Crm.Application.AppHttpHandlerWithKeepAlive.ProcessRequestInternal(HttpContext context)

    [2014-11-05 07:25:49.492] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   13 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId: 39db10e3-1787-4a42-931e-fb2442ff01b5 | FaultHelper.ConvertToFault  ilOffset = 0x0

    at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0

    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x24B

    at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x5

    at AppHttpHandlerWithKeepAlive.CreateSoapException(Exception innerException, HttpContext context)  ilOffset = 0x23

    at AppHttpHandlerWithKeepAlive.ProcessRequestInternal(HttpContext context)  ilOffset = 0x49

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

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

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

    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

    >TryConvertToFaultExceptionInternal: exception: Microsoft.Crm.CrmException

    [2014-11-05 07:25:49.492] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   13 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Info |ReqId: 39db10e3-1787-4a42-931e-fb2442ff01b5 | ExceptionConverter.DumpExceptionToTrace  ilOffset = 0x11

    at ExceptionConverter.DumpExceptionToTrace(Exception exception, String info)  ilOffset = 0x11

    at ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)  ilOffset = 0x21

    at FaultHelper.ConvertToFault(Exception exception)  ilOffset = 0x0

    at ErrorInformation..ctor(Exception exception, Uri requestUrl, Boolean logError, IOrganizationContext context)  ilOffset = 0x24B

    at ErrorInformation..ctor(Exception exception, Uri requestUrl, IOrganizationContext context)  ilOffset = 0x5

    at AppHttpHandlerWithKeepAlive.CreateSoapException(Exception innerException, HttpContext context)  ilOffset = 0x23

    at AppHttpHandlerWithKeepAlive.ProcessRequestInternal(HttpContext context)  ilOffset = 0x49

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

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

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

    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

    >----- dump exception/fault tree (TryConvertToFaultExceptionInternal: before) -----

    >>>>>> EXCEPTION: 0

    >Type: Microsoft.Crm.CrmException

    >ErrorCode: 0x80045037:

    >Message (23): Error generating UiData

    >StackTrace: present: 3F0027D4

    >no PluginTrace

    >InnerException <null>

    ><<<<< EXCEPTION: 0

    >

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans