Dear all,
I'm trying to figure out why netio server, running as a windows service, is unable to read config information from a windows registry value written in "HKEY_CURRENT_USER\SOFTWARE\SYSBORA\NETIO". I've also tried to read from a text file with no success. When i run the server, not as a windows service, everything is fine.
The config info is simply the password and port to launch the netio server such that users can configure these for themselves.
I would really appreciate some help, please.
Netio as windows service problem
Moderator: Rathinagiri
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Netio as windows service problem
Kind regards,
Gilbert.
Gilbert.
Re: Netio as windows service problem
At the properties of the service, what account are you using ? Try to use an 'Administrator' account.
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Re: Netio as windows service problem
Perfect, thank you very much. It now works.
Kind regards,
Gilbert.
Gilbert.
- karweru
- Posts: 220
- Joined: Fri Aug 01, 2008 1:51 pm
- DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
- Contact:
Re: Netio as windows service problem
Putting the config file in GetSystemFolder() also works.
Kind regards,
Gilbert.
Gilbert.