Wednesday, April 27, 2011

CRM 4.0 - GenerateAuthenticationHeader Function 'Object expected' error from a Custom aspx page

This function retrieves a properly formed Microsoft Dynamics CRM authentication header. This authentication header automatically determines the appropriate authentication type to use for each deployment type: on-premise, IFD, or Microsoft Dynamics CRM Online. Note that the SOAP header for IFD does not include information about theCrmTicket because a session-based ticketing system is used.

To use this function in a custom aspx page you must insert the following code in your page:

parent.window.opener.GenerateAuthenticationHeader();

Nicola Grillo

Friday, April 8, 2011

CRM 4.0 - Message: This customer is filtered due to AntiSpam settings., ErrorCode: -2147220699



The Anti-Spam Setting excludes records that have been contacted within the specified number of days.
Set 0 in anti-spam setting (Form Campaign Activity).



Nicola Grillo