Solved

Dynamics CRM 3.0 installation issues

Posted on 2008-06-12
8
517 Views
Last Modified: 2012-08-13
I am trying to set up CRM 3.0. I stupidly uninstalled our original, and then reinstalled it and pointed it to a different SQL Server and SRS. So i finally got it all setup and then did a database restore of the "METABASE" and "<company name>_MSCRM". Now when i try to open CRM in the web browswer it returns the following error:

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Microsoft.Crm.Application.SiteMapCache.GetDefaultUserSubArea(User user) +10
   Microsoft.Crm.Web.Loader.ConfigurePage() +128
   Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +19
   System.Web.UI.Control.PreRenderRecursiveInternal() +77
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

 
Here is some other info that could be useful:
1. I was unaware of customizations, so i did not know you had to import them into CRM. Since i already did the restore of our data, im thinking the databases have invalid configurations because the customization files are not pointing out what has changed...
2. When i try to open CRM Deployment Manager, it gives an error "You must be a Local Admin, SQL Admin, and Domain Admin to have access to this". This could be the reason why im recieving this error.
0
Comment
Question by:Makolyte
  • 4
  • 4
8 Comments
 
LVL 9

Expert Comment

by:Biffster007
ID: 21773679
Hi,

Can you change this to a CRM or Dynamics zone please.

Anyway, you can't just restore over CRM databases and expecxt them to work.  I assume you are trying to continue to use CRM with all it's porevious customisations and data??

If so you need to do a redeployment and run the redeployment wizard which changes the user guid's throughout the entire database.

MH
0
 
LVL 4

Author Comment

by:Makolyte
ID: 21773999
"Can you change this to a CRM or Dynamics zone please."
-Sorry, i am new to this site, i dont know what you mean by this. I thought I am posting in "Dynamics" section.

"Anyway, you can't just restore over CRM databases and expecxt them to work.  I assume you are trying to continue to use CRM with all it's porevious customisations and data??"
-Yes, i uninstalled a previous CRM and then tried to reinstall and point to the previous databases. But the customizations are gone. The person who made them doesn't know where they are. Does using "redeployment wizard" automatically make the customizations for you based on the databases?
0
 
LVL 9

Accepted Solution

by:
Biffster007 earned 500 total points
ID: 21774207
I see...

So the customisations should all be held in the database that you previously backed up so there's no need to re-import them.

Here are the steps to complete a redeployment.

1) Backup your current CRM databases
2) Uninstall CRM from Add/Remove Programs
3) Delete the 'Microsoft CRM' folder and all it's contents from the Program Files group
4) Delete the Microsoft CRM website from the IIS console
5) Delete the four CRM groups from the Organisational unit you selected when you installed CRM
6) Delete both the current CRM databases
7) Attach the previous 2 CRM databases that you have
8) Install the CRM Redeployment Wizard located on the CRM 3.0 disk
9) Run the Redeployment Wizard mapping old users to current users
10) Install CRM, specifying the same Organisation Name as the original installation, using the Connect to existing database option and continue with the setup

And Bob's your uncle :-)

Che,
MH
0
 
LVL 4

Author Comment

by:Makolyte
ID: 21778451
Hello,
Just wanted to let you know I'm going to try this solution and then ill report back. Thanks for the list of stuff to do :).
-Mac
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 4

Author Comment

by:Makolyte
ID: 21781670
I just read this in the manual: "If you want your redeployed Microsoft CRM system to have the customizations, workflow rules, or custom reports from your source Microsoft CRM system, you must back them up manually and restore them to your redeployed system manually."

Unfortunately, the customizations were not backed up. Am i screwed?
0
 
LVL 9

Expert Comment

by:Biffster007
ID: 21789779
Have you got backups of the database??

MH
0
 
LVL 4

Author Comment

by:Makolyte
ID: 21790390
Oh i'm sorry, i read the manual before i attempted the solution. I did everything you said and it worked, so i marked that post as the accepted solution. Thanks for your help!
0
 
LVL 9

Expert Comment

by:Biffster007
ID: 21790401
Nice one :-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Access 2003 or later To MySQL Migration Project Hello All, this is my second article in the category of MS-OFFICE Automation. In internet I am not able to find any comprehensive resource on the Migration of MS Access back-end to MySQL so I fin…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now