server has not yet been opened. 
Author Message
 server has not yet been opened.

Dim crxApplication As New CRAXDRT.Application

    rptpath = "C:\R1.rpt"
    Set Report = crxApplication.OpenReport(rptpath, 1)

    Report.Database.LogOnServer "pdssql.dll", "master", "iacc", "vanida", ""   This line it have error



Fri, 13 May 2005 15:20:21 GMT  
 server has not yet been opened.
I haven't found a need to mess with application logonserver method.  I
just use setlogoninfo method of report object:

(sql server)
crxReport.Database.Tables(0).SetLogOnInfo Server, DBName, Login,
Password

(access)
crxReport.Database.Tables(0).SetLogOnInfo DSN

if using access, you can use either "Data Sources" section of control
panel or Crystal Reports to create the DSN (as far as I know, file DSN
will not work)

--
andrew

Quote:

> Dim crxApplication As New CRAXDRT.Application

>     rptpath = "C:\R1.rpt"
>     Set Report = crxApplication.OpenReport(rptpath, 1)

>     Report.Database.LogOnServer "pdssql.dll", "master", "iacc",
> "vanida", ""   This line it have error

> --



Sat, 14 May 2005 03:11:49 GMT  
 server has not yet been opened.
I try to use SetLogOnInfo but  It's not change database .
(sql server)

vanida.


Quote:
> I haven't found a need to mess with application logonserver method.  I
> just use setlogoninfo method of report object:

> (sql server)
> crxReport.Database.Tables(0).SetLogOnInfo Server, DBName, Login,
> Password

> (access)
> crxReport.Database.Tables(0).SetLogOnInfo DSN

> if using access, you can use either "Data Sources" section of control
> panel or Crystal Reports to create the DSN (as far as I know, file DSN
> will not work)

> --
> andrew




- Show quoted text -

Quote:
> > Dim crxApplication As New CRAXDRT.Application

> >     rptpath = "C:\R1.rpt"
> >     Set Report = crxApplication.OpenReport(rptpath, 1)

> >     Report.Database.LogOnServer "pdssql.dll", "master", "iacc",
> > "vanida", ""   This line it have error

> > --



Sun, 15 May 2005 09:18:12 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Connection not Open + Server has not yet been opened error messages

2. Server has not yet been opened message with VB6, CRP7 and SQL-server

3. Server has not yet been opened - Very Urgent

4. "the server is not yet opened"

5. server has not yet been opened ( STILL )

6. Server has not yet been opened

7. Server has not yet been opened (Urgent)

8. Help! Server has not yet been opened

9. Server has not yet been opened

10. VB6 and CR 8.5 Server has not yet been opened

11. The server has not yet been opened

12. Server has not yet been open.

 

 
Powered by phpBB® Forum Software