The report cannot be displayed. (rsProcessingAborted)

The report cannot be displayed. (rsProcessingAborted)

After upgrading to CRM 2013 I had a strange ReportingServices error: The report cannot be displayed. (rsProcessingAborted) Sometimes the report result window was blank, depends on browser i use. Because front-end and sql server has been splitted I thought it could be a problem with server-server comunication. First thing I’ve check was accessing reports directly […]

How to run code with elevated priviledge?

How to run code with elevated priviledge?

Sometimes code must be invoked with admin-user priviledge, e.g. when retrieving data to which invoking user has no access. In this scenario You can impersonate OrganizationService to other user only for time operation is executing. Invoking code which must be run with higher priviledged is extremely easy. Code is written just like it is in […]