none
Error importing organization CRM4 to CRM2011

    Domanda

  • To upgrade our CRM4 server to CRM2011 I installed, on a new 64bit server, a fresh copy of SQL server 2008 and CRM2011.

    Now I'm trying to import the organization from old CRM4 server.

    I backed up the database from old server (SQL server 2005) and restored on the new one (SQL server 2008).

    When I try to import process the CRM 4.0 database through CRM 2011 Deployment Manager,it fails. I map all users and validation screen passes with warnings and without errors ...Why is it failing can someone point me into a right direction looking at the logs.

     I attached most frequent lines of the log ...

    Thanks in advance    
    ---------------------------------------------------------------------------------

    19:00:16|Verbose| Retrieved 1 'owninguser' attributes for entity workflow. owninguser.islogical=True .
    19:00:16|Verbose| Table WorkflowBase has 1 'OwningUser' columns.
    19:00:16|Verbose| Retrieved 1 'owninguser' attributes for entity workflowlog. owninguser.islogical=True .
    19:00:16|Verbose| Table WorkflowLogBase has 0 'OwningUser' columns.
    19:00:16|Verbose| Upgrading OwnerType attribute for entity 'account' with ObjectTypeCode=1.
    19:00:16|Verbose| Updated 836 rows for OwnerType attribute for entity 'account' with ObjectTypeCode=1.
    19:00:16|Verbose| Upgrading OwnerType attribute for entity 'activitypointer' with ObjectTypeCode=4200.
    19:00:17|Verbose| Exception in SetOwnerIdData method. Message= Il nome di oggetto 'TaskExtensionBase' non è valido.
    19:00:17|   Info| CrmAction execution time; UpgradeDatabaseAction; 00:08:49.2453337
    19:00:17|  Error| Installer Complete: OrganizationUpgrader - Error encountered
    19:00:17|  Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationUpgrader: Operazione Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction non riuscita.
    InnerException:
    System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       in Microsoft.Crm.Setup.Database.DllMethodAction.Execute()
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       in Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
    InnerException:
    System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
    ---> (Eccezione interna 0) System.Data.SqlClient.SqlException (0x80131904): Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )<---

    InnerException:
    System.Data.SqlClient.SqlException (0x80131904): Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )

    19:00:17|   Info| Setting organization state.  New state = Failed
    19:00:17|  Error| Aggiornamento dell'organizzazione con ID=1f6ba55b-b847-4c6b-a1a1-b2049cca2f9f non riuscito con l'eccezione:
    System.Exception: Operazione Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction non riuscita. ---> System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       in Microsoft.Crm.Setup.Database.DllMethodAction.Execute()
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       in Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       in Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
    19:00:17|  Error| An error occurred when trying import and upgrade organization database SERVERCRM.MAXIMA_MSCRM:
    Microsoft.Crm.CrmException: Aggiornamento dell'organizzazione con ID=1f6ba55b-b847-4c6b-a1a1-b2049cca2f9f non riuscito con l'eccezione:
    System.Exception: Operazione Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction non riuscita. ---> System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       in Microsoft.Crm.Setup.Database.DllMethodAction.Execute()
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       in Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       in Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Operazione Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction non riuscita. ---> System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       in Microsoft.Crm.Setup.Database.DllMethodAction.Execute()
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       in Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       in Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
    19:00:17|  Error| Importazione dell'organizzazione (nome=MAXIMA, ID=1f6ba55b-b847-4c6b-a1a1-b2049cca2f9f) non riuscita con l'eccezione:
    Microsoft.Crm.CrmException: Aggiornamento dell'organizzazione con ID=1f6ba55b-b847-4c6b-a1a1-b2049cca2f9f non riuscito con l'eccezione:
    System.Exception: Operazione Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction non riuscita. ---> System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       in Microsoft.Crm.Setup.Database.DllMethodAction.Execute()
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       in Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       in Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo) ---> System.Exception: Operazione Microsoft.Crm.Tools.Admin.UpgradeDatabaseAction non riuscita. ---> System.Reflection.TargetInvocationException: Eccezione generata dalla destinazione di una chiamata. ---> System.AggregateException: Si sono verificati uno o più errori. ---> System.Data.SqlClient.SqlException: Il nome di oggetto 'TaskExtensionBase' non è valido.
       in System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       in System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
       in System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
       in System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
       in System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       in System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       in Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)
       in Microsoft.Crm.CrmDbConnection.InternalExecuteNonQuery(IDbCommand command, Boolean capturePerfTrace)
       in Microsoft.Crm.CrmDbConnection.ExecuteNonQuery(IDbCommand command, Boolean impersonate, Boolean capturePerfTrace)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.SetOwnerIdData(MetadataBusinessEntity entity)
       in System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
       in System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
       in System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
       in System.Threading.Tasks.Task.Wait()
       in System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
       in System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeData()
       in Microsoft.Crm.DataUpgrade.AttributeTypeOwnerUpgradeDriver.UpgradeUserOwnedEntities()
       --- Fine della traccia dello stack dell'eccezione interna ---
       in System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       in System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
       in Microsoft.Crm.Setup.Database.DllMethodAction.Execute()
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
       in Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
       in Microsoft.Crm.Tools.Admin.InstallDatabaseAction.Do(IDictionary parameters)
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Setup.Common.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
       in Microsoft.Crm.Setup.Common.Installer.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationUpgrader.Install(IDictionary stateSaver)
       in Microsoft.Crm.Tools.Admin.OrganizationOperation.Execute()
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
       --- Fine della traccia dello stack dell'eccezione interna ---
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.ImportAndUpgrade(OrganizationInfo organizationInfo)
       in Microsoft.Crm.Tools.Admin.ImportOrganizationInstaller.Execute(Object obj)
    19:00:17|   Info| GetDBUpdateRevisionThresholdForServer(): Threshold = 2243.

    martedì 28 agosto 2012 17:05

Risposte