I have copied the stack trace below. If someone could help me fix this I
would appreciate it.
[ArgumentException: The parameter is incorrect.]
Microsoft.Crm.Platform.ComProxy.CRMContactClass.Create(CUserAuth& Caller,
String Contact) +0
Microsoft.Crm.Application.Platform.Contact.InternalCreate(String xml) +31
Microsoft.Crm.Application.Platform.Entity.Create() +109
Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId
eventId) +405
Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +56
Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity,
String formId, String formType) +83
Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity)
+12
Microsoft.Crm.Web.SFA.ContactDetailPage.ConfigureForm() +238
Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Page.ProcessRequestMain() +1499
Its because of wrong mapping. So try the following steps :
1- Open Microsoft CRM Web Client
2- Go to Settings --> Customization --> "Customize entities"
3- Select "Contact" --> Relationships
4- Select the following relationship
Primary entity: "Account"
Related entity: "Contact"
Type of behavoir: "System"
5- Open the relationship --> mapping
6- Delete the following two mappings as they are not needed:
Source Schema name: "Address1_addressid"
Target Schema name: "Address1_addressid"
Source Schema name: "Address2_addressid"
Target Schema name: "Address2_addressid"
7- Close Window --> Save and close
8- Publish all customizations
/Aami
Thanks, that did the trick!
I am little confused as to how those mappings got added as I never created
them?
Thanks again.
"Aami" <a...@netpartner.dk> wrote in message
news:1160067911.1...@i3g2000cwc.googlegroups.com...