Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you run a report in Microsoft Dynamics 4.0: "'this.Controller' is null or not an object"


View products that this article applies to.

Symptoms

When you run a report in Microsoft Dynamics CRM 4.0, you receive the following error:

Webpage error details

Message: 'this.Controller' is null or not an object
Line: 173
Char: 1
Code: 0
URI: http://[servername]:[portnumber]/[orgname]/CRMReports/rsviewer/reportviewer.aspx

↑ Back to the top


Cause

This error occurs if a user was added to one of the other organizations before being added to the Default Organization. 

Once they are assigned to an Organization that is held as their default even if they are disabled from that organization. 

The Default Organization setting via the Deployment Manager is not a real-time default for current users. The first organization that a user is provisioned into will become that user’s default organization.

Changing the default organization in the deployment manager has no effect on existing users or newly provisioned users Default Organization.

↑ Back to the top


Resolution

Consider the following scenario:

Current Configuration: UserA is part of Org1 and Org2. Org1 is their default org, but needs the default org to be Org2.

Steps to change Organization.
a. Create an account in AD that is not added to Microsoft Dynamics CRM.
b. Log into Org1 as an administrator and open users.
c. Open the account for UserA and change the domain name to the user created in step a. Click Save and Close. Repeat for any additional orgs the user is part of which we do not want to be default. This will change the default Org for UserA to Org2.
d. Open the user accounts that were changed to the temp user and change it back to UserA if needed.

At this point when UserA types http://servername:port it will redirect them to Org2, but they can still use http://servername:port/Org1 to access the original organization.

↑ Back to the top


More Information

Another related error message is as follows-

Webpage error details below:

Message: 'document.getElementById(...).ParametersController' is null or not an object
Line: 123
Char: 60
Code: 0
URI: http://[servername]:[portnumber]/[orgname]/CRMReports/rsviewer/reportviewer.aspx

↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2613966
Revision : 1
Created on : 1/7/2017
Published on : 11/29/2012
Exists online : False
Views : 291