Solved

Crystal Reports New Connection to ODBC database is BLANK

Posted on 2013-01-29
14
360 Views
Last Modified: 2013-08-16
I have created by ODBC Datasource and when I go into Crystal to make a NEW CONNECTION I select the datasource and say finish but there are no files available.
0
Comment
Question by:kvrogers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 2
  • +2
14 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 38831623
When you create an ODBC datasource you usually have the option to test the connection.
Did you do so and did it work?
0
 

Author Comment

by:kvrogers
ID: 38831747
Did not have option to test datasource.
0
[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

 
LVL 77

Expert Comment

by:peter57r
ID: 38831857
Then I don't know what to suggest.
If you can't be sure the ODBC connection is valid I don't know what you do.
0
 
LVL 18

Expert Comment

by:vasto
ID: 38831868
If your machine is 64 bit you need to create the DSN using c:\windows\sysWOW64\odbcad32.exe. Otherwise crystal will nit be able to see it.
0
 

Author Comment

by:kvrogers
ID: 38833026
I am running these reports off my "C" drive.  I have actually 2 folders with the files I need in them.  These are the files from 2 different databases.

Now Folder 1, I can connect and use Crystal.  Folder 2, is the one that I am having trouble with.

I am attaching screen shots of how I set this up.
CTREE2-ODBC.JPG
CTREE-ODBC.JPG
datasource-connection.JPG
NO-FILES-ADDED.JPG
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38833097
What version of Crystal?

What WIndows version?

mlmcc
0
 

Author Comment

by:kvrogers
ID: 38833193
CR - 11.0.0.895

Windows: 7 Professional.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38833704
CR 11 is strictly 32-bit.

Also, that is release 1 which was rather quickly replaced by release 2.  It will only run in .Net Framework 1.1.

What is the difference between Folder 1 and Folder 2?

mlmcc
0
 

Author Comment

by:kvrogers
ID: 38834679
One is family practice data and the other is psychology.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 38837926
Are they pointing to different databases or just need to use different tables in the same database?

mlmcc
0
 

Accepted Solution

by:
kvrogers earned 0 total points
ID: 38841786
Well I figured it out.  
1.   In the FAIRCOM folder I have two files.  One called pp.db and one called pp2.db.  These files contain all the file names of the files in the  original database and the location of the folder on my "C" drive where I am running the reports from.  Looks like this: " Ar12cd99  C:\CopyPPart\Ar12cd99.dat " with a line for every file in the pp.db file.  It takes to long to run the report from the server so I copy the files to my "C" drive.
2.    The file called pp2.db holds the same files as pp.db but reads " Ar12cd99  C:\CopyPPart2\Ar12cd99.dat " as this is where the PSY database files are.
3.    In recreating this pp2.db file I must have been missing a file needed to run.  
4.    This time when I tried the NEW CONNECTION it found the files.  
5.    I ran the report the first time with no results.  But then I thought I should update the files on my "C" drive where the report is run and THEN run the report again and this time it worked.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

724 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