Article ID: 947061 - Last Review: September 8, 2009 - Revision: 5.0 How to resolve common problems that may occur when you upgrade from Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0
On This PageINTRODUCTIONThis article describes common problems that may occur when you upgrade from Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0. This article describes how to resolve these common problems. MORE INFORMATIONProblems that are related to the Workflow toolAfter you upgrade to Microsoft Dynamics CRM 4.0, the "Check activities" workflow condition does not workIn Microsoft Dynamics CRM 3.0, the "Check activities" workflow condition let you evaluate all activities or only those activities that were created by the workflow. In Microsoft Dynamics CRM 4.0, the "Check activities" workflow condition no longer exists. New conditions in Microsoft Dynamics CRM 4.0 include the following conditions:
The owner of a workflow that is not activated changes to the user who is performing the upgradeConsider the following scenario. User 1 is the owner of a workflow that has not been activated in Microsoft Dynamics CRM 3.0. For example, the workflow has not been activated because it is in a draft state. You log on to Microsoft Dynamics CRM 3.0 as user 2 so that you can upgrade to Microsoft Dynamics CRM 4.0. In this scenario, the owner of the workflow is updated to user 2. To work around this problem, use one of the following methods:
Error message when you open an upgraded workflowWhen you open an upgraded workflow in Microsoft Dynamics CRM 4.0, you receive the following error message:Specified argument was out of the range of valid values. To resolve this problem, change the date/time value in the workflow to a value that is equal to or later than the year 1900. For example, assume that the workflow contains the following date/time value. Error message when you upgrade a workflow process instanceWhen you upgrade a workflow process instance, you receive the following error message:Unable to cast object of type 'System.DBNull' to type 'System.String'. To resolve this problem, re-create the workflow in Microsoft Dynamics CRM 4.0. If you want to find any records that include a regarding object that does not have the primary attribute field for the entity populated before you upgrade to Microsoft Dynamics CRM 4.0, contact Microsoft CRM support. For information about technical support for Microsoft CRM, visit the following Microsoft Web site: http://www.microsoft.com/dynamics/support/default.mspx
(http://www.microsoft.com/dynamics/support/default.mspx)
Problems that occur when you have multiple Microsoft Dynamics CRM Web serversUpgrade sequenceIf you have multiple Microsoft Dynamics CRM Web servers, upgrade only one Web server at a time. When you upgrade the first server, the Web site on this server will be upgraded. And, the Microsoft Dynamics CRM databases will be upgraded. After you complete the upgrade on the first server, you can upgrade the next Microsoft Dynamics CRM Web server.When you upgrade to Microsoft Dynamics CRM 4.0, the Workflow service stopsThe Microsoft Dynamics CRM 4.0 upgrade stops the Workflow service on the local computer. You must stop the Workflow service manually on each additional Microsoft Dynamics CRM Web server if you have multiple Microsoft Dynamics CRM Web servers in the same deployment. You must do this so that any data that is being processed by the Workflow service will be updated in the Microsoft Dynamics CRM database. Each Workflow service will read up to a maximum of 200 events in memory and then process the events. If the Workflow service is not stopped on each Microsoft Dynamics CRM Web server, the Workflow service will fail when the database is upgraded.Error message when you upgrade a Microsoft Dynamics CRM Web server: "The remote server returned an error: (500) Internal Server Error"Consider the following scenario. You upgrade the first Microsoft Dynamics CRM Web server to Microsoft Dynamics CRM 4.0. During the upgrade of the first Microsoft Dynamics CRM Web server, the Microsoft Dynamics CRM databases are upgraded. Then, you upgrade additional Microsoft Dynamics CRM Web servers in the same environment. When you run the Environmental Diagnostic Wizard, you receive an error message in the CRM40Setup.log file. This error message resembles the following error message:[SqlException]: Cannot open database Organization_name_METABASE; requested by the login. The login failed.
Login failed for user 'user'. C:\Documents and Settings\Administrator\Application Data\Microsoft\MSCRM\Logs This problem occurs because the Microsoft Dynamics CRM Web server is trying to connect to the Metabase database. The Metabase database no longer exists for Microsoft Dynamics CRM 4.0 because the Microsoft Dynamics CRM databases were upgraded when you upgraded the first Web server.To resolve this problem, ignore the error message. Then, continue to upgrade the additional Microsoft Dynamics CRM Web servers. The upgraded workflow rules fail when the rules are run on a new Microsoft Dynamics CRM 4.0 Web serverConsider the following scenario. You have workflow rules in Microsoft Dynamics CRM 3.0 that use the default Microsoft .NET assemblies. You upgrade the first Microsoft Dynamics CRM Web server to Microsoft Dynamics CRM 4.0. Then, you upgrade additional Microsoft Dynamics CRM Web servers to Microsoft Dynamics CRM 4.0. If the workflow rules are run on the first Web server that was upgraded, the workflow rules run as expected. However, in this scenario, the workflow rules on the additional Web servers fail.This problem occurs because the Microsoft .NET assemblies are not present on the additional Microsoft Dynamics CRM Web servers. To resolve this problem, copy and then register the Microsoft .NET assemblies on the additional Microsoft Dynamics CRM 4.0 Web servers. Problems that are related to Service in Microsoft Dynamics CRMThe Update Contract States SQL job has changedIn Microsoft Dynamics CRM 3.0, the status of a contract is evaluated by the Update Contract States SQL job. This job runs one time per day at midnight. This job sets the expired contracts to a state of Expired.In Microsoft Dynamics CRM 4.0, the status of a contract is evaluated as a recurring asynchronous system job. The time that the job is run is recorded as the time when the asynchronous service was started. To resolve this problem, start the asynchronous service at an appropriate time for your organization. Problems that are related to custom entitiesSome foreign key constraints on custom entity tables are missing after you upgrade to Microsoft Dynamics CRM 4.0Consider the following scenario. You have a custom entity table, and the custom entity table has a primary key constraint and a foreign key constraint on the same column. When you upgrade to Microsoft Dynamics CRM 4.0, the foreign key constraint is removed during the upgrade process.For example, assume that you have a custom entity table that is called AuditTrailExtensionBase. The following foreign key is added. To resolve this problem, add the missing foreign key constraint to the custom entity table. Problems with the Microsoft Dynamics CRM 3.0 Web siteError message when you run the Environmental Diagnostic WizardWhen you run the Environmental Diagnostic Wizard, you receive the following error message:time| Error| Check ExportXmlValidator : Failure: The request failed with HTTP status 403: Forbidden. This problem occurs when the Microsoft Dynamics CRM 3.0 Web site requires Secure Sockets Layer (SSL). To resolve this problem, click to clear the Require secure channel (SSL) check box, and then run the Microsoft Dynamics CRM 4.0 upgrade again. To do this, follow these steps:
MORE INFORMATIONIf you use c360 add-ins for Microsoft Dynamics CRM 3.0, visit the following c360 Web site for information about some common issues that occur when you upgrade c360 add-ins for Microsoft Dynamics CRM: http://www.c360.com/upgradedocument.aspx
(http://www.c360.com/upgradedocument.aspx)
REFERENCES
For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
946542
(http://support.microsoft.com/kb/946542/
)
Error message when you upgrade Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0: "Microsoft Dynamics CRM 3.0 database export failed"
946543
(http://support.microsoft.com/kb/946543/
)
Error message when you upgrade Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0: "Unable to resolve related entity for report upgrade"
946544
(http://support.microsoft.com/kb/946544/
)
Microsoft CRM 3.0 hotfixes remain in Add or Remove Programs
946545
(http://support.microsoft.com/kb/946545/
)
Error message after you upgrade Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0: "Microsoft.Crm.Tools.FaxConnectorService.FaxSinkServiceException"
946597
(http://support.microsoft.com/kb/946597/
)
Error message when you upgrade to Microsoft Dynamics CRM 4.0: "Exception has been thrown by the target of an invocation"
946619
(http://support.microsoft.com/kb/946619/
)
Error message when you upgrade from Microsoft Dynamics CRM 3.0 to Microsoft Dynamics CRM 4.0 in certain languages: "One or more version 3.0 reports were not upgraded"
For more information, see the "Microsoft Dynamics CRM Server Installation Instructions" section of the Microsoft Dynamics CRM 4.0 Implementation Guide. To obtain this guide, visit the following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?FamilyID=1ceb5e01-de9f-48c0-8ce2-51633ebf4714
(http://www.microsoft.com/downloads/details.aspx?FamilyID=1ceb5e01-de9f-48c0-8ce2-51633ebf4714)
Also, see the Readme file for the server components of Microsoft Dynamics CRM 4.0. To obtain this Readme file, visit the following Microsoft Web site: http://www.microsoft.com/downloads/details.aspx?FamilyID=1db2d16d-7885-4561-a461-20b948913b3f
(http://www.microsoft.com/downloads/details.aspx?FamilyID=1db2d16d-7885-4561-a461-20b948913b3f)
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.REFERENCES
For more information about the updates that are included in the setup update for Microsoft Dynamics CRM 4.0, click the following article number to view the article in the Microsoft Knowledge Base:
948917
(http://support.microsoft.com/kb/948917/
)
How to obtain the setup updates for Microsoft Dynamics CRM 4.0
| Article Translations
|

Back to the top
