Solved

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

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

718 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