Solved

Dynamics CRM 2011 Database Issue

Posted on 2011-03-01
2
796 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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

10 Experts available now in Live!

Get 1:1 Help Now