Microsoft KB Archive/911329

= Error message when you run the Sample Data Wizard in Microsoft Dynamics CRM 3.0: &quot;Object reference not set to an instance of an object&quot; =

Article ID: 911329

Article Last Modified on 3/23/2006

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-





SYMPTOMS
When you install the sample data for Microsoft Dynamics CRM 3.0, you receive the following error message:

An unhandled exception has occurred in a component in your application. Click continue and application will ignore this error and attempt to continue. Object reference not set to an instance of an object.



CAUSE
This issue occurs if you do have an insufficient number of available licenses for the sample data users. The Sample Data Wizard needs 12 available licenses. This issue occurs most frequently with the MSDN license key, because the MSDN license key only has 10 user licenses.



Resolution 1: Map only nine users in the Sample Data Wizard
 Run the Sample Data Wizard When you receive the following warning message, click OK:

You do not have enough Microsoft CRM Suite Professional licenses available for all the users in the sample data set. If you continue the installation process, the data will be imported only for the users with licenses. Do you want to continue the installation process?

 Map only 9 users, and then click Next until the Error page of the Sample Data Wizard appears. On the Error page of the Sample Data Wizard, click Continue. Click Back. Click Next. You do not receive the warning message that you received in step 2.</li> Click Next to review the sample data hierarchy.</li> Click Install to finish the Sample Data Wizard.</li></ol>

Resolution 2: Replace the sample data files
<ol> Copy a new Hierarchy.xml file and a new Systemuser.xml file. To do this, visit the following Microsoft Web sites:

http://mbs.microsoft.com/downloads/public/KnowledgeBase/hierarchy.xml

http://mbs.microsoft.com/downloads/public/KnowledgeBase/systemuser.xml

</li> Copy the SampleData folder from the Microsoft Dynamics CRM 3.0 Server installation CD to the Microsoft CRM Server.</li> In the folder that you copied in step 2, locate SampleData\DataFiles\common folder, and then replace the following files with the downloaded files: <ul> SampleData\DataFiles\common\hierarchy.xml</li> SampleData\DataFiles\common\systemuser.xml</li></ul> </li> Run the Sample Data Wizard again. Now you can map only nine or fewer user accounts.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
The Sample Data Wizard requires that the logged-on user be a non-restricted Microsoft CRM Administrator. To verify whether a user account is a non-restricted user account, follow these steps:
 * 1) In Microsoft CRM, click Settings, click Business Unit Settings, and then click Users.
 * 2) Double-click the user account that you will use to run the Sample Data Wizard.
 * 3) Verify that the Restricted Access Mode check box at the bottom of the form is not selected.

Keywords: kberrmsg kbprb kbmbsmigrate kbmbsinstallation KB911329

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.