Error checking in Installshield 11.5 files

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
markmoz
Posts: 3
Joined: Mon Jul 16, 2007 11:29 am

Error checking in Installshield 11.5 files

Post by markmoz » Mon Jul 16, 2007 11:38 am

I'm having trouble checking in InstallShield 11.5 files.

I don't use the InstallShield source control integration at all - just the Vault Client. I get the following:
[7/16/2007 1:23:23 PM] An exception was encountered during the transaction. Exception: Server was unable to process request. ---> Error in the application. 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.BeginTx(Int32 nRepID, String strComment, VaultRequestItem[]& requests, String& strTxID)
at VaultClientNetLib.VaultConnection.BeginTx(Int32 nRepID, VaultRequestItem[]& requests, String& strTxID, String comment)
at VaultClientOperationsLib.ClientInstance.Commit(ChangeSetItemColl givenItems, String strChangeSetComment, Boolean keepCheckedOut, Boolean removeLocalCopy, CommitType committype, VaultDateTime dateImport, Int32 nUserIDImport, Int64& nRevID, Int32[]& retBegEndTx)
I tried with the command line client, too, and I got this:
Unhandled Exception: System.InvalidOperationException: Token StartElement in sta
te Error would result in an invalid XML document.
at System.Xml.XmlTextWriter.AutoComplete(Token token)
at System.Xml.XmlTextWriter.WriteStartElement(String prefix, String localName
, String ns)
at System.Xml.XmlWriter.WriteStartElement(String localName)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
I've tried this on two PCs with the same result. I am able to work with other files - it's just our Installer projects that are causing the problem.

It's been a couple of weeks since I last needed to make a change to one of these files, but we haven't done any vault upgrades or anything in the meantime.

Any ideas?

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Mon Jul 16, 2007 1:56 pm

What version of Vault are you using?

Is there anything in Vault Server Log
that corresponds to the client-side error?
Linda Bauer
SourceGear
Technical Support Manager

markmoz
Posts: 3
Joined: Mon Jul 16, 2007 11:29 am

Post by markmoz » Mon Jul 16, 2007 2:24 pm

We're at version 4.0.1.15780

The server log has this:
----7/16/2007 12:55:11 PM MMozynski--172.18.1.83(172.18.1.83)--SSL Disabled BeginTx: Critical Error! Error in the application.
at VaultServiceBase.VaultFolder.DeleteFolderEntryByName(HybridDictionary htParentObjects, String strSearchName, Int32 nObjType, Int32 nFSOHashCode)
at VaultServiceBase.VaultRepository.CreateFolderReferenceCopy(Int64 nRevID, HybridDictionary hdNewRefParents, VaultFolders vfOwners, VaultFolder vfOld)
at VaultServiceBase.VaultRepository.GetReferenceCopiesByPath(Int64 nRevID, HybridDictionary hdNewRefParents, String strAbsolutePath, Boolean bRefCopyLastObjectWithAllFolders, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransactionContainer.GetReferenceCopiesByPath(String strAbsolutePath, VaultFSObjects& fsoList, Int32& nPinCount)
at VaultServiceAPILib.VaultTransaction.PreCheckCheckIn(Int32 nCurrStatCode, VaultRequestCheckIn vrci, String strFileToken, VaultResponseCheckIn vRespCheckIn, VaultTransactionContainer txContainer)
at VaultServiceAPILib.VaultServiceAPI.BeginTx(Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID, VaultIntTx& vit)
at VaultService.VaultService.DoBeginTx(String strCallerLogEvt, Int32 nTxUserID, Int32 nRepID, VaultDateTime dtBeginTx, String strComment, VaultRequestItem[]& requests, String& strTxID)
----7/16/2007 12:55:11 PM MMozynski--172.18.1.83(172.18.1.83)--SSL Disabled (776edbf2-783d-4ff0-8dc0-71fd311af94d) BeginTx returned: FailInvalidToken
----7/16/2007 12:55:11 PM MMozynski--172.18.1.83(172.18.1.83)--SSL Disabled (776edbf2-783d-4ff0-8dc0-71fd311af94d) CheckIn: $/Code/Trunk/BuildMaster/Installer/KeyCreatorViewerMSI/KeycreatorViewer.ism returned: nil
----7/16/2007 12:55:11 PM MMozynski--172.18.1.83(172.18.1.83)--SSL Disabled (776edbf2-783d-4ff0-8dc0-71fd311af94d) CheckIn: $/Code/Trunk/BuildMaster/Installer/KeyCreatorMSI/keyCreatorTV.ism returned: nil
----7/16/2007 12:55:11 PM MMozynski--172.18.1.83(172.18.1.83)--SSL Disabled (776edbf2-783d-4ff0-8dc0-71fd311af94d) CheckIn: $/Code/Trunk/BuildMaster/Installer/KeyCreatorDebugMSI/keyCreatorD.ism returned: nil

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Jul 17, 2007 9:34 am

The first thing I would suggest is restarting IIS. That will clear the server cache.

If you still see the problem, try backing up your files, set a new working directory for the InstallShield project/files, then Get Latest (or checkout, if they're not already checked out), and replace those files with your backed up, modified files.

Can you check those in now?
Linda Bauer
SourceGear
Technical Support Manager

markmoz
Posts: 3
Joined: Mon Jul 16, 2007 11:29 am

Post by markmoz » Tue Jul 17, 2007 2:18 pm

That seems to have sorted it out.

Thanks a bunch!

Post Reply