Archive

Posts Tagged ‘INVALID_WRPC_TOKEN’

Access denied error on closing of Appointment in CRM 2011

September 17, 2012 Leave a comment

Recently when I configured my CRM application with “https” binding, I was getting the “Access Denied” exception while closing the appointment activity

Access Denied

Access Denied on Closing Appointment

When I check the event viewer I had below “INVALID_WRPC_TOKEN” exception

Microsoft.Crm.CrmException: INVALID_WRPC_TOKEN: Validate WRPC Token: WRPCTokenState=Invalid

When I try to find the reason for the issue I came to know that it’s a known issue with CRM 2011 UR 6.

Workaround :-

  • We can disable the CRM token checks via Registry change
  • Here is my previous article which explains how to make the registry change

Here is post on MSCRM forum

🙂

Unexpected error while bulk edit

September 22, 2011 6 comments

Hi,

You may come across below error screen when you try to bulk edit records.

Bulk Edit Error

Bulk Edit Error

When you verify the event viewer for issue log, you may observe “Message: INVALID_WRPC_TOKEN: Validate WRPC Token: WRPCTokenState=Invalid” .

Reason:-

  • The fundamental problem is that CRM 2011 now expects additional parameters on the query string that contain a Token

Fix :-

  • We can disable the CRM token checks via Registry change.
  • Create a DWORD registry key named IgnoreTokenCheck under “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM” and set the value to 1,
  • Recycle the CrmAppPool application pool for the change to take effect (or) restart machine

Steps to change the registry:-

  • Open Registry Editor (Run -> regedit)
  • Navigate to “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM” node
  • Add a new Key “IgnoreTokenCheck” and set value to 1
  • Refer below screen
IgnoreTokenCheck

IgnoreTokenCheck

Hope it helps 🙂