Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 13th, 2006, 05:12 PM
Registered User
 
Join Date: Jan 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Server has not yet been opened

I have a VB6 program with a reference to craxdrt.dll and crviewer. I'm try to run the following code and the above error is generated:

Dim CApp As New CRAXDRT.Application
Dim Report As New CRAXDRT.Report

Set Report = CApp.OpenReport(Text1.Text) 'my report use p2ssql.dll driver
Report.DiscardSavedData
Report.Database.Tables(1).SetLogOnInfo mstrServer, mstrBD, mstrUser, mstrPass
Report.Database.Tables(1).Location = mstrBD & "." & mstrUser & "." & "fcrproc" 'fcrproc is store procedure
MsgBox "conectado?:" & Report.Database.Tables(1).TestConnectivity 'False

Report.ParameterFields(1).AddCurrentValue "2003"

Dim pfrm As New frm
Load pfrm
pfrm.CRViewer1.ReportSource = Report
pfrm.CRViewer1.ViewReport
pfrm.Show vbModal 'Here I get "Server has not yet been opened"


My problem is that this code source work fine in my machine, but in other machine I get the "Server has not yet been opened" error.

I have find out a lot of white paper, but no one help me and I not have solution yet.

Somebody help me?











Similar Threads
Thread Thread Starter Forum Replies Last Post
error : [server has not yet been opened] - HELP ME declovey Pro VB 6 3 February 10th, 2007 05:02 AM
how to solve "server has not yet been opened" Err jigneshsoni Access VBA 0 June 6th, 2005 10:47 PM
how to solve "server has not yet been opened" Err jigneshsoni Crystal Reports 0 June 6th, 2005 10:43 PM
Server not yet opened sathishraj Crystal Reports 1 October 15th, 2003 08:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.