CRM 4.0 Import Organization fails when you try to map users

by Chinmay 28. October 2011 16:18

Here is another strange but interesting issue, I faced almost a month back. One of my acquaintances was trying to import a CRM Organization [They exported the database and were importing the database into an existing CRM installation] which was using a different domain. Everything was going fine until he reached to the point where you are supposed to map existing users with users from destination AD. The moment he reached that stage he was running into an Exception in Deployment Manager add-in [See the screenshot below].

 

After trying to troubleshoot this problem for a while, I found few pointers regarding empty domainname field in SystemUserbase table. Upon examination of the SystemUserbase table, we found that indeed there were few records with empty domainname field in there. Now INTEGRATION and SYSTEM are valid users of CRM and they do not have domainname mapped to them however, for every other record there must be an associated user from AD i.e. domainname field must be populated. In our case, there were few other users, which had empty domainname field. We filled in those fields with valid domain\username information and voila, import went just fine.

Tags:

CRM 4.0

After migrating CRM 4.0 to CRM 2011, CRM is throwing an exception : A potentially dangerous Request.Form value was detected from the client

by Chinmay 22. October 2011 03:50

I recently observed a scenario where a CRM 4.0 database was upgreaded to CRM 2011 and after upgrade process uses were not able to perform any kind of operation within CRM. The exception that we found was :

A potentially dangerous Request.Form value was detected from the client (crmFormSubmitXml="<iteasy_postcode><it...").;Hash='1073421037'

This is because ASP.Net 4.0 now has a different behvaior and it inspects all request data. Rather that being the cookies, urls, headers, etc. This behavior is controlled by RequestValidationMode property.
Now to override this behavior for CRM 2011, all you need to do is set <httpRuntime requestValidationMode="2.0" /> in your web.config. This setting will enforce request validation in .Net 2.0 mode i.e. only Form's input fields are checked for invalid HTML input.

Tags: , ,

CRM 2011 | CRM 4.0

Update Rollup 12 for Microsoft Dynamics CRM 4.0 is Out

by Chinmay 2. August 2010 06:27

FYI the Update Rollup 12 for Microsoft Dynamics CRM 4.0 is available for download at : http://support.microsoft.com/kb/2028381.

 

Tags: , , ,

.Net | CRM 4.0 | Download | Microsoft | News

A very nice blogpost by David Yack on new CRM SDK and xRM Extensions

by Chinmay 9. May 2010 18:04
New CRM SDK, New Developer Experience by David Yack gives you an overview of how you can use the new Advanced Developer Extensions provided with CRM SDK 4.0.12.

Tags: , , , ,

.Net | CRM 4.0 | Download | Link

Record Counter For Microsoft Dynamics CRM 4.0

by Chinmay 6. April 2010 21:54

Andriy Butenko demonstrates a code sample to display number of Records in current view in CRM 4.0 using a Plugin on CRM Team Blog. Click here for the code and article.

Tags:

CRM 4.0 | Download | News | Link

About Me

I've been working on CRM since last 6 years and I am mesmerized by the sheer capabilities of this product. This blog is a medium via which I will try to share my various experiences on CRM, .Net, DHTML and a lot more. If you like my blog please leave a comment and/or rating on the posts.

#1
#2
#3
Questions Answered
Overall Points
quot;


Subscribe in a reader

Calendar

<<  May 2013  >>
MoTuWeThFrSaSu
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

View posts in large calendar