Solved

Redeploy Web App with Crystal report - change database from Oracle to Sql

Posted on 2011-03-21
2
510 Views
Last Modified: 2012-06-27
I have a web application was build in vs 2005 that loads crystal reports, and the crystail repords are connected with Oracle database.  I need to change the crystal reports connect to Sql database and redeploy the web applicaiton in the server.  After I changed the database connection in Crystal report and changed the code in the application to point the new server and database, it runs fine at my local machine,  then redeploy the application to the server.  But I got this:
---------------------------------------------------------------------------
THe report you requested requires further information.
Server name:  myserver name
Database name:  empty
User name: myusername
Password: ********
 Use Integrated Security
-----------------------------------------------------------------------------
I can not go to enter the empty database name, when I click the Log On button not thing is happend.
Could you please help me out, is there anything I can fix, is the problem at the server? or the crystal report connection? or the conbination of sets, etc.?  Thank you very much in advance.

 
0
Comment
Question by:fedmilk1
2 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
ID: 35243107
The empty database name is okay as long as either:

The objects you need are in the login's default database (open the login's "Properties" page on the SQL server to see the default database
The object you're referencing in the report is named with a database.schema.object format - that way, SQL Server knows which database it's in regardless of which one you log into

If you're having trouble, have you used SQL Server Profiler to see if the Crystal Report is even attempting (and failing) to login to the database, or if it's trying (and failing) to load a particular database object? Profiler will show you all the login attempts and query execution attempts being made against the server, and often makes it easy to pick out the attempts made by your application that are causing problems.

Here's a good primer on SQL Profiler, including screenshots and walk-throughs to help you learn how to use the application:

http://blog.sqlauthority.com/2009/08/03/sql-server-introduction-to-sql-server-2008-profiler-2/

I suspect you'll be interested most in "Failed Logins" and "User Errors" as a path to identifying your problem.
0
 

Author Closing Comment

by:fedmilk1
ID: 35285124
Not helpfull
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

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…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

21 Experts available now in Live!

Get 1:1 Help Now