Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Crystal Report Window 2003 ii6 Post Reply Post New Topic
Author Message
Jamilee
Newbie
Newbie
Avatar

Joined: 17 Nov 2010
Location: Malaysia
Online Status: Offline
Posts: 6
Quote Jamilee Replybullet Topic: Crystal Report Window 2003 ii6
    Posted: 18 Aug 2011 at 12:38am
Hi,

I am using VS.NET2008 and Crystal 12. Reports work fine in window server 2008 ii7 with following coding:

rDoc = new ReportDocument();

        rDoc.Load("UserControls/PeopleCounting/Reports/rptPeopleCountingByMonthIn.rpt");

        ConnectionInfo connectionInfo = new ConnectionInfo();
        connectionInfo.ServerName = _serverName.ToString();
        connectionInfo.DatabaseName = _dbName.ToString();
        connectionInfo.UserID = _dbUserID.ToString();
        connectionInfo.Password = _dbPassword.ToString();
        SetDBLogonForReport(connectionInfo, rDoc);



    However, when i try to deploy to another server, window 2003 ii6 i get this message.
Database logon failed.

   Please provide me the solution. Thank you

   
Jamilee
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 18 Aug 2011 at 9:30am
Does the server with IIS6 have the database client installed?  If it's Oracle, do you have the correct entries in the TNSNAMES.ora file?  If you're using an ODBC connection, is the system DSN set up correctly on the server?
 
-Dell
IP IP Logged
Jamilee
Newbie
Newbie
Avatar

Joined: 17 Nov 2010
Location: Malaysia
Online Status: Offline
Posts: 6
Quote Jamilee Replybullet Posted: 18 Aug 2011 at 3:20pm
I use Microsoft Sql server 2005 and have install the database into Window Server 2003. What setting I need to do?

   Thank you.
Jamilee
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.