When my client tries to run it on the server within the Web Viewer, they get Login failed for user 'NT Authority\Network Service' error.
In the ASP.NET code, I use the following code to 'reset' the server connection string to the client's information:
Code: Select all
StiSqlDatabase db = (StiSqlDatabase)report.Dictionary.Databases[0];
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new StiSqlDatabase(db.Name, connString));
StiWebViewer1.Report = report;