dbTalk Databases Forums  

HELP - From WHERE, WHY and WHAT is TMPSRnnn.db???

comp.databases.paradox comp.databases.paradox


Discuss HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeanette
 
Posts: n/a

Default HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 12:17 PM







I recently created a new process using Pdox 9 – Windows XP SP2
with a bunch of PRIV tables and 1 WORK table.
During the test I gave a Test User FULL CONTROL to my folder
so that User could enter data and troubleshoot the new process.

Now that I have moved the process to Production
a TMPSRnnn.db is created when a User (and not me) runs the process.
The Users that are allowed to use the App in Production are in a Group.
I now see that the Group has permissions:
Read & Execute
List Folder
Read
Write

While watching Shark last night I had ‘a moment of brilliance’ and thought
that maybe I should add MODIFY Permission to the Production table so that
the Users can sort the table and eliminate the creation of the TMPSRnnn.db
table !
Bad Idea.
Not only was the TMPSRnnn.db created but the Production table was DELETED!

There are no other processes in Production where the User sorts a Production
Table - keys/index will not work for the new process... well they probably
will if I worked at it – but for now I need to find out about the TMPSRnnn.db
table that’s created and move on and maybe get back to this process sometime
in the future to implement keys/index …

1. My in-house Admin Staff has never heard of TMPSRnnn.db tables
2. Is my thinking correct about WHY TMPSRnnn.db table is created?
3. Did the addition of the MODIFY Permission cause the deletion of the production
table?
4. If I give Full Control to this one table what can the Users do that they
are unable to do with the other tables in Production?

TIA

Jeanette




Reply With Quote
  #2  
Old   
Steven Green
 
Posts: n/a

Default Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 12:31 PM






temp tables are created in MANY situations, and are almost always
automatically deleted at the end of a clean process.. even if they aren't
deleted, they are basically a non-issue..

why does this one bother you?

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Jeanette" <HarrisJR (AT) bwsc (DOT) org> wrote

Quote:
I recently created a new process using Pdox 9 - Windows XP SP2
with a bunch of PRIV tables and 1 WORK table.
During the test I gave a Test User FULL CONTROL to my folder
so that User could enter data and troubleshoot the new process.

Now that I have moved the process to Production
a TMPSRnnn.db is created when a User (and not me) runs the process.
The Users that are allowed to use the App in Production are in a Group.
I now see that the Group has permissions:
Read & Execute
List Folder
Read
Write

While watching Shark last night I had 'a moment of brilliance' and thought
that maybe I should add MODIFY Permission to the Production table so that
the Users can sort the table and eliminate the creation of the TMPSRnnn.db
table !
Bad Idea.
Not only was the TMPSRnnn.db created but the Production table was DELETED!

There are no other processes in Production where the User sorts a
Production
Table - keys/index will not work for the new process... well they
probably
will if I worked at it - but for now I need to find out about the
TMPSRnnn.db
table that's created and move on and maybe get back to this process
sometime
in the future to implement keys/index .

1. My in-house Admin Staff has never heard of TMPSRnnn.db tables
2. Is my thinking correct about WHY TMPSRnnn.db table is created?
3. Did the addition of the MODIFY Permission cause the deletion of the
production
table?
4. If I give Full Control to this one table what can the Users do that
they
are unable to do with the other tables in Production?

TIA

Jeanette






Reply With Quote
  #3  
Old   
Jeanette
 
Posts: n/a

Default Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 02:07 PM




A. the production area will be filled up with unneeded data SINCE they are
not being dropped - HOWEVER, I can get over it
BUT I'm STILL interested in replies to:
1-4 below

TIA

JEANETTE

///////////////////////////////////////////////////////////////

"Steven Green" <greens (AT) diamondsg (DOT) com> wrote:
Quote:
temp tables are created in MANY situations, and are almost always
automatically deleted at the end of a clean process.. even if they aren't

deleted, they are basically a non-issue..

why does this one bother you?

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"Jeanette" <HarrisJR (AT) bwsc (DOT) org> wrote in message
news:4628f5b1$1 (AT) pnews (DOT) thedbcommunity.com...

I recently created a new process using Pdox 9 - Windows XP SP2
with a bunch of PRIV tables and 1 WORK table.
During the test I gave a Test User FULL CONTROL to my folder
so that User could enter data and troubleshoot the new process.

Now that I have moved the process to Production
a TMPSRnnn.db is created when a User (and not me) runs the process.
The Users that are allowed to use the App in Production are in a Group.
I now see that the Group has permissions:
Read & Execute
List Folder
Read
Write

While watching Shark last night I had 'a moment of brilliance' and thought
that maybe I should add MODIFY Permission to the Production table so that
the Users can sort the table and eliminate the creation of the TMPSRnnn.db
table !
Bad Idea.
Not only was the TMPSRnnn.db created but the Production table was DELETED!

There are no other processes in Production where the User sorts a
Production
Table - keys/index will not work for the new process... well they
probably
will if I worked at it - but for now I need to find out about the
TMPSRnnn.db
table that's created and move on and maybe get back to this process
sometime
in the future to implement keys/index .

1. My in-house Admin Staff has never heard of TMPSRnnn.db tables
2. Is my thinking correct about WHY TMPSRnnn.db table is created?
3. Did the addition of the MODIFY Permission cause the deletion of the

production
table?
4. If I give Full Control to this one table what can the Users do that

they
are unable to do with the other tables in Production?

TIA

Jeanette







Reply With Quote
  #4  
Old   
Steven Green
 
Posts: n/a

Default Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 02:44 PM



Quote:
the production area will be filled up with unneeded data SINCE they are
not being dropped
temp tables only appear in the PRIV, and can be safely deleted externally,
on the way out, or before re-loading.. if they're appearing in what you
think is the "working" directory, you've got a problem..


Quote:
BUT I'm STILL interested in replies to 1-4 below

1. My in-house Admin Staff has never heard of TMPSRnnn.db tables
you hadn't, either, right? (g)


Quote:
2. Is my thinking correct about WHY TMPSRnnn.db table is created?
if your theory was that it was the User account, no..


Quote:
3. Did the addition of the MODIFY Permission cause the deletion of the
production table?
don't know anything about your app, but again, no..


Quote:
4. If I give Full Control to this one table what can the Users do that
they are unable to do with the other tables in Production?
you MUST give full control to every folder that uses Paradox.. if for no
other reason, that's what is needed for the lock files to work properly..


--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards




Reply With Quote
  #5  
Old   
Jeanette
 
Posts: n/a

Default Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 04:13 PM




These TMPSRnnn.db tables are not created by me and saved and used in the PRIV
directory. They are being created by Users that DO NOT have FULL CONTROL
permisions in the WORK directory in the background.
I thought I had made that clear, sorry...


"Steven Green" <greens (AT) diamondsg (DOT) com> wrote:
Quote:
the production area will be filled up with unneeded data SINCE they are

not being dropped

temp tables only appear in the PRIV, and can be safely deleted externally,

on the way out, or before re-loading.. if they're appearing in what you

think is the "working" directory, you've got a problem..


BUT I'm STILL interested in replies to 1-4 below

1. My in-house Admin Staff has never heard of TMPSRnnn.db tables

you hadn't, either, right? (g)


2. Is my thinking correct about WHY TMPSRnnn.db table is created?

if your theory was that it was the User account, no..


3. Did the addition of the MODIFY Permission cause the deletion of the

production table?

don't know anything about your app, but again, no..


4. If I give Full Control to this one table what can the Users do that

they are unable to do with the other tables in Production?

you MUST give full control to every folder that uses Paradox.. if for no

other reason, that's what is needed for the lock files to work properly..


--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards




Reply With Quote
  #6  
Old   
Liz McGuire
 
Posts: n/a

Default Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 06:28 PM



Jeanette,

Paradox *must* have read, write, create, modify and delete rights in the
dirs where .DB files live or your app will have problems. The only
exception is if you create directory locks, and place them in the
directory, thus making it read-only to Paradox, then it only needs read
rights.

"Paradox" in this case, obviously, means the user who's logged in and
running Paradox.

Liz


Steven Green wrote:
Quote:
4. If I give Full Control to this one table what can the Users do that
they are unable to do with the other tables in Production?

you MUST give full control to every folder that uses Paradox.. if for no
other reason, that's what is needed for the lock files to work properly..


Reply With Quote
  #7  
Old   
Liz McGuire
 
Posts: n/a

Default Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-20-2007 , 06:30 PM



We know that. The BDE / Paradox creates them as needed for certain
functions. Your code uses those functions.

Note that the BDE has been known to create files above the PRIV dir
(anyone remember if that extends to the WORK dir as well?), so it would
be good for full rights to be granted for the dir above where .db files
live as well.

Liz


Jeanette wrote:
Quote:
These TMPSRnnn.db tables are not created by me and saved and used in the PRIV
directory. They are being created by Users that DO NOT have FULL CONTROL
permisions in the WORK directory in the background.
I thought I had made that clear, sorry...


Reply With Quote
  #8  
Old   
Jeanette
 
Posts: n/a

Default CLARIFICATION - Re: HELP - From WHERE, WHY and WHAT is TMPSRnnn.db??? - 04-24-2007 , 10:47 AM




CLARIFICATION:

I found that one of my sort statements on a WORK table did not have an UNattach()
after the sort was completed.
Once I added the UNattach() statement I am NO LONGER getting the creation
of TMPSRnnn.db tables


"Jeanette" <HarrisJR (AT) bwsc (DOT) org> wrote:
Quote:
These TMPSRnnn.db tables are not created by me and saved and used in the
PRIV
directory. They are being created by Users that DO NOT have FULL CONTROL
permisions in the WORK directory in the background.
I thought I had made that clear, sorry...


"Steven Green" <greens (AT) diamondsg (DOT) com> wrote:
the production area will be filled up with unneeded data SINCE they are

not being dropped

temp tables only appear in the PRIV, and can be safely deleted externally,

on the way out, or before re-loading.. if they're appearing in what you

think is the "working" directory, you've got a problem..


BUT I'm STILL interested in replies to 1-4 below

1. My in-house Admin Staff has never heard of TMPSRnnn.db tables

you hadn't, either, right? (g)


2. Is my thinking correct about WHY TMPSRnnn.db table is created?

if your theory was that it was the User account, no..


3. Did the addition of the MODIFY Permission cause the deletion of the

production table?

don't know anything about your app, but again, no..


4. If I give Full Control to this one table what can the Users do that

they are unable to do with the other tables in Production?

you MUST give full control to every folder that uses Paradox.. if for no

other reason, that's what is needed for the lock files to work properly..


--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards





Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.