I have tested my bug integration via cvsSubmit.asp -> aspx, working fine in my dev machine. However, I hit the below error when deploy to server. It seem right permission issue to folder as specified. I use NETWORK SERVICE to run this appPool.
I only found this folder under current logged in user profile folder. May I know the "exact" folder it looking for?
Beside, do I need to "pre-load" all repository info to local disk first? I ever hit error in my dev machine, which I need to get latest all files to local disk first before Login can working properly.
Thank you
Code: Select all
Exception information:
Exception type: Exception
Exception message: System.UnauthorizedAccessException: Access to the path 'Sourcegear\Vault_1\Client\32F1DD7A-44D3-4032-8F01-3D03123BDD94\vaulttogemini' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
at VaultClientOperationsLib.CacheMember.SerializeCacheMember(Object o, VaultDateTime& lastSyncTime)
at VaultClientOperationsLib.CacheMember.SaveObjectToDisk(Object o)
at VaultClientOperationsLib.CacheMember_LastStructureGetTime.set_LastStructureGetTime(VaultDateTime value)
at VaultClientOperationsLib.ClientInstance.Refresh(Int64 knownServerRevision, Boolean isRetry, VaultRepositoryDelta& delta, Int64& returnedRevision, ChangeSetItemColl committedItems)
at VaultClientOperationsLib.ClientInstance.Refresh()
at VaultClientOperationsLib.ClientInstance.SetActiveRepositoryID(Int32 id, String username, String uniqueRepositoryID, Boolean doRefresh, Boolean updateKnownChangesAll)
at VaultClientIntegrationLib.ServerOperations.SetRepository(VaultRepositoryInfo repositoryInfo)
at VaultClientIntegrationLib.ServerOperations.SetRepository(String repositoryName)
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
at VaultClientIntegrationLib.ServerOperations.Login()
at Gemini._Default.Page_Load(Object sender, EventArgs e) in D:\InHouse\VaultToGemini\VaultToGemini\cvsSubmit.aspx.cs:line 73