473,756 Members | 2,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal report problem when database location changed in config file (vb.net)

Hello,
I am using ASP.NET (VB.NET) and crystal report.

My applications reports runs perfectly in development server.
When I move it in production server, and change the database location
in web.config file it does not function as its supposed to.

Any idea, whats going on wrong ?

TIA,
Chris

Aug 28 '06 #1
1 1285
Hi check if the table-structure is the same in both databases, an make sure
you logon your report to the correct database.
Look at this sample:

http://www.vb-tips.com/dbpages.aspx?...1-e779bfb411c5

hth

Greetz, Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Christina" <ch*********@gm ail.comschreef in bericht
news:11******** **************@ 75g2000cwc.goog legroups.com...
Hello,
I am using ASP.NET (VB.NET) and crystal report.

My applications reports runs perfectly in development server.
When I move it in production server, and change the database location
in web.config file it does not function as its supposed to.

Any idea, whats going on wrong ?

TIA,
Chris

Aug 29 '06 #2

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

Similar topics

0
1726
by: Sameer | last post by:
Hello I have a simple crystal report. Report is displayed using CrystalReportViewer control in a web form. It works fine. There is one problem with the database connection logic. Whenever I navigate thru' report pages, it creates a new (additional) database connection. Is there any solution to avoid this? The code is - ************************************************************* Private Sub Page_Init(ByVal sender As System.Object,...
12
10411
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission @salesdate as varchar(20),
3
11013
by: route_coder | last post by:
I am using access database to create a crystal report in VB.NET Everything works fine when I run on my machine. But when I am deploying it other windows machines. It is asking for database server name and logon information. The problem which I understood from this is that the path is hardcoded in the crystal report and the database is in my bin folder. when I run my app on other machines it is looking for the database in that folder and...
0
1444
by: Agnes | last post by:
As Title, If the user Preivew the report under vb.net application, we can see the chinese characters. However, if the user direct print it. the chinese character will be show as "square" . Please help
2
5471
by: deegee | last post by:
hi, I'm trying to display a simple crystal report from within a web application but I keep getting prompted to enter login details for the database (oracle). Entering the correct information manually displays the report perfectly but there must be a way of passing the login details automatically?? How do I do it? There is currently no code in the page - I simply added a Crystal Report Viewer and set the report as required.
7
11111
by: moondaddy | last post by:
I'm running a wpf windows app and want to add the appSettings element to the config file. when I do, the app wont start up and I get the following error: {"The type initializer for 'System.Windows.Application' threw an exception."} {"The type initializer for 'System.Windows.Navigation.BaseUriHelper' threw an exception."} " at System.Windows.Application..ctor()\r\n at DiagramTool_v1.App..ctor()\r\n at DiagramTool_v1.App.Main() in
0
974
by: ShakirNSK | last post by:
I am facing a problem when i use to connect crystal report with MS.Access datafile i want to edit in Select query for desire results but on right clicking on command for editing is not enabled while when SQL or Oracle i use for datasourece right clickung is enabled so can any one tell me what should i do when MS.access is datasource
3
1134
by: ganga1985 | last post by:
I have a windows form which displays table contents from a database. I want the contents to be automatically updated when the table in database is updated. How do i do it?
0
1586
by: Mark | last post by:
Hi Guys, I am using Crystal Reports to create reports. Everything works great, except one issue. My report has 3 pages, but it shows 1 / 1+. Is there any way to show the total pages like 1 / 3 instead of 1 / 1+. Thanks for any help you can provide. Thanks, Mark
0
9273
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
10032
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
8712
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...
1
7244
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5141
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3805
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
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.