Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: RE: CRM 2011 upgrade failed with Object not found exception

$
0
0

Here you Mohammad.

Upgrading report original body text

13:23:03|   Info| Exception updating body text for report Management Report for China Users.rdl -  

{1a42ea18-d08e-e111-81e4-f04da209c360}. Message = Object reference not set to an instance of an  

object.

13:23:03|   Info| Exception updating body text for reports. Message = Object reference not set to  

an instance of an object.

13:23:03|   Info| CrmAction execution time; UpgradeDatabaseAction; 2.07:14:34.6828433

13:23:03|  Error| Installer Complete: OrganizationUpgrader - Error encountered

13:23:04|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Action  

Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed.

InnerException:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an  

invocation. ---> System.NullReferenceException: Object reference not set to an instance of an  

object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

  --- End of inner exception stack trace ---

  at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType  

typeOwner)

  at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,  

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String

[] namedParams)

  at Microsoft.Crm.Setup.Database.DllMethodAction.Execute()

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo,  

Boolean isInstall)

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String  

configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

  at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

InnerException:

System.NullReferenceException: Object reference not set to an instance of an object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

13:23:04|   Info| Setting organization state.  New state = Failed

13:23:04|  Error| Upgrade Organization with Id=c1fb54b8-5f62-e011-85e5-f04da209ba57 failed with  

Exception:

System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. --->  

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an  

invocation. ---> System.NullReferenceException: Object reference not set to an instance of an  

object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

  --- End of inner exception stack trace ---

  at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType  

typeOwner)

  at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,  

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String

[] namedParams)

  at Microsoft.Crm.Setup.Database.DllMethodAction.Execute()

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo,  

Boolean isInstall)

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String  

configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

  at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo)

13:23:04|  Error| An error occurred when trying import and upgrade organization database  

Microsoft.Crm.CrmException: Upgrade Organization with Id=c1fb54b8-

5f62-e011-85e5-f04da209ba57 failed with Exception:

System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. --->  

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an  

invocation. ---> System.NullReferenceException: Object reference not set to an instance of an  

object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

  --- End of inner exception stack trace ---

  at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType  

typeOwner)

  at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,  

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String

[] namedParams)

  at Microsoft.Crm.Setup.Database.DllMethodAction.Execute()

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo,  

Boolean isInstall)

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String  

configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

  at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo) ---> System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction  

failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target  

of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of  

an object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

  --- End of inner exception stack trace ---

  at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType  

typeOwner)

  at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,  

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String

[] namedParams)

  at Microsoft.Crm.Setup.Database.DllMethodAction.Execute()

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo,  

Boolean isInstall)

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String  

configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

  at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo)

13:23:04|  Error| Import Organization

failed with Exception:

Microsoft.Crm.CrmException: Upgrade Organization with Id=c1fb54b8-5f62-e011-85e5-f04da209ba57  

failed with Exception:

System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction failed. --->  

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an  

invocation. ---> System.NullReferenceException: Object reference not set to an instance of an  

object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

  --- End of inner exception stack trace ---

  at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType  

typeOwner)

  at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,  

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String

[] namedParams)

  at Microsoft.Crm.Setup.Database.DllMethodAction.Execute()

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo,  

Boolean isInstall)

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String  

configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

  at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo) ---> System.Exception: Action Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction  

failed. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target  

of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of  

an object.

  at Microsoft.Crm.Reporting.SRSReport.ConvertDatasetBack(XmlNode dataset, Hashtable  

commandTextHash)

  at Microsoft.Crm.Reporting.SRSReport.ConvertReportBack(BusinessEntity report, Boolean  

saveFilterAsCustomProperty, ExecutionContext context)

  at Microsoft.Crm.ObjectModel.ReportServiceInternal`1.DownloadReportEntityDefinition

(BusinessEntity report, Boolean includeFilters, ExecutionContext context)

  at Microsoft.Crm.DataUpgrade.ReportUpgradeDriver.OriginalBodyTextUpgrade()

  --- End of inner exception stack trace ---

  at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType  

typeOwner)

  at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target,  

Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder  

binder, Object[] parameters, CultureInfo culture)

  at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,  

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String

[] namedParams)

  at Microsoft.Crm.Setup.Database.DllMethodAction.Execute()

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo,  

Boolean isInstall)

  at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String  

configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)

  at Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary  

parameters, Boolean undo)

  at Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)

  at Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo)

  --- End of inner exception stack trace ---

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo  

organizationInfo)

  at Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj)


Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>