Credential Prompt on some reports after application migrated to .net 4.0
We have a .Net application with many reports that we have migrated recently to the .Net 4.0 framework. This application was originally developed using VS2005 and Crystal XI but is now being worked on using VS2010 and Crystal for VS and has been for 4 years.
The application uses standard method of setting the logon info in the report by looping through the tables and calling ApplyLogOnInfo.
For Each t As Table In doc.Database.Tables
logOnInfo = t.LogOnInfo
logOnInfo.ConnectionInfo = connInfo
t.Location = t.Location
Everything worked fine until the application was migrated to .Net 4.0. No some reports run as expected and others prompt for logon information. After entering the logon info in the popup, the report runs fine.
I have looked at a working report and a non working report in the designer and can’t find any differences. I update CR for VS to 13.0.17 from an earlier revision and made a slight change to the report hoping that may help, but know luck.
I am at a loss to why one report would work fine and not the other.
VS 2010 – VB .Net 4.0 app
CR for VS 13.0.17
Can anyone point me in the right direction?