I am using the API. this line seems to go so slow:
_myClient.Login(Host, Username, Password);
It takes about 10 seconds to execute this line of code. Is that normal? Is there a way to speed this up?
thanks
haider
Search found 34 matches
- Tue Jul 12, 2005 2:30 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Login speed so slow on API
- Replies: 2
- Views: 3113
- Tue Jul 12, 2005 9:57 am
- Forum: Support (Vault)
- Topic: Check for latest version
- Replies: 5
- Views: 4202
- Tue Jul 12, 2005 9:35 am
- Forum: Support (Vault)
- Topic: Check for latest version
- Replies: 5
- Views: 4202
Well i see how you can check the objID and if they match, then that means i have the latest version in the history item. However, that requires a recursive search which takes time off the clock. I want to use this function: VaultFileProperties v = _myClient.GetFileProperties(fileName.Substring(fileN...
- Mon Jul 11, 2005 4:50 pm
- Forum: Support (Vault)
- Topic: Check for latest version
- Replies: 5
- Views: 4202
Check for latest version
I am doing a search on history items based on a specific search criterion. I want to be able to check if the version of the files found in the search is the latest version of the file or not. I have the following code so far: VaultLib.VaultHistoryItem[] items = new VaultLib.VaultHistoryItem[1]; _myC...
- Fri Jul 08, 2005 10:28 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
- Fri Jul 08, 2005 10:17 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
i made that change (put null in place), but i'm getting this exception instead: VaultClientOperationsLib.GetLatestVersionFailedException: Exception of type VaultClientOperationsLib.GetLatestVersionFailedException was thrown. at VaultClientOperationsLib.ClientInstance.ProcessGetFileRequests(GetFileIn...
- Fri Jul 08, 2005 10:12 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
- Fri Jul 08, 2005 10:07 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
This was the whole stack: System.ArgumentOutOfRangeException: Length cannot be less than zero. Parameter name: length at System.String.Substring(Int32 startIndex, Int32 length) at VaultClientOperationsLib.ClientInstance.ConvertPathToNonWorkingDiskPath(String fullPath, String ancestorFullPath, String...
- Fri Jul 08, 2005 9:51 am
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
Will the GetByDisplayVersionToNonWorkingFolder() function grab the file from Vault? I would like to grab the file from Vault, whether it be an old version or a new version of the file, whether it be stored on my local cache or not. Does GetByDisplayVersionToNonWorkingFolder() do that? I dont see any...
- Thu Jul 07, 2005 5:41 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
- Thu Jul 07, 2005 1:21 pm
- Forum: Gold Support (Vault) -- Read-only
- Topic: Unauthorized Access
- Replies: 11
- Views: 6532
Unauthorized Access
Currently, we are implementing an ASP.NET web application that has windows authentication along with impersonation. When I(the developer where the application is hosted) access this app, i have no problems viewing the vault information. Even if i go onto another machine and access the application wi...
- Tue Jul 05, 2005 1:18 pm
- Forum: Support (Vault)
- Topic: Checking a file with a comment for the first time
- Replies: 3
- Views: 2300
I am using version 3.0.7(2863) In the first case i mentioned, when i add a file for the first time to the project, i want it to add/check in with the comment, but it won't retain that comment. Since that does not work, i try to check it out and recheck it back in with a comment, but because i don't ...
- Thu Jun 30, 2005 4:00 pm
- Forum: Support (Vault)
- Topic: Checking a file with a comment for the first time
- Replies: 3
- Views: 2300
Checking a file with a comment for the first time
When i first checkin/add a file to vault with a comment, the comment is not saved in the history. Also, if i check a file out, and recheck it back in with a comment, it will not retain the comment UNLESS i make changes to the file. We are developing a build process based upon the comments entered wi...
- Tue Jun 28, 2005 4:57 pm
- Forum: Support (Vault)
- Topic: Grab an old version
- Replies: 1
- Views: 2335
Grab an old version
using the API, how can i select an old version of a file, and copy to some other location on my system. this is where i am right now: VaultClientFolder searchFolder = _myClient.Repository.Root.FindFolderRecursive(vaultfileFolder); VaultClientFile vaultFile = new VaultClientFile(); RecursivelySearchF...
- Tue Jun 28, 2005 12:38 pm
- Forum: Support (Vault)
- Topic: Filtering files in a VaultHistoryQueryRequest
- Replies: 18
- Views: 15698
After you instruct the server to run a history query, the results are availble for pickup using GetHistoryQueryItems(). The VaultHistoryItem[] holds the results (and the object's properties). Remember to be kind and call EndHistoryQuery() after the results have been retrieved. Where is the GetHisto...