• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 543
  • Last Modified:

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

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
fedmilk1
Asked:
fedmilk1
1 Solution
 
Ryan McCauleyCommented:
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
 
fedmilk1Author Commented:
Not helpfull
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now