Ravi Kansangara
2014-08-29 06:00:42 UTC
Hi,
I have developed TSP for 32-bit & 64-bit OS.
I have provided 2 types logging mechanism for TSP logs.
================================
1. Log to Syslog Server
2. Log to text file
================================
Here "Log to Syslog Server" is working fine.
But there is little problem while option is selected as "Log to text file".
Whenever log file is to be saved in windows installation drive (C:), my TSP can't create log file in C: drive. It shows error that access denied to this drive.
-----------------------------------------------------------------------------
NOTES:
1. Above thing is working in Microsoft Windows XP 2K. This problem is in
Windows 7 Onwards.
2. Above thing is working when file is to be created in other than C: drive.
-----------------------------------------------------------------------------
I know that this issue is due to TAPI Service is running under "Network Service" that has not aces to System Drives & Some Registries.
How can i get permissions to specific file/folder in C: drive from my TSP ?
I wish there may be any solution.
Thanks,
Ravi Kansangara
I have developed TSP for 32-bit & 64-bit OS.
I have provided 2 types logging mechanism for TSP logs.
================================
1. Log to Syslog Server
2. Log to text file
================================
Here "Log to Syslog Server" is working fine.
But there is little problem while option is selected as "Log to text file".
Whenever log file is to be saved in windows installation drive (C:), my TSP can't create log file in C: drive. It shows error that access denied to this drive.
-----------------------------------------------------------------------------
NOTES:
1. Above thing is working in Microsoft Windows XP 2K. This problem is in
Windows 7 Onwards.
2. Above thing is working when file is to be created in other than C: drive.
-----------------------------------------------------------------------------
I know that this issue is due to TAPI Service is running under "Network Service" that has not aces to System Drives & Some Registries.
How can i get permissions to specific file/folder in C: drive from my TSP ?
I wish there may be any solution.
Thanks,
Ravi Kansangara