Link to home
Start Free TrialLog in
Avatar of Makolyte
MakolyteFlag for United States of America

asked on

Dynamics CRM 3.0 installation issues

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.
Avatar of Biffster007
Biffster007
Flag of New Zealand image

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
Avatar of Makolyte

ASKER

"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?
ASKER CERTIFIED SOLUTION
Avatar of Biffster007
Biffster007
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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?
Have you got backups of the database??

MH
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!
Nice one :-)