Hello,
I am using a web service XML data source and related web service XML Schema file at design time to create a report. At run time, I am switching to a DataTable data source and am displaying the report as follows:
Dim rptDoc As New ReportDocument | |
rptDoc.Load(rptFileName) | |
rptDoc.SetDataSource(dt) | |
ReportViewer.ReportSource = rptDoc |
The data table has the exact same field structure and schema as the web service. Neither the web service for the results set or schema require any login information. When I run this code on the development environment, it works perfectly. When I run it on the web server, I am prompted to enter database login credentials, even though I'm not using a database for the results set nor does the DataTable require any additional parameters. Please see the attachment for the prompt I am receiving. I would expect that there would be no additional prompt at this point, except for report parameters. Note in my ReportViewer I have the property set EnableDatabaseLogonPrompt="False".
Any help would be greatly appreciated! Thanks