Hello,
I am trying to use the ServerOperations.Login() method but get the following stacktrace. Can you tell me what status code 1025 is?
Client Version: 2.0.2.18753 -- yes it is very old
Thanks for your help.
Unhandled Exception: System.Exception: The server returned an unknown status code (1025). ---> System.Web.Services.Protocols.SoapException: 1025 : FailVaultClientCantConnectToFortress
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VaultClientNetLib.ClientService.VaultService.ValidateServiceVersions(Int32[] clientSupportedVersions)
at VaultClientNetLib.VaultConnection.Login(String strURLBase, String strUserLogin, String strPassword)
at VaultClientOperationsLib.ClientInstance.Login(String urlbase, String username, String password)
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
--- End of inner exception stack trace ---
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boolean bAllowAuto, Boolean bSaveSession)
at VaultClientIntegrationLib.ServerOperations.Login()
SoapException status code 1025
Re: SoapException status code 1025
It looks like you're trying to use a Vault Client API to connect to Fortress (VaultPro).FailVaultClientCantConnectToFortress
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 2
- Joined: Mon Mar 05, 2012 12:20 pm
Re: SoapException status code 1025
Thank you. You are absolutely correct. Would you be able to point me in the right direction for determining how I can connect to Fortress programmatically? I don't need explicit examples; just maybe the dll and classes at which I should look.
Best,
-- Rodney
Best,
-- Rodney
Re: SoapException status code 1025
We have API examples here:
http://support.sourcegear.com/viewtopic.php?f=31&t=8020
Also, the Development Tips forum may be helpful:
http://support.sourcegear.com/viewforum.php?f=39
If you're using Fortress 2.x, then you can use this Client API:
http://download-us.sourcegear.com/Fortr ... _18753.zip
This download contains the code for the Command Line Client, which you can use for reference.
http://support.sourcegear.com/viewtopic.php?f=31&t=8020
Also, the Development Tips forum may be helpful:
http://support.sourcegear.com/viewforum.php?f=39
If you're using Fortress 2.x, then you can use this Client API:
http://download-us.sourcegear.com/Fortr ... _18753.zip
This download contains the code for the Command Line Client, which you can use for reference.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager