Cannot create a new account

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
verbal11
Posts: 4
Joined: Mon 11 Jun 2012 17:54

Cannot create a new account

Post by verbal11 » Tue 12 Jun 2012 19:25

INVALID_FIELD_FOR_INSERT_UPDATE

I receive this error when trying to create a new Account. I believe this error is occurring because the provider is attempting to set Person Account fields to NULL when this is not a Person Account record type.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Cannot create a new account

Post by Shalex » Wed 13 Jun 2012 16:28

Please specify the INSERT command you are using for adding the new record to the Account table.

verbal11
Posts: 4
Joined: Mon 11 Jun 2012 17:54

Re: Cannot create a new account

Post by verbal11 » Thu 14 Jun 2012 20:14

I am using the Entity Framework and this is the error that I get when calling SaveChanges() after adding a new account.

Post Reply