Not working in Windows Service.

Oct 4 at 7:12 AM
I've used this to create password protected zip file in the windows service. When I deploy the service on the server it gives error "could not find a part of the path C:\Windows\System32\TEmp\" on zip.Save() line. I set below property to overcome this problem.

zip.TempFileFolder = applicationPath + "\Temp";

The path given above is the valid one and service has all permission (read, write) to this path. Still zip.Save() is giving me "could not find a part of the path" error.

Any help would be appreciated.

Thanks in advance.