DOS Error 267)
- Otto
- Posts: 6404
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
DOS Error 267)
Hello,
trying to create a TEMPORARY index I get following error:
Error description: (DOS Error 267) DBFCDX/1006 Create error: TEMPUMS.cdx
index on field->AUFTRAGNUM TAG TmpAUFT6 TO TEMPUMS TEMPORARY
Can someone please help me.
Thank you in advane
Otto
trying to create a TEMPORARY index I get following error:
Error description: (DOS Error 267) DBFCDX/1006 Create error: TEMPUMS.cdx
index on field->AUFTRAGNUM TAG TmpAUFT6 TO TEMPUMS TEMPORARY
Can someone please help me.
Thank you in advane
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6404
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: DOS Error 267)
Hello,
Now I copied the whole program to this new server and get:
hb_cdxSortWritePage: Can't create temporary file.
Thank you for your help and best regards,
Otto
Now I copied the whole program to this new server and get:
hb_cdxSortWritePage: Can't create temporary file.
Thank you for your help and best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 42556
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 80 times
- Contact:
- Otto
- Posts: 6404
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: DOS Error 267)
Dear Antonio,
where are the temporary files located.
Thank you in advance Otto
where are the temporary files located.
Thank you in advance Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6404
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 25 times
- Been thanked: 2 times
- Contact:
Re: DOS Error 267)
Dear Antonio,
thank you for your help.
Yes it was a problem with permits.
Best regards,
Otto
thank you for your help.
Yes it was a problem with permits.
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Iris Gesser
- Posts: 38
- Joined: Fri Apr 22, 2016 10:19 pm
- Been thanked: 1 time
Re: DOS Error 267)
Dear community,
I have the same issue with a program. I get "...Create error: TEMP5.cdx...".
Can anyone help me, please? Where do I have to set the permission?
Where is temp5.cdx created.
Thank you in advance and kind regards
Iris
I have the same issue with a program. I get "...Create error: TEMP5.cdx...".
Can anyone help me, please? Where do I have to set the permission?
Where is temp5.cdx created.
Thank you in advance and kind regards
Iris
- Antonio Linares
- Site Admin
- Posts: 42556
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 80 times
- Contact:
- Iris Gesser
- Posts: 38
- Joined: Fri Apr 22, 2016 10:19 pm
- Been thanked: 1 time
Re: DOS Error 267)
Dear all,
this was the solution:
function main()
LOCAL CtMP := GETENV( "TMP" )
lMKDir(CtMP)
Kind regards and thank you for the answers!
this was the solution:
function main()
LOCAL CtMP := GETENV( "TMP" )
lMKDir(CtMP)
Kind regards and thank you for the answers!
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: DOS Error 267)
Just for general reference.
Here are some notes (to myself) from my note app:
At the top of your program you should set the default path to DBFs and indexes.
SET DEFAULT TO ".\"
Note that above prepresses to:
Set(7.".\")
To use a variable you can't do:
SET DEFAULT TO cPath
But this works:
SET DEFAULT TO (cPath)
If you don't set the path, you may have an issue like I once did. The files were created and saved, but I couldn't find them. They were not in the same directory as the EXE which they normally are. There were stored in a completely different directory. Took me hours to figure this out.
So always set the default path!
Nice to see you back on the forum, Iris.
Here are some notes (to myself) from my note app:
At the top of your program you should set the default path to DBFs and indexes.
SET DEFAULT TO ".\"
Note that above prepresses to:
Set(7.".\")
To use a variable you can't do:
SET DEFAULT TO cPath
But this works:
SET DEFAULT TO (cPath)
If you don't set the path, you may have an issue like I once did. The files were created and saved, but I couldn't find them. They were not in the same directory as the EXE which they normally are. There were stored in a completely different directory. Took me hours to figure this out.
So always set the default path!
Nice to see you back on the forum, Iris.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- RAMESHBABU
- Posts: 626
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
Re: DOS Error 267)
Mr.Otto,
I create Temporary Indexes as under and working Ok since a long time.
Plese note that TO <FileName> clause is not required when you use
TEMPOARAY or Memory clauses.
-Ramesh Babu
I create Temporary Indexes as under and working Ok since a long time.
Code: Select all | Expand
USE <database>
INDEX ON <field> TAG <cTag> TEMPORARY or MEMORY
OrdSetFocus(cTag)
Plese note that TO <FileName> clause is not required when you use
TEMPOARAY or Memory clauses.
-Ramesh Babu