Posts

Showing posts from February, 2010

MS CRM 4.0 Relationship Mappings Error

Image
Whenever relationship is deleted but relationship attribute is used in another relationship mappings. In that case if you click on mappings you will get below error message. Cause: attribute is deleted but attribute is used in attribute mappings. In MS CRM attribute relationship mappings are saved in following tables E ntityMapBase AttributeMapBase Identify the mapping record in EntityMapBase Table. Take the GUID of that record and find the related attribue records in AttributeMapTable select * from dbo . AttributeMapBase where EntityMapId = 'place your relationship record GUID' update the your deleted attribute records DeletionStateCode with 2.

Web.Config Settings for Custom Aspx Application integration with MS CRM 4.0

MS CRM 4.0 implements the http models for multi tendency. We need to remove these models for our custom aspx application. < httpModules > < remove name = "CrmAuthentication"/> < remove name = "MapOrg"/> </ httpModules > Or < httpModules > < Clear /> </ httpModules > Another Way to read your Owen App Settings is using System.Configuration; using System.Web.Configuration;      // ... Configuration configuration = WebConfigurationManager .OpenWebConfiguration( "/ISV/MyApp" ); string myParameter = configuration.AppSettings.Settings[ "MyParameter" ].Value;