473,831 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

One Crystal Report - many databases

Our company have one asp.net 2.0 web application using c# as code behind and
one C++ windows application. Both applications are using Crystal Reports (v
10) as report engine.

The web app. just started using crystal report and can access and show the
report but for now EACH report has to be hardcoded to one customers database.
We would like to use same reports in the web app as the win app use which
dynamically connect to the database with a ODBC connection.

We have solved the problem in the win app using different startup-scripts
for every user. The script changes the win. registry for the ODBC the report
use. So in the report all we have to do is to set the connection to the
database with this ODBC connection.

The question is how do we do something similiar in our web application? As I
understand we cannot use a ODBC on the web server.

We cannot have the reports like this since this would require us to modify
1300 * 50 reports for the web and just 1300 reports for the win app so please
help us!
Feb 2 '07 #1
1 1385

You design the reports to work with strongly typed datasets.

The dataset has to be consistent among customers, but you can populate it
from any specific customer database.

see
http://scottonwriting.net/sowblog/posts/2148.aspx


"Andreas" <An*****@discus sions.microsoft .comwrote in message
news:A8******** *************** ***********@mic rosoft.com...
Our company have one asp.net 2.0 web application using c# as code behind
and
one C++ windows application. Both applications are using Crystal Reports
(v
10) as report engine.

The web app. just started using crystal report and can access and show the
report but for now EACH report has to be hardcoded to one customers
database.
We would like to use same reports in the web app as the win app use which
dynamically connect to the database with a ODBC connection.

We have solved the problem in the win app using different startup-scripts
for every user. The script changes the win. registry for the ODBC the
report
use. So in the report all we have to do is to set the connection to the
database with this ODBC connection.

The question is how do we do something similiar in our web application? As
I
understand we cannot use a ODBC on the web server.

We cannot have the reports like this since this would require us to modify
1300 * 50 reports for the web and just 1300 reports for the win app so
please
help us!


Feb 2 '07 #2

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

Similar topics

13
15183
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports designer it shows up very fast. When the report is printed from my application it takes about ten times as long to get the report to appear. When printing straight from the Crystal Reports
2
760
by: Tim Burda | last post by:
I posted this in another forum, but I'm adding it here to for more exposure.I am using Visual Studio 2003 and trying to get Crystal Reports to produce output. If you have any ideas, please let me know. This is a common problem, but nobody seems to have an answer for it. CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. What does that mean, specifically? What logon is failing?
3
520
by: oscar | last post by:
is there a way of integrating mysql databases into the .net crystal reports? in the report wizard i have options for sql databases, but nothing for mysql. is there a plugin i'm missing for it? i've tried creating a dataset and filling it with the data from a mysql query, but it still does not show up in the wizard. i have also tried to create fields and import data to them, but there seems to be no way of accessing the crystal report...
2
1253
by: airkart | last post by:
Hello, I've scoured groups and the web, and haven't found a question like mine answered. I'm using Visual Studio 2003 with the Crystal Reports it comes bundled with and SQL Server 2000. Throughout the project I'm working on, I often find I need a temporary table displayed in a report, something that I cannot seem to do. Since temporary tables are so useful, I cannot imagine Crystal Reports wouldn't have a way to get such
6
13149
by: Robin Cushman | last post by:
Hi all, I need some help -- I'm working with an A2K database, using DAO, and am trying to read records into a Crystal Report and then export it to a folder on our network as an Excel spreadsheet. I'm having trouble with my code at the point at which it hits ".ReadRecords" -- the module just runs and runs without generating anything. I've gotten this code to correctly save .rpt files without any data, but not with data, nor have I been...
0
1744
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
3075
by: aldous scotch | last post by:
I designed a Crystal Report .rpt from within Microsoft Development Environment 2003 Version 7.1.3088 (VB .NET IDE). I selected database fields from the left side Field Explorer onto the Details (Section3) of the .rpt. Also, I added a new web form myWebform.aspx and a web object CystalReportViewer - CrystalReportViewer1 and had a code behind in ReportSource
5
3743
by: jmar | last post by:
I posted a week ago and received one response. I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again. Sorry for the repost... I am updating a VB4.0 quote generation program to VB.net. The old program takes user inputs, performs calculations, saves the data to Access databases and uses Crystal Reports 5.0 to generate a quote. A while back users obviously wanted to be able to edit/e-mail ...
0
1601
by: mknoll217 | last post by:
Hello. I have been trying to log onto two databases at run time for a crystal report. I have tried both the crystal report viewer and the report document object viewer. I have no figured out a way to make it possible. The code for the report document object viewer is below (with the server, password and user not included for both databases). It gives me an error saying that it cannot find the employee table (which is in the EmployeeTrack...
0
1968
by: bharathi228 | last post by:
hello in my application we hav monthly databases every month we create new database through code in asp.net database name like 200901AVG 200902AVG now my problem is iam working with crystal reports here i want to create a AVG report from November 2008 to Jan 2009 so i need 200811AVG,200812AVG,200901AVG Databases like this whatever dates i selected it will goes to the particular database and pick the records from that...
0
9794
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10778
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10496
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10538
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10210
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9319
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5788
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.