Solved

Changing a Crystal Reports Developer 2008 "Setting the datasource location" causing error invlalid argument provided.

Posted on 2010-09-14
11
1,103 Views
Last Modified: 2013-12-01
I have a report that runs a database connection made in OLE DB ADO for Access. The report has run just fine on the setup I had. Recently we needed to change to an ODBC  Microsoft Access Driver (*.mdb,*.accdb) which would allow us to connect to a seperate system that allowed us to tie two datasources together. They were both ODBC  Microsoft Access Drivers (*.mdb,*.accdb)

Currently, I can create a data source connection and then build a report off this new data source connection. Then I would think open an old report made with OLE DB ADO and through "Set Data source Location in Crystal Reports Developer assign a new data source. Then change to this new data source which is accdb.

Of course when I do this I get the “Failed to retrieve data from the database” I click OK then get “Invalid Argument Provided”. Then I get a blank white page.

Does anyone know a work around or solution if there is one to this problem. Else I need to get busy with rewritting a bunch of reports over in the new version.

The only thing unique about where the datasource is or Crystal Reports Developer is that it was originally installed on a Windows 2008 Server which I had to go in and move some driver files around like the ACEODBC.DLL file over to the C:\Windows\SysWOW64\ folder. I can create a report with it so everything seems to be okay there. Please advise if you know something about this.
0
Comment
Question by:ruavol2
  • 7
  • 4
11 Comments
 
LVL 16

Accepted Solution

by:
13598 earned 500 total points
ID: 33681711
Before you set the data source location on the report you need to change the driver first.
0
 
LVL 16

Assisted Solution

by:13598
13598 earned 500 total points
ID: 33681721
Before you set the data source location on the report you need to change the driver first.
Click on Database. Convert Database Driver and select the new driver.
 
0
 

Author Comment

by:ruavol2
ID: 33685453
There is no Convert database driver anywhere under the Crystal Reports Developer 2008 Database Menu....?
0
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

 
LVL 16

Expert Comment

by:13598
ID: 33685642
You are correct. I was looking at an older version. Did you try Verify Database?
0
 
LVL 16

Assisted Solution

by:13598
13598 earned 500 total points
ID: 33685856
The Invalid Argument Provided part of your error would point more to the database links or mappings. Did you check those?
0
 
LVL 16

Assisted Solution

by:13598
13598 earned 500 total points
ID: 33685884
Also how exactly did you set the data source location for your tables? I know you went to Set datasource location but then what did you do in there?
0
 

Author Comment

by:ruavol2
ID: 33685914
Yeah I just did and I get a Login failed pointing to a DAO error code saying it does not recognize the file which is now an .accdb not an .mdb?
I bet I am going to have to rewrite all these reports............Lions and tigers and bears oh no...!
0
 
LVL 16

Assisted Solution

by:13598
13598 earned 500 total points
ID: 33685939
Try logging off and logging back on first. From your Database /Log On or Off Server and see what happens.
0
 

Author Comment

by:ruavol2
ID: 33685950
Do you mean log on off through Crystal Reports or Access. It is a large Access database about 1 gig.
0
 
LVL 16

Assisted Solution

by:13598
13598 earned 500 total points
ID: 33686182
I meant Crystal Reports/Database/LogOn or Off Server.
0
 

Author Closing Comment

by:ruavol2
ID: 33801690
We are good. That got me over the hurdle
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question