Message "Server has not yet been opened" when run over Windows 7

January 19th, 2012 - 05:27 pm ET by xirin | Report spam
Hello,

I have an application developed in Visual Basic 6 that generate several reports with Crystal Reports 8.5.

All runs fine with Windows XP operation system but when I trying to run the application over Windows 7 the error message "Server has not yet been opened" is showed at the code line that link the report with the data source, that is at:

report.Database.AddADOCommand con, datcmd1

Can you help me with this issue?

Thank you very much in advance
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 xirin
February 15th, 2012 - 04:25 am ET | Report spam
xirin wrote on 01/19/2012 17:27 ET :
Hello,

I have an application developed in Visual Basic 6 that generate several reports
with Crystal Reports 8.5.

All runs fine with Windows XP operation system but when I trying to run the
application over Windows 7 the error message "Server has not yet been
opened" is showed at the code line that link the report with the data
source, that is at:

report.Database.AddADOCommand con, datcmd1

Can you help me with this issue?

Thank you very much in advance


I have just found the solution! Add the property Persist Security Info=true to the connection string to the database and all runs ok.

Similar topics