Access denied to Application Data directory
Moderator: SourceGear
Access denied to Application Data directory
I am building a web services which return directory structure in Vault. I successfully built it in my laptop, but when I installed it in my desktop, I keep getting the following errors when SetActiveRepositoryID is called:
Access to the path SourceGear\Vault_1\Client\508FC785-BDDC-4176-BE34-1E66F7500E5A\Admin" is denied.
I came to know that this might be related to TreeCache object which uses the local drive for Vault directory structure cache. I give "Everyone" full control in "Document and Settings" directory, but the problem did not go away.
The laptop and desktop have the nearly the same settings: Windows 2003 Enterprise, SQL Server 2000, Vault 1.2.2 Server. I could not simply figure out why it works in one and failes in another PC. Does anybody have any idea? I would appreciate any comments.
Access to the path SourceGear\Vault_1\Client\508FC785-BDDC-4176-BE34-1E66F7500E5A\Admin" is denied.
I came to know that this might be related to TreeCache object which uses the local drive for Vault directory structure cache. I give "Everyone" full control in "Document and Settings" directory, but the problem did not go away.
The laptop and desktop have the nearly the same settings: Windows 2003 Enterprise, SQL Server 2000, Vault 1.2.2 Server. I could not simply figure out why it works in one and failes in another PC. Does anybody have any idea? I would appreciate any comments.
Thanks for the reply!!!
The odd thing is that this problem does not occur in regular exe file. Only in my web services, TreeCache.LocalStoreFilePath returns a path starting with SourceGear\Vault_1\... Regular exe file returns a full path like C:\Document and Settings\...\SourceGear\Vault_1\... I suspect that the problem occurs due to this partial file path.
Since my web services runs in the same PC where Vault server resides, I really do not need caching. Is there a way to turn caching off?
Thanks again.
The odd thing is that this problem does not occur in regular exe file. Only in my web services, TreeCache.LocalStoreFilePath returns a path starting with SourceGear\Vault_1\... Regular exe file returns a full path like C:\Document and Settings\...\SourceGear\Vault_1\... I suspect that the problem occurs due to this partial file path.
Since my web services runs in the same PC where Vault server resides, I really do not need caching. Is there a way to turn caching off?
Thanks again.