CRM 2011 Technical Preview: Errors after creating new XRM.cs

Feb 3, 2011 at 3:34 PM


we had several errors after creating a new XRM.cs.

We need that because we created new entities, we want to access.

Is it working in general with the Technical Preview, if you create a new XRM.cs? Or would we perhaps need to create the XRM.cs with the old svcrmutil? Nevertheless we got an error, when trying that.

I would be happy if anyone knows anything.


Feb 3, 2011 at 5:35 PM

There are two versions - one for CRM 4 and one for CRM 2011.  You cannot mix and match the pieces and tools.  If you are using CRM 2011, then you need to use the customer portal downloaded from the marketplace and supported in the forum here:

If you are using the CRM 4 version, you certainly can regenerate the xrm.cs file, but you have to do it with the same parameters otherwise there will be breaking changes.  The namespace has to be Xrm.  The data context prefix must be the same, and you need to use the /uselogicalnames switch.

If you are connecting to CRM 2011 and using the new accelerator, please post your question on that forum.


Feb 11, 2011 at 2:07 PM

Thanks for the answer and thanks for the link to the forum of the solution for CRM 2011, I didn't know that before.

Yes, we use the Version for CRM 2011, so this is the wrong forum.