on 04-06-2011 2:58 AM
I upgraded my code from VS2008 to VS2010 but now some of my Crystal Reports are not working properly. My report throws a system.invalidprogramexception and sometimes an Invalid Argument exception (Invalid Argument provided: Failed to retrieve data from the database...).
I am not sure what the root cause of the issue is. I have commented out most of the code to narrow the problem area but i still get the exception at this line of code: CrystalReportViewer1.RefreshReport().
Any help will be appreciated.
Let's start with SP 1:
http://www.sdn.sap.com/irj/sdn/crystalreports-dotnet
1) What's the database?
2) What's the db connection method?
3) Web Win app?
4) Try a simple new app, one line;
CrystalReportViewer1.ReportSource = <path to report>
The report should prompt for the datasource. Does that work?
- Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.