From: Siva on
I designed a custom report to run pending activities & assigned
activities of current loggin user.

This report is running in report server and showing current user's
assigned activities. i am passing current user name in parameters as
@User Name from sql query. After deploying this report into crm. its
throwing an error message like this.

"An error has occurred during report processing.
The Value expression for the query parameter ‘@UserName’ contains an
error: Index was outside the bounds of the array"

The current user name passing from crm report as "NT AUTHORITY\NETWORK
SERVICE".

Environment : CrmServer and SQL Server2008 is installed in seperate
box. data connector also installed.