Ok. So I know this question has been asked alot, but I am having this issue now and have had it in the past. I would like to try and understand what is going on and come up with a permanent solution so this does not keep happening.
I have a .Net web application with CR embedded into the solution. When I run the report in production it is asking me for the database information. I am supplying the db, password, etc using code like the one seen below;
reportDatabase = "xxxx"
reportServer = "xxxx"
reportUsername = "xxx"
reportUserpwd = "xxx"
reportPath = Server.MapPath("Reports/Traceability/TraceForward/TraceForwardGiveUBIGetCustomer.rpt")
newTraceabilitycr.ReportDocument.Load(reportPath)
newTraceabilitycr.ReportDocument.SetDatabaseLogon(reportUsername, reportUserpwd, reportServer, reportDatabase)
newTraceabilitycr.ReportDocument.SetParameterValue("@UBI", parmUbi)
Again it is working fine in my dev environment. Also not all reports have this issue in production, only some of them. Any ideas? Please help.