tags:

views:

11

answers:

0

Hi,

receiving the error:

"Property or indexer 'Microsoft.Reporting.WebForms.IReportServerCredentials.NetworkCredentials' cannot be assigned to-- it is read only"

within this line:

reportviewer1.ServerReport.ReportServerCredentials.NetworkCredentials = new System.Net.NetworkCredential("someaccount", "somepassword");

When I hover the cursor on NetworkCredentials, it says: "Gets or sets the network credentials that are used for authentication with report server"..

what the heck is going on here?

thanks

related questions