Search found 34 matches

by realtytrac
Tue Jul 12, 2005 2:30 pm
Forum: Gold Support (Vault) -- Read-only
Topic: Login speed so slow on API
Replies: 2
Views: 2194

Login speed so slow on API

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
by realtytrac
Tue Jul 12, 2005 9:57 am
Forum: Support (Vault)
Topic: Check for latest version
Replies: 5
Views: 3132

i guess i will just use the recursive method. i thought the other method would be faster. Thanks for the help
by realtytrac
Tue Jul 12, 2005 9:35 am
Forum: Support (Vault)
Topic: Check for latest version
Replies: 5
Views: 3132

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...
by realtytrac
Mon Jul 11, 2005 4:50 pm
Forum: Support (Vault)
Topic: Check for latest version
Replies: 5
Views: 3132

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...
by realtytrac
Fri Jul 08, 2005 10:28 am
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

my bad. yeah that worked. i switched them around, and they started copying locally. now i just checked it. Great!!! thanks for the help jeremy
by realtytrac
Fri Jul 08, 2005 10:17 am
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

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...
by realtytrac
Fri Jul 08, 2005 10:12 am
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

I changed the localPath to @"c:\temp" and i didn't get the above exception anymore, but that folder does not exists, nor does it create it, nor does it transfer the vault file to it???
by realtytrac
Fri Jul 08, 2005 10:07 am
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

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...
by realtytrac
Fri Jul 08, 2005 9:51 am
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

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...
by realtytrac
Thu Jul 07, 2005 5:41 pm
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

I am getting an "Object reference not set to an instance of an object." error on the .GetManagerFilename vgr = _myClient.GetByDisplayVersionToNonWorkingFolder(vaultFile, MakeWritableType.MakeAllFilesWritable, SetFileTimeType.Current, "C:\\temp", vaultFile.Parent.FullPath, null); string diskFileInVau...
by realtytrac
Thu Jul 07, 2005 1:21 pm
Forum: Gold Support (Vault) -- Read-only
Topic: Unauthorized Access
Replies: 11
Views: 4403

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...
by realtytrac
Tue Jul 05, 2005 1:18 pm
Forum: Support (Vault)
Topic: Checking a file with a comment for the first time
Replies: 3
Views: 1489

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 ...
by realtytrac
Thu Jun 30, 2005 4:00 pm
Forum: Support (Vault)
Topic: Checking a file with a comment for the first time
Replies: 3
Views: 1489

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...
by realtytrac
Tue Jun 28, 2005 4:57 pm
Forum: Support (Vault)
Topic: Grab an old version
Replies: 1
Views: 1715

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...
by realtytrac
Tue Jun 28, 2005 12:38 pm
Forum: Support (Vault)
Topic: Filtering files in a VaultHistoryQueryRequest
Replies: 18
Views: 9455

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...