Solved

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

Posted on 2011-03-21
2
517 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
[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
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

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 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