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 > Database Server Software > Pervasive.SQL > Pervasive SQL 8 installation on a Terminal Server environment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-05, 07:39
jonasbe jonasbe is offline
Registered User
 
Join Date: Jan 2005
Posts: 4
Pervasive SQL 8 installation on a Terminal Server environment

Hi

We’re having a problem with a pervasive SQL 8 installation just moved to a Terminal Server environment (Windows 2000). The Pervasive engine reports a “btrieve error 12”. According to the Pervasive website this is caused by the MicroKernal when it can’t find a file. This doesn’t help us much since we don’t know which file/files that cause the problem.

Does anyone have a clue about might be the problem. We’re guessing it has to do with files normally found in the window and/or windows/system folder, but now when we’re running on a TS pervasive is probably looking for the files in the userspecific counterparts of these folders. At least this is our guess.

FYI: The application calling the Pervasive SQL is a Delphi 7 application using the Pervasive PDAC components from Delphi.

Any help would be appreciated!

/Jonas Bergman
Reply With Quote
  #2 (permalink)  
Old 02-02-05, 22:36
John230873 John230873 is offline
Registered User
 
Join Date: Oct 2004
Posts: 4
I know that 2000i and I beleive the same is for Ver 8 have issues if you install them using terminal services. I was also aware that the PCC had problems with rights when runnin it under TS.

There are some docs on Pervasive web site that have this information if you look for Terminal Services.
Reply With Quote
  #3 (permalink)  
Old 02-02-05, 23:27
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
A status 12 means that the PErvasive engine can't find one of the data files. With the app using PDAC, you need to make sure that the database (and Data Source) are created properly and pointing to the proper location. Where's the data located in relation to the Terminal Server?
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #4 (permalink)  
Old 02-03-05, 05:20
jonasbe jonasbe is offline
Registered User
 
Join Date: Jan 2005
Posts: 4
Both the database and the application resides on the same computer. Everything works fine when the TS is running in INSTALL-mode but when switched to EXECUTE-mode we get the error 12.

/Jonas Bergman
Reply With Quote
  #5 (permalink)  
Old 02-03-05, 07:55
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
In that case, it almost sounds like a rights/configuration issue. Are you able to access the data using the Pervasive COntrol Center in EXECUTE mode? If not, does it still give the status 12?
Have you contacted the vendor of the application. Do they support running on a Terminal Server?
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #6 (permalink)  
Old 02-03-05, 09:02
jonasbe jonasbe is offline
Registered User
 
Join Date: Jan 2005
Posts: 4
I can´t remember now if I tried the Control Center. The databases can be browsed in Explorer, even in Execute mode. I will try the Control Center tomorrow. We are the vendor, kind of, at least we have been given the source code in a (desperate) attempt to get the system working. Probably the best thing would be to move the database to another server. I will drive over to the customer tomorrow and perform a couple of tests, includning moving the database.
Reply With Quote
  #7 (permalink)  
Old 02-03-05, 09:28
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
If you've got the source code, debug into it to find which file is giving the status 12. I would try PCC and then the sample called "PDAC Samples" from http://www.pervasive.com/developerzo...thods/pdac.asp. Use the sample to try to access your data (and DEMODATA). Do they give the same status 12?
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On