Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

15 Experts available now in Live!

Get 1:1 Help Now