Solved

Dynamics CRM 2011 Database Issue

Posted on 2011-03-01
2
847 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

728 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