Solved

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

Posted on 2010-09-14
11
1,094 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
 
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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

747 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now