?
Solved

Dynamics CRM 2011 Database Issue

Posted on 2011-03-01
2
Medium Priority
?
863 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Loops Section Overview

864 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