Hello,
I currently have asp.net 2.0 application to view crystal reports. However If I dont include authentication. It says: The report you required needs more information It asks for user id and password... I have this code currently:
CrTables = crReportDocument.Database.Tables
For Each CrTable In CrTables
mylogin = CrTable.LogOnInfo
mylogin.ConnectionInfo.Password = "ID"
mylogin.ConnectionInfo.UserID = "pass"
CrTable.ApplyLogOnInfo(mylogin)
Next
It works fine if I provide my user id and password but I dont want to display my id and password since many users will be using this application. Is there anyway I could use Windows NT authentication? I dont know if this windows authentication i am using. But I want to be able to view the report without me providing my user id and password with NT authentication so that whichever user is logged in. It doesnt ask for id and password. Could someone please help me???
Thank you in advance!
I currently have asp.net 2.0 application to view crystal reports. However If I dont include authentication. It says: The report you required needs more information It asks for user id and password... I have this code currently:
CrTables = crReportDocument.Database.Tables
For Each CrTable In CrTables
mylogin = CrTable.LogOnInfo
mylogin.ConnectionInfo.Password = "ID"
mylogin.ConnectionInfo.UserID = "pass"
CrTable.ApplyLogOnInfo(mylogin)
Next
It works fine if I provide my user id and password but I dont want to display my id and password since many users will be using this application. Is there anyway I could use Windows NT authentication? I dont know if this windows authentication i am using. But I want to be able to view the report without me providing my user id and password with NT authentication so that whichever user is logged in. It doesnt ask for id and password. Could someone please help me???
Thank you in advance!