Login failed for user 'NT Authority\Network Service'
Posted: Fri Oct 09, 2009 4:31 pm
I've written a report on my development PC which runs fine.
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:
The connection string does contain the username and password.
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;