Issue with mapping custom entity

Jun 4, 2012 at 5:53 PM
Edited Jun 4, 2012 at 5:57 PM

Hello again,

I'm recieving an error when I add a custom entity to the configuration xml file that states the following:

Exception Occured: [Arg_NullreferenceException]

Agruments:

Debugging resource strings are unavailable.  Often the key and garguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.0.10411.00&File=mscorlib.dll&Key=Arg_NullReferenceException

In addition I get this error as well at times:

Error loading the entities.  Make sure you are online.  [Format_IndexOutOfRange]

Agruments:

Same message as above except link points to Key=Format_IndexOutOfRange

Any insight would be great.  I've verified I using the correct entity name and have added all the field within the FetchXML that are used within any conditions or display fields.  Not sure what is happening.  Thank you.

 

 

Jun 5, 2012 at 11:48 AM

How did you create fetch xml, preferred way is to use AdvancedFind to avoid any errors.

You may use fiddler to intercept the request/response to see if something is in wrong state. Response should contain exact error message from CRM Server and should help you to figure out the issue.

Thanks,
Atul