Solved

Dynamics CRM 2011 Database Issue

Posted on 2011-03-01
2
822 Views
Last Modified: 2012-05-11
Recently upgraded from Dynamics 4.0 to 2011. With 4.0, I was able to directly query the database using the contact and account views:

select * from Contact where ContactId = 'XXXX'

However, this no longer works with 2011. It seems I have to specify the actual base and extension tables now, which is a royal pain. For accounts, my queries would need to pull in accountbase, accountextensionbase, and then the relevant address tables. I don't understand why I can't use the account view?

Am I missing something?

Thanks,

Dave
0
Comment
Question by:dmaslen
  • 2
2 Comments
 

Accepted Solution

by:
dmaslen earned 0 total points
ID: 35011664
I'm not entirely sure what specifically happened, but for some reason, all my activity records got screwed up in the upgrade. The contact associated with each activity was missing, so I was showing nulls in my query. They must have changed something in the db, or something is wrong with the ugprade (I'm guessing the latter).

Be careful if you upgrade to ensure that you activity assignments are correct. Mine certainly weren't.

Cheers,

Dave
0
 

Author Closing Comment

by:dmaslen
ID: 35011671
Determined something wonky happened during the upgrade from 4.0 to 2011. Activity assignments were not correct after upgrade (contact associated with the activities were blank).
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql Query 4 34
SQL Server (2008) Declare Variable (Date) and Set value 6 32
Generate Scripts of Schema/Data with "WHERE" clause 6 60
SQL Server tables join on parse list 6 22
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

774 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