Thanks so much for posting this! I spent about 5 hours trying to figure out my problem... turned off the automatic posting of the login prompt to get the error that I Google'd which led right back to the forums where I'd been posting looking for a solution.
In reply to the poster above, I'm not completely sure that I know what Dataset means, but if it's that you are pushing the data set to the Crystal report like so:
conn = New SqlConnection("server=server;Database=database;Integrated Security=false;User ID=user;Pwd=false")
query = "SELECT Company.Comp_Name, Opportunity.Oppo_Forecast, Opportunity.oppo_licensetot, Opportunity.oppo_textbooks, Opportunity.oppo_pd, Opportunity.oppo_schoolcare, Opportunity.Oppo_Deleted, Users.User_FirstName, Users.User_LastName, Opportunity.Oppo_Certainty, Opportunity.Oppo_Stage, Opportunity.Oppo_TargetClose, Opportunity.oppo_forcothpipe, Opportunity.Oppo_Status, Users.user_userlocation FROM (CRM_CLIPRO.dbo.Company Company INNER JOIN CRM_CLIPRO.dbo.Opportunity Opportunity ON Company.Comp_CompanyId=Opportunity.Oppo_PrimaryCompanyId) INNER JOIN CRM_CLIPRO.dbo.Users Users ON Opportunity.Oppo_AssignedUserId=Users.User_UserId WHERE (Opportunity.Oppo_Stage=N'0-Lead' OR Opportunity.Oppo_Stage=N'1-Contact' OR Opportunity.Oppo_Stage=N'2-Qualified' OR Opportunity.Oppo_Stage=N'3-Developed' OR Opportunity.Oppo_Stage=N'4-Eval/Negotiate' OR Opportunity.Oppo_Stage=N'5-InProcess' OR Opportunity.Oppo_Stage=N'6-Closed') AND Opportunity.Oppo_Deleted IS NULL AND (Opportunity.oppo_forcothpipe=N'Forecast' OR Opportunity.oppo_forcothpipe=N'Pipe') AND Opportunity.Oppo_Status=N'In Progress' AND (Opportunity.Oppo_TargetClose>=CONVERT(DATETIME, '2007-04-01 00:00:00', 120) AND Opportunity.Oppo_TargetClose<CONVERT(DATETIME, '2007-07-01 00:00:00', 120)) ORDER BY Users.user_userlocation, Users.User_LastName, Opportunity.oppo_forcothpipe"
adaptor = New SqlDataAdapter(query, conn)
dataSet = New Data.DataSet()
adaptor.Fill(dataSet)
forepipeq2.SetDataSource(dataSet) Then this may actually apply to you. It certainly did in my case anyway. My guess is that even though a number of the parameters in the data connection are accessible (like the server, database, etc.) and/or overwritable... I'm not sure if the type of connection is overwritten. In my case, at any rate, I found that I still had the problem even using the above technique and I still had to change my Crystal Reports to get it to work. *shrug*