Hi,
After upgrading to vault 8 from vault5, our build scripts (that get files from vault) stopped working.
We use CCnet with MSbuild, and specifacally the MSBuild.Community.Tasks.Targets -> VaultGetFile task.
We get a VersionNotSupported exception.
Is this a know issue?
Thanks,
Alain
Get VersionNotSupported Exception with MSbuild - new Vault 8
-
- Posts: 3
- Joined: Fri Mar 27, 2015 11:30 am
Re: Get VersionNotSupported Exception with MSbuild - new Vau
The client used with your build needs to be upgraded as well.
If you are sure you put the latest client in place, then which versions of CC.NET and MSbuild are you using?
Can you either post where the error happens or send a log file?
If you are sure you put the latest client in place, then which versions of CC.NET and MSbuild are you using?
Can you either post where the error happens or send a log file?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 3
- Joined: Fri Mar 27, 2015 11:30 am
Re: Get VersionNotSupported Exception with MSbuild - new Vau
Hi Beth,
Yes, we have have upgraded our vault clienst to version 8; here is the info you requested:
MSBuild version: 4.0.0.0
CCtray version: 1.4.4.83
Exception:
<error code="MSB4018" file="D:\BUILD\Compiler\include\MsBuild.Compilation.Tasks\Msbuild.Compilation.Properties.targets" line="539" column="5"><![CDATA[The "vaultgetfile" task failed unexpectedly.
System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
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 MSBuild.Community.Tasks.SourceGearVault.VaultBase.Login()
at MSBuild.Community.Tasks.SourceGearVault.vaultgetfile.InternalExecute()
at MSBuild.Community.Tasks.SourceGearVault.vaultgetfile.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)]]></error>
dll that is causing the error: MSBuild.Community.Tasks.SourceGearVault.dll
Thanks,
Alain
Yes, we have have upgraded our vault clienst to version 8; here is the info you requested:
MSBuild version: 4.0.0.0
CCtray version: 1.4.4.83
Exception:
<error code="MSB4018" file="D:\BUILD\Compiler\include\MsBuild.Compilation.Tasks\Msbuild.Compilation.Properties.targets" line="539" column="5"><![CDATA[The "vaultgetfile" task failed unexpectedly.
System.Web.Services.Protocols.SoapException: 1021 : FailServiceVersionNotSupported
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 MSBuild.Community.Tasks.SourceGearVault.VaultBase.Login()
at MSBuild.Community.Tasks.SourceGearVault.vaultgetfile.InternalExecute()
at MSBuild.Community.Tasks.SourceGearVault.vaultgetfile.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult)]]></error>
dll that is causing the error: MSBuild.Community.Tasks.SourceGearVault.dll
Thanks,
Alain
Re: Get VersionNotSupported Exception with MSbuild - new Vau
Do you have all the DLLs in the right place? Have you checked your DLL versions to make sure they aren't what you had before?
Did you download updated CCnet Dlls from our website?
Just in case it helps, here are a few references to other posts with the same issue.
Did you download updated CCnet Dlls from our website?
Just in case it helps, here are a few references to other posts with the same issue.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Get VersionNotSupported Exception with MSbuild - new Vau
In addition, the DLL referenced in the error isn't one of our DLLs. The creator of that DLL will have to compile it against the latest version of our software.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 3
- Joined: Fri Mar 27, 2015 11:30 am
Re: Get VersionNotSupported Exception with MSbuild - new Vau
Hi,
This issue is resolved; we found the source code of the dll: MSBuild.Community.Tasks.SourceGearVault.dll and we modified and recompiled it.
Thanks,
Alain
This issue is resolved; we found the source code of the dll: MSBuild.Community.Tasks.SourceGearVault.dll and we modified and recompiled it.
Thanks,
Alain
Re: Get VersionNotSupported Exception with MSbuild - new Vau
Thank you for the update. I'm happy to hear you are working again.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support