If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > "ODBC error Login Failed…." then "server has not yet been opened "

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-17-10, 05:33
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
"ODBC error Login Failed…." then "server has not yet been opened "

Hi, I need your help pls.

I’m using Crystal Reports ver.7. I’m opening rpt file that was created using ver.7. When I clicked print preview, this error appears:

ODBC error: [MERANT][ODBC Sybase ASE driver]Login Ffailed, Check for valid user ID, server name and password

Then the next error appears: Server has not yet been opened

I’m connecting to the database using ODBC connection. So I tried to convert database driver to pdsodbc.dll [ODBC] and then I selected the datasourcename and input the username, password, etc. It was successful, I was able to connect and see the data. And then I saved the file.

Now, when I opened the file again, I encountered the same error. The previous settings was restored back. So I had to all the steps above again to see my data. My question is, how will I make the changes permanent w/o going through the same steps again? And did I do the correct steps to view my data?
Reply With Quote
  #2 (permalink)  
Old 12-17-10, 05:56
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
Another simple step I've discovered to see the print preview is to go to menu "Database/Log On Server" then I select the server type. It's working fine, I was able to connect to the DB and see my data. Then I saved the file.

When I opened the file again, the same problem persist. The server is not automatically logged-on. I need to log-on again to the server. How do I automatically keep it logged-on?

Thanks.
Reply With Quote
  #3 (permalink)  
Old 01-06-11, 16:54
mj23116 mj23116 is offline
Registered User
 
Join Date: May 2009
Posts: 6
Is the report running off a different machine? I see that ODBC error most often when the report is being run off another machine (such as a FAT client) versus my machine. If accessed somewhere else, it needs it's own ODBC to connect into the db or you should go into Database/Select Data Source and select the applicable connection method for the report.

It may not be that at all, but I just thought I'd share my experience.
Reply With Quote
  #4 (permalink)  
Old 01-17-11, 03:13
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
I’m now using crystal ver.11 and the problem did not appear anymore. 
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On