Trouble with windows 7

Trouble with windows 7

Postby hag » Sat Jun 25, 2011 10:28 pm

I have an application that closes and creates data base indexs (ntx). When using Win 7 i get create errors on the index (inconsistent). When I run program as administrator these errors seem to disappear. Any body have an idea as to what might be happening and is there a solution?
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby driessen » Sun Jun 26, 2011 12:13 am

Looks like a permission problem on your harddisk to me.

Does the user have the correct rights ?

Good luck.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.02 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc77
User avatar
driessen
 
Posts: 1399
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Trouble with windows 7

Postby hag » Sun Jun 26, 2011 12:27 am

I'm the user. How do I know if I have the rights?
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby MarcoBoschi » Sun Jun 26, 2011 9:42 am

Please tell us in which folder are dbf and ntx
User avatar
MarcoBoschi
 
Posts: 1018
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Trouble with windows 7

Postby hag » Sun Jun 26, 2011 4:18 pm

everything in the same folder. It is a standalone single user program.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby MarcoBoschi » Sun Jun 26, 2011 5:04 pm

Please create a minimized program and I test it for you in my windows 7 notebook.
User avatar
MarcoBoschi
 
Posts: 1018
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Trouble with windows 7

Postby hag » Sun Jun 26, 2011 9:12 pm

Much to big to forward. Do you think the indexes may not be created because of Admin rights.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby MarcoBoschi » Mon Jun 27, 2011 6:58 am

No I don't think so
User avatar
MarcoBoschi
 
Posts: 1018
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: Trouble with windows 7

Postby Bayron » Mon Jun 27, 2011 9:41 am

Hi, Hag.

I assume you don't have the program installed in the Program Files directory, but if you do so, that may give you permission problems...

Have you tried to install the program in a different directory or to rename the .exe file???

For what I see, it may even be the logic in your program!!!!

It becomes very hard to help since you do not give any information as:
How big the program is,
What compiler you are using,
What version of FiveWin,
What error produces and where in your code,
And more importantly: Some Code

Please see this link:
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=19688

Once the problem is identified, you will find more people willing to help with experiences…
Remember, your problem and the solution, does not only helps you, but it helps us all, and the better documented the problem is, the better documented the solution will be…
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: Trouble with windows 7

Postby StefanHaupt » Mon Jun 27, 2011 9:50 am

hag wrote:everything in the same folder. It is a standalone single user program.


What folder is it ?

As Bayron mentioned, in win7 it is not allowed to users to write in any folder under the program files folder. Normally in c:\program files there are only the executables and the data must be in programdata.

But you can create your own folder maybe in the root of c: or d: or any other partition and set the rights (change) to everyone.
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: Trouble with windows 7

Postby hag » Mon Jun 27, 2011 5:50 pm

Thank you all for responding. I live in Los Angeles so there's a large time difference.

Presently using
Borland 55
FWH 8.9
Harbor lib dates 6/10
exe 11900KB
eXE and data files are all installed in the same directory.
The program has been in use for 21 years and consistently updated.
The program is installed directly to the C Drive. However some users may place it in the program folder.

the program uses over 130 PRG's 100+ RC's and opens many databases and closes them throughout the program. it is a very extensive program.To send working code would be virtually impossible. Not only that but the error message that I receive are intermittent sometimes they happen sometimes it doesn't.

It seems to me that using Windows 7 causes the program to fail to create indexes when called for. It seems to not occur if the program is opened as an administrator. For example yesterday I did the same process over and over and over never to crash however using in another machine it crashes except when it's opened as an administrator. All databases open fine it's strictly the index files.

Is it possible that Windows 7 will not allow the creation of indexes unless the user has administrative rights?
If that's the case how does one make sure that the user has administrative rights.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby mgsoft » Mon Jun 27, 2011 7:02 pm

Hi,

It is a question of permissions.

If it is not set to total control, sometimes you will get random dbf errors, particulary when creating indexes.
Saludos,

Eduardo
User avatar
mgsoft
 
Posts: 422
Joined: Mon Aug 17, 2009 12:18 pm
Location: España

Re: Trouble with windows 7

Postby hag » Mon Jun 27, 2011 7:04 pm

Any way to prevent it?
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby hag » Mon Jun 27, 2011 7:05 pm

any way to fix the problem.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: Trouble with windows 7

Postby MarcoBoschi » Mon Jun 27, 2011 7:38 pm

Hag,
I've tried to copy a dbf table into c:\ in my windows 7 but I have ACCESS DENIED.
Can you create a c:\myfolder and copy all files into this folder?
And repeat all tests?
User avatar
MarcoBoschi
 
Posts: 1018
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 27 guests