?
Solved

Dynamics CRM 2011 Database Issue

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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

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 …
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

743 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