Upgrade Failure from 5.1.2 to 6.0`

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

Moderator: SourceGear

Post Reply
JKerr
Posts: 2
Joined: Wed Aug 29, 2012 3:55 pm

Upgrade Failure from 5.1.2 to 6.0`

Post by JKerr » Wed Aug 29, 2012 4:01 pm

I am starting with a fresh server, I was successful in creating a new 5.1.1 installation and restored my database from my original server. I then upgraded successully to 5.12 without a problem. I added the license for my 6.0 purchase and then I attempted the upgrade. I got through the screens till I arrived at the database connection, I typed it in and clicked next then an "application error" popup failed the installation and rolled back. Not sure if it is hanging on the database connection or something else. I went in and ran the .NET update to make sure the machine recognized it and I was successfull (which I seen on another post) but kind of stumped about why it is failling. I am using SQL Server Express 2008 R2 on a Hyper V windows 2008 r2 server.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Upgrade Failure from 5.1.2 to 6.0`

Post by Beth » Wed Aug 29, 2012 4:03 pm

Can you post a screenshot of the error?

Also, look in the vault_install.log found in %temp% for an error and post that.
Beth Kieler
SourceGear Technical Support

JKerr
Posts: 2
Joined: Wed Aug 29, 2012 3:55 pm

Re: Upgrade Failure from 5.1.2 to 6.0`

Post by JKerr » Wed Aug 29, 2012 4:29 pm

Here is my log file and screen shot, I am new to Source Vault so if this is an easy fix sorry to bother you...

Log started at 29 Aug 2012 - 18.24.07

Custom action assembly location: C:\inetpub\wwwroot\VaultService\bin\CustomActionExe.exe
Custom Action version: 6.0.0

FileVersionInfo: File: C:\inetpub\wwwroot\VaultService\bin\CustomActionExe.exe
InternalName: CustomActionExe.exe
OriginalFilename: CustomActionExe.exe
FileVersion: 6.0.0.477
FileDescription:
Product:
ProductVersion: 6.0.0.477
Debug: False
Patched: False
PreRelease: False
PrivateBuild: False
SpecialBuild: False
Language: Language Neutral


The commandline args as passed in to us:

/TARGETDIR=C:\inetpub\wwwroot\VaultService\
/TARGETDIR2=C:\inetpub\wwwroot\VaultPro\
/WEBDAV=C:\inetpub\wwwroot\SgDav\
/PARAMS=
/DROPDB=
/UPGRADE={F5D180F3-EBB8-47FC-AE14-1BD85DD046C7}
/ADMINPW=
/SQLSERVER=
/WINAUTH=1
End commandline args.

Found local name of NT AUTHORITY\NETWORK SERVICE for Network Service account.
See if we need to do an upgrade or an install...Upgrading your Vault Standard configuration.
Entered GetAssemblyVersion()
GetAssemblyVersion completed successfully.
Current version installed is 6:
Requesting the IIS Process User...
Found local name of NT AUTHORITY\NETWORK SERVICE for Network Service account.
Entered GetInstallationSettings().
Subkey is open
Database on 'oc1-sgvault-01\sgvault' using Windows Authentication.
Virtual Directories are at IIS://LocalHost/W3SVC/1/Root
Exit GetInstallationSettings() success
Modifying VaultAppPool...
Properties: Id=ApplicationPoolIdentity, .NET=v4.0, Mode=Integrated
Creating VaultShadowFolderAppPool... VaultShadowFolderAppPool created.
Properties: Id=ApplicationPoolIdentity, .NET=v4.0, Mode=Integrated
Creating VaultIndexAppPool... VaultIndexAppPool created.
Properties: Id=ApplicationPoolIdentity, .NET=v4.0, Mode=Integrated
Creating VaultNotifyAppPool... VaultNotifyAppPool created.
Properties: Id=ApplicationPoolIdentity, .NET=v4.0, Mode=Integrated
Creating SgDavAppPool... SgDavAppPool created.
Properties: Id=ApplicationPoolIdentity, .NET=v4.0, Mode=Classic
Creating Applications in IIS for web services...
VaultService application created.
Creating Applications in IIS for VaultShadowFolder web services...
VaultShadowFolder application created.
Creating Applications in IIS for Find in Files Index web services...
VaultIndexService application created.
Creating Applications in IIS for Notification web services...
VaultNotificationService application created.
Creating Applications in IIS for SdDav web services...
SgDav application created.
Creating Virtual Directories...
VaultService Virtual Directory created.
VaultShadowFolder Virtual Directory created.
VaultIndexService Virtual Directory created.
VaultNotificationService Virtual Directory created.
SgDav Virtual Directory created.
Object reference not set to an instance of an object.
Vault Standard Upgrade Setup is exiting due to a failure or cancellation. Error Code = -1001
After pressing [OK] the install will complete and launch a Web browser where you can enter license keys. Please log in with the user name and password that you supplied during this install.
Please press OK to continue.ExitCode on exit: -1001
Attachments
VaultUpgradeError.png
VaultUpgradeError.png (18.37 KiB) Viewed 3410 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Upgrade Failure from 5.1.2 to 6.0`

Post by Beth » Thu Aug 30, 2012 10:20 am

You said you got a SQL connection screen, is that correct? Did you enter your URL for SQL Express as either machinename\sqlexpress or .\sqlexpress (if it's on the same machine)?

The error doesn't look normal for just being a bad instance name though. If trying a different instance name doesn't work, then could you send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread?
Beth Kieler
SourceGear Technical Support

Post Reply