... I need to add user control to my database.
I'm trying to add user via console.exe but, I'm getting message: User not added
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/lKCaAbJ9HPQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I can't get it to work either, the file "leto_users" doesn't seem to be created.
Also I can't get the zombie check part of letto_connect to work and close down after a broken connection.
So if a file is opened exclusively when the connection is broken the server keeps exclusive control of it and no one else can access it.
If a password is test ,1test won't work but test1 will work.
In the letodb.ini file line 18 is ;Pass_File = "leto_users"
...
but it really needs to be Pass_File = leto_users ( without the " " )I misinterpreted the instructions.
In my version of windows 7 leto_users is created in the same sub-directory as letodb.exebut in windows 10 it was created in Windows\SysWOW64\ resetting sharing rights seemed to fix that
I'm still having trouble with paths, I can only start an application with user access controlfrom the sub directory where letodb.exe and leto_users are.
...
leto_Connect( cAddress, cUser, cPasswd, 21000, , .T. )
Before starting to fix a possible existing problem 'at the wrong end',aka using 'zombie detect', please describe the problem a bit more precisely,when and in which environment a 'broken' connection is not detected.( as that will close all opened files .. )
...
Function RecNo returns 3 but RecCount returns 0 - what's going on???
Hi MarekI have the same problemsometimes recno() returns 0 or wrong number , reccount() returns 0.To prevent this situation I check reccount() and try close files and applicationif reccount()=0dbCloseall() -- break - write error error.log or (and) ErrorLog.htmquitendifAfter dbcloseall() application breaks usually .After rerun application everythink is OK.I'm not sure, I suspect thet its occurs after lost connection.I can't generate the problem in my test environment.
best regardsAndrew
I have the same problemsometimes recno() returns 0 or wrong number , reccount() returns 0.
To prevent this situation I check reccount() and try close files and applicationif reccount()=0dbCloseall() -- break - write error error.log or (and) ErrorLog.htm
letodb.ini:Default_Driver = CDXshare_Tables = 1No_Save_WA = 0
best regardsAndrew
... replace; ....
upr->(DBRUnlock())
This is problematic code below:
if personel->(reccount()) == 0
if personel->(AddRec(0))
...
else
endif
Again, Andrewletodb.ini:Default_Driver = CDXshare_Tables = 1No_Save_WA = 0Could you plese test:No_Save_WA = 1when problem afterwards still not exist -- that wold be an important hint ...
I hope, I was compiled everythig OK.
I'm using Harbour Minigui, not hbmk2 directly.
--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to a topic in the Google Groups "Harbour Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/harbour-users/lKCaAbJ9HPQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to harbour-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
? "Restart access point or letodb server"? "After establish connection press any key"
--
HMG Official uses MinGW as C Compiler.Maybe version of this one is too old?
--
Hi Elch! Did you found solution of this problem?
When I want to install it as service, I get an error:
...
Unrecoverable error 6005: Exception error:
...
Do you have any idea what I'm doing wrong?
commonly *i* do something wrong ... ;-)