locked
CRM 4 - Error installing Rollup 2 RRS feed

  • Question

  • I am having issues installing Rollup 2.  I was able to successfully without incidence install Rollup 1.  However when attempting to install Rollup 2 on either our development or production servers I receive the following error.

    Microsoft Dynamics CRM 4.0 Update Rollup 2
    Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed.
    systemuser With Id = 48dbe38-29ba-dc11-af06-005056c00008 Does Not Exist

    I have checked the SQL table for SystemUserBase and this systemuserid does not exist.  I then manually created a systemuserid with this id above and received a new error.  The new error stated that User Settings did not exists for this system user id.  So I took it a step further and created user settings for that systemuserid.  Then I received an error that the system user did not have 2 queues setup.  I setup the queues...  I know that this is the wrong way to approach this problem and I am hoping to get some help in this matter.  I feel like I could go on for ever manually setting up user information in the SQL tables however I would like this install to work properly on our Dev and Production servers.  I am including some of the log file below. Let me know if you need more of it.

    For clarification I am attempting to run CRMv4.0-KB959419-i386-Server-ENU.exe on a 32-bit 2003 Server.

    Thanks
    Pete


    07:51:27|   Info| Creating Report Server folder for organization BHZCRMDEV
    07:52:03|   Info| Published report Neglected Cases
    07:52:04|   Info| Published report Top Knowledge Base Articles
    07:52:04|  Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed. ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: systemuser With Id = 486dbe38-29ba-dc11-af06-005056c00008 Does Not Exist
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32[] deletionCodes, Int32 languageCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
       at Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
       at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserBusinessId(Guid user, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityAttributes..ctor(SecurityTraits traits, BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandlerCreateSecurityAttributes(Object sender, SecurityTraits traits, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(ExtensionEventArgs e, Object sender)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreCreateEventHandler.Invoke(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.SetReportLinks(Report reportEntity, Guid reportId, SRSReport report, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.UpdateInternal(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.CreateInternal(IBusinessEntity entity, Boolean isScheduledReport, ExecutionContext context)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportSetupPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReport(String reportFolder, String reportName, String fileName, String description, Int32 languageCode, Int32[] categoriesArray, Int32[] relatedEntitiesArray, Int32[] visibilitiesArray, Object parentId, Guid signatureId, Version version, Guid organizationId, Hashtable reportsPublished)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.UploadReports(String orgUniqueName, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.UpdateWrapper.ReportsUpdateAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---, Error, AbortRetryIgnore, Option1
    07:52:09|   Info| InputResult: Abort
    07:52:09|  Error| Configuration exception.System.Exception: Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed. ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: systemuser With Id = 486dbe38-29ba-dc11-af06-005056c00008 Does Not Exist
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32[] deletionCodes, Int32 languageCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
       at Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
       at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserBusinessId(Guid user, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityAttributes..ctor(SecurityTraits traits, BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandlerCreateSecurityAttributes(Object sender, SecurityTraits traits, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(ExtensionEventArgs e, Object sender)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreCreateEventHandler.Invoke(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.SetReportLinks(Report reportEntity, Guid reportId, SRSReport report, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.UpdateInternal(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.CreateInternal(IBusinessEntity entity, Boolean isScheduledReport, ExecutionContext context)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportSetupPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReport(String reportFolder, String reportName, String fileName, String description, Int32 languageCode, Int32[] categoriesArray, Int32[] relatedEntitiesArray, Int32[] visibilitiesArray, Object parentId, Guid signatureId, Version version, Guid organizationId, Hashtable reportsPublished)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.UploadReports(String orgUniqueName, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.UpdateWrapper.ReportsUpdateAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---
       at Microsoft.Crm.UpdateWrapper.UpdateSetup.Install(IDictionary data)
       at Microsoft.Crm.UpdateWrapper.UpdateSetup.Run()
    07:52:09|Verbose| Update Rollup 2 (KB959419) Was Not Completed Successfully.
    07:52:09|   Info| Microsoft Dynamics CRM Server update was not completed successfully because of the following problems:
       

    Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed.
    systemuser With Id = 486dbe38-29ba-dc11-af06-005056c00008 Does Not Exist


    Thursday, January 22, 2009 1:55 PM

Answers

  • I had the same problem/error.
    I fixed it by going to each organization reports , and made sure there is an owner to the reports. (I guesses the first CRM installation not putting an owner)

    After that the rollup 2 run smoothly with no errors.

    Shai
    • Proposed as answer by Shai BarLev Monday, February 2, 2009 3:44 PM
    • Marked as answer by Cyclolink Monday, February 2, 2009 9:27 PM
    Monday, February 2, 2009 3:44 PM

All replies

  • Hi Pete,

     

    I receive the same error when installing Rollup 2

    Did you find a solution?

     

    Thanks

     

     

    23:57:39|   Info| Creating Report Server folder for organization CRM
    23:57:40|   Info| Published report Neglected Cases
    23:57:40|   Info| Published report Top Knowledge Base Articles
    23:57:40|  Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed. ---> Microsoft.Crm.BusinessEntities.CrmObjectNotFoundException: systemuser With Id = 5b1b8ff6-5d7e-dd11-a4c8-005056913f3e Does Not Exist
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context, Int32[] deletionCodes, Int32 languageCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Retrieve(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
       at Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
       at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserBusinessId(Guid user, IOrganizationContext context)
       at Microsoft.Crm.BusinessEntities.SecurityAttributes..ctor(SecurityTraits traits, BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandlerCreateSecurityAttributes(Object sender, SecurityTraits traits, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(ExtensionEventArgs e, Object sender)
       at Microsoft.Crm.BusinessEntities.SecurityExtension.PreCreateHandler(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.PreCreateEventHandler.Invoke(Object sender, ExtensionEventArgs e)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.Create(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.SetReportLinks(Report reportEntity, Guid reportId, SRSReport report, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.UpdateInternal(IBusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.ReportService.CreateInternal(IBusinessEntity entity, Boolean isScheduledReport, ExecutionContext context)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportSetupPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReport(String reportFolder, String reportName, String fileName, String description, Int32 languageCode, Int32[] categoriesArray, Int32[] relatedEntitiesArray, Int32[] visibilitiesArray, Object parentId, Guid signatureId, Version version, Guid organizationId, Hashtable reportsPublished)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.UploadReports(String orgUniqueName, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.UpdateWrapper.ReportsUpdateAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---, Error, AbortRetryIgnore, Option1

    Sunday, January 25, 2009 11:05 PM
  • Me too, same problem. Anyone find a solution to this?

    Thanks, Daniel

    Monday, January 26, 2009 10:43 AM
  • Unfortunately I have not found a solution yet.  If I do not have a solution by the end of this week I am planning on stepping through each of the errors and creating a SQL statement that will address each of the errors.  I know that it is not an official fix to this problem, but it seems to be the way to get things done sometimes.

    I will keep you posted if I hear anything.
    Monday, January 26, 2009 1:46 PM
  • Hi all!


    And me. I receive the same error when installing Rollup 2.

    Thansk for information....

    Ale

    Tuesday, January 27, 2009 9:21 AM
  •  

    Same error :  Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed.
    Dutch CRM 4.0 trying to install rollup2

    Tuesday, January 27, 2009 2:09 PM
  • had the same problem!

     

    check if there is an owner assigned to the report where it hangs! if not assign a owner!

     

    that solved it!

     

    Wednesday, January 28, 2009 5:05 PM
  •  M. Schuler, where is the setting to check ownership of the report, is that in CRM or SQL? My error doesn't give me a report name.
    Sunday, February 1, 2009 7:22 AM
  • I had the same problem/error.
    I fixed it by going to each organization reports , and made sure there is an owner to the reports. (I guesses the first CRM installation not putting an owner)

    After that the rollup 2 run smoothly with no errors.

    Shai
    • Proposed as answer by Shai BarLev Monday, February 2, 2009 3:44 PM
    • Marked as answer by Cyclolink Monday, February 2, 2009 9:27 PM
    Monday, February 2, 2009 3:44 PM
  • Sorry to ask this again, but where in CRM do you set the report ownership for the organization? I looked all over in the settings and can't find where to do this.
    Thursday, February 5, 2009 3:35 AM
  • You can do 1 of 2 options :
    1. Workspace->reports Select all with the check box on the upper left corner of the view ( just under the New button) , and select the Assign from the View toolbar ( Little man with green arrow icon) , and assign the reports to yourself (me) or to someone else.
    2. Go to Advanced Find , select Report Entity in the look for picklist , and look for all reports without owner (Does Not Contain Data) , press Find and select all the rows in the result grid jsut like I describe above.

    After that run the Rollup 2 setup again.

    • Proposed as answer by Shai BarLev Thursday, February 5, 2009 4:47 AM
    Thursday, February 5, 2009 4:46 AM
  • thanks, that worked! Update rollup 2 is installed!
    Thursday, February 5, 2009 4:55 AM
  • I am still getting an error even if I made sure the there is a valid owner for each report.

    My SQL server is on another box.
    I am logged in as Domain Admin.  Feels like SRS not alllowign reports to be published?

    Here is what I see in the error log file:

    11:33:22|  Error| System.Exception: Action Microsoft.Crm.UpdateWrapper.ReportsUpdateAction failed. ---> System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.Crm.Metadata.MetadataWebService.GetDataSet()
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadDataSetFromWebService(Guid orgId)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheLoader.LoadCacheFromWebService(LoadMasks masks, Guid organizationId)
       at Microsoft.Crm.Metadata.DynamicMetadataCacheFactory.LoadMetadataCache(LoadMethod method, CacheType type, IOrganizationContext context)
       at Microsoft.Crm.Metadata.MetadataCache.LoadCache(IOrganizationContext context)
       at Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
       at Microsoft.Crm.Reporting.ReportPublisher.BuildRelatedEntitiesValue(String relatedEntities, Guid organizationId)
       at Microsoft.Crm.Reporting.ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.Setup.Server.Utility.ReportsUtility.UploadReports(String orgUniqueName, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress)
       at Microsoft.Crm.UpdateWrapper.ReportsUpdateAction.Do(IDictionary parameters)
       at Microsoft.Crm.Setup.Common.Action.ExecuteAction(Action action, IDictionary parameters, Boolean undo)
       --- End of inner exception stack trace ---, Error, AbortRetryIgnore, Option1
    Friday, February 6, 2009 5:37 PM
  • Hi,
    i've had that too.
    not only all reports need to have an owner,
    also, all repot owners need to have a full name (or, i think at least last name).
    so if you restored the org from a different system, or if domain admin (deployment admin) didnt have 1st and last name in AD and CRM, you need to fix this, and reassign the reports before you install the rollup.

    Adi Gilad
    Webox Ltd
    Adi Gilad
    Saturday, February 7, 2009 10:52 AM