Solved

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

Posted on 2010-09-14
11
1,096 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

A while back when OPSMGR 2012 was released we were very excited about getting it into our environment and upgrading our 2007 implementation,  we started our planning and we then proceeded with our implementation. All went as planned & our system …
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 the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

920 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

14 Experts available now in Live!

Get 1:1 Help Now