473,581 Members | 2,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where is the connection string stored in a simple Crystal Report

Where is the connection string stored for a simple Crystal Report Application.

What I am trying to do is:
1. Create a simple report from a Firebird database using an ODBC connection
2. Need to compile and deploy to a production environment
3. How to set the data connection so it is can connect to the production
database which is different to the dev database...this must be able to be
done on the production system after compiling on the dev system.

--
Brad
Sydney, Australia
May 5 '06 #1
2 4140

"Brad" <Br**@discussio ns.microsoft.co m> wrote in message
news:79******** *************** ***********@mic rosoft.com...
Where is the connection string stored for a simple Crystal Report
Application.

What I am trying to do is:
1. Create a simple report from a Firebird database using an ODBC
connection
2. Need to compile and deploy to a production environment
3. How to set the data connection so it is can connect to the production
database which is different to the dev database...this must be able to be
done on the production system after compiling on the dev system.

--
Brad
Sydney, Australia


1.You can use ODBC data source located in administrative tools in control
panel to create odbc connection.
2.On production system simply create odbc connection with same name and
specify database and server.
3.Or you can create udl file from witch you can connect to database.
4.Or you can create any file like txt or something else,there is many ways
to do it.
May 5 '06 #2
Radenko
Hi. Thanks for the response. I had tried your first suggestion already but
it does not work. Not sure why. I am using a Firebird database and I do know
that the ODBC connection is sensitive to the folder location of the database.
If it is not the same on both platforms I suspect that this is what is
causing the problem.

Please could you give me some pointers on how to use your second and/or
third suggestions. The simplest method would be the best.

Also note that I am new to C# so need to keep things simple. I have
developed the report entirely in the IDE and it works fine so do not want to
do too much additional coding other than changing the database connection at
run time when deployed.

Cheers
--
Brad
Sydney, Australia
"Radenko Zec" wrote:

"Brad" <Br**@discussio ns.microsoft.co m> wrote in message
news:79******** *************** ***********@mic rosoft.com...
Where is the connection string stored for a simple Crystal Report
Application.

What I am trying to do is:
1. Create a simple report from a Firebird database using an ODBC
connection
2. Need to compile and deploy to a production environment
3. How to set the data connection so it is can connect to the production
database which is different to the dev database...this must be able to be
done on the production system after compiling on the dev system.

--
Brad
Sydney, Australia


1.You can use ODBC data source located in administrative tools in control
panel to create odbc connection.
2.On production system simply create odbc connection with same name and
specify database and server.
3.Or you can create udl file from witch you can connect to database.
4.Or you can create any file like txt or something else,there is many ways
to do it.

May 6 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1906
by: Meral Agceli via .NET 247 | last post by:
A crystal report is developed using Crystal 8.5 and a trustedconnection to a SQL Server database. I'm trying to display thisreport in Crystal Report Viewer using VB.NET. When theapplication is run, I get the Login prompt every time. I want tostop this from happening by setting this within the code. I canget it to work when the report is developed...
0
4891
by: Craig Faulkner | last post by:
I have been fighting through my first crystal report in VS2003.NET and have made some headway. Here is what I've done: 1. Created a crystal report in VS2003 from a SQL stored procedure with parameters through the GUI. 2. Finally got past the logon failure error to display the report using the viewer. I assume that default parameters are...
0
1732
by: Atif | last post by:
Hi All My problem is not related with this group BUT i have got a clue from here that's why i am posting this question over here. I am using Crystal Reports 9 with MySQL and SQL Server. Situation: User can select anyone of these databases and the Report should work fine I am using following connection strings to connect with databases
2
1925
by: news.microsoft.com | last post by:
Hi, (Vb.net 2003 and Crystal report.net) If my application already has a connection, how can I use it in the crystal report. I have designed some reports using the designer with vs.net03, but I do not want to embedded into the report the user id/pwd I had to use when I created the reports, as the Uid/pwd will change per users. What I...
7
2184
by: Bernie Yaeger | last post by:
I can't believe that there aren't lots of developers who: 1. create a crystal report that connects to sql server 2. calls the report using the crystalreportviewer control to view it and then, if appropriate, print it 3. tries to deploy that report to the client's database, but now it calls for a different database name Yet I can't get...
0
3897
by: bonita | last post by:
In my ASP.NET page, I have 2 checkboxes for users to choose which crystal report they want to display. These two reports use different tables. If report1 has been choosen and displayed in the crystal report, then I cannot check another checkbox to display report2 afterwards. If I close the website and open again, I can choose report2 and...
0
2519
by: Crash | last post by:
Hello everyone, I need help creating an asp page to view a crystal report, which requires that that I change the database connection dynamically. I thought I had this problem licked in CR7 (the version of crystal the report has been designed in) but when I tried to deploy CR7 to my server I found that I could not install the ASP components on...
4
7079
by: yin_n_yang74 | last post by:
I am new to SQL and SQL Server world. There must be a simple solution to this, but I'm not seeing it. I am trying to create a crystal report (v8.5) using a stored procedure from SQL Server (v2000) in order to report from two databases and to enable parameters. When I create the stored procedure, it joins multiple one-to-many relationship...
3
1113
by: ray | last post by:
Dear all, My application is using vb.net and crystal report. While the application is running, it calls the crystal report. However, after the report is closed, the connection to the SQL server is still there. It leads to the problem that a new connection will be created and remained after calling a new report. All the connections will only...
0
7876
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7804
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7910
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8180
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6563
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5681
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1409
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.