Error on upgrade from 2.0.6 to 3.5, SQL Server 2005
Moderator: SourceGear
Error on upgrade from 2.0.6 to 3.5, SQL Server 2005
Hi,
I'm attempting to upgrade from Vault 2.0.6 to 3.5 with a SQL Server 2005 server (different physical machine to the Vault Server) and am getting the followign output.
This was immediately done after doing a SQL Server backup of the database. No users are logged on to Vault.
OK
Upgrading your Vault configuration.
Checking for IIS Version...Connecting to the SQL Server...OK
Verifying the SQL Server requirements...OK
Requesting Vault Admin user password...OK
Upgrading the existing Vault database...
This may take a long time. Do NOT stop this process!
Checking the installed database version...OK
Upgrading SourceGear Vault database schema...Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Caution: Changing any part of an object name could break scripts and stored procedures.
Caution: Changing any part of an object name could break scripts and stored procedures.
Vault Upgrade Setup is exiting due to a failure or cancellation. Error Code = -1001
Please press OK to continue installing the Client and Admin Tools (if selected).
Can anyone help?
Matthew
I'm attempting to upgrade from Vault 2.0.6 to 3.5 with a SQL Server 2005 server (different physical machine to the Vault Server) and am getting the followign output.
This was immediately done after doing a SQL Server backup of the database. No users are logged on to Vault.
OK
Upgrading your Vault configuration.
Checking for IIS Version...Connecting to the SQL Server...OK
Verifying the SQL Server requirements...OK
Requesting Vault Admin user password...OK
Upgrading the existing Vault database...
This may take a long time. Do NOT stop this process!
Checking the installed database version...OK
Upgrading SourceGear Vault database schema...Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Caution: Changing any part of an object name could break scripts and stored procedures.
Caution: Changing any part of an object name could break scripts and stored procedures.
Vault Upgrade Setup is exiting due to a failure or cancellation. Error Code = -1001
Please press OK to continue installing the Client and Admin Tools (if selected).
Can anyone help?
Matthew
It's not clear from the errors just what the problem is. We suggest starting over:
1) Uninstall Vault Server
2) Restore the backup you made before the upgrade.
3) Re-cycle the SQL Server service
3) Try the upgrade to Vault 3.1.9 first
4) Backup the database
5) Upgrade to Vault 3.5
1) Uninstall Vault Server
2) Restore the backup you made before the upgrade.
3) Re-cycle the SQL Server service
3) Try the upgrade to Vault 3.1.9 first
4) Backup the database
5) Upgrade to Vault 3.5
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Nope - results of the 3.1.9 install are as follows:
OK
Configuring your new Vault Installation
Checking for IIS Version...Requesting Vault Admin user password...OK
Connecting to the SQL Server...OK
Verifying the SQL Server requirements...OK
Checking for an existing Vault database...Found.
Asking for database's fate...Keep existing.
Upgrading the existing Vault database...
This may take a long time. Do NOT stop this process!
Checking the installed database version...OK
Ensuring that sgvaultuser has access to the Vault database... Grant database access to sgvaultuser...OK
Upgrading SourceGear Vault database schema...Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Caution: Changing any part of an object name could break scripts and stored procedures.
Caution: Changing any part of an object name could break scripts and stored procedures.
Vault Setup is exiting due to a failure or cancellation. Error Code = -1280
OK
Configuring your new Vault Installation
Checking for IIS Version...Requesting Vault Admin user password...OK
Connecting to the SQL Server...OK
Verifying the SQL Server requirements...OK
Checking for an existing Vault database...Found.
Asking for database's fate...Keep existing.
Upgrading the existing Vault database...
This may take a long time. Do NOT stop this process!
Checking the installed database version...OK
Ensuring that sgvaultuser has access to the Vault database... Grant database access to sgvaultuser...OK
Upgrading SourceGear Vault database schema...Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Caution: Changing any part of an object name could break scripts and stored procedures.
Caution: Changing any part of an object name could break scripts and stored procedures.
Vault Setup is exiting due to a failure or cancellation. Error Code = -1280
It looks like you are using SQL Server authentication for Vault's connection to the database. Is that correct?
If so, in the SQL Server set-up portion of the installation:
http://www.sourcegear.com/vault/support ... orial.html
for the login name, are you entering the SQL Server sa user and password, or a user with equivalent rights to modify the database? The user would need to have db_owner and public privileges for the sgvault database.
If so, in the SQL Server set-up portion of the installation:
http://www.sourcegear.com/vault/support ... orial.html
for the login name, are you entering the SQL Server sa user and password, or a user with equivalent rights to modify the database? The user would need to have db_owner and public privileges for the sgvault database.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
OK, so this time.
- Had 2.0.6 originally.
- Freshly restored 2.0.6 database.
- Uninstalled 2.0.6 server; kept database.
- Installed 3.0.7. This worked OK.
- Checked the repository - all looked OK.
- Uninstalled 3.0.7 server; kept database.
Tried to install 3.5.0, got this:
OK
Configuring your new Vault Installation
Checking for IIS Version...Requesting Vault Admin user password...OK
Connecting to the SQL Server...OK
Verifying the SQL Server requirements...OK
Checking for an existing Vault database...Found.
Asking for database's fate...Keep existing.
Upgrading the existing Vault database...
This may take a long time. Do NOT stop this process!
Checking the installed database version...OK
Ensuring that sgvaultuser has access to the Vault database... Grant database access to sgvaultuser...OK
Upgrading SourceGear Vault database schema...Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Database 'sgvault' is already open and can only have one user at a time.
Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot drop the function 'dbo.ufngetunpinnedundeletedfolderskeleton_3100', because it does not exist or you do not have permission.
Cannot drop the function 'dbo.ufngetunpinnedfolderskeleton_3100', because it does not exist or you do not have permission.
Caution: Changing any part of an object name could break scripts and stored procedures.
Vault Setup is exiting due to a failure or cancellation. Error Code = -1280
Help!
- Had 2.0.6 originally.
- Freshly restored 2.0.6 database.
- Uninstalled 2.0.6 server; kept database.
- Installed 3.0.7. This worked OK.
- Checked the repository - all looked OK.
- Uninstalled 3.0.7 server; kept database.
Tried to install 3.5.0, got this:
OK
Configuring your new Vault Installation
Checking for IIS Version...Requesting Vault Admin user password...OK
Connecting to the SQL Server...OK
Verifying the SQL Server requirements...OK
Checking for an existing Vault database...Found.
Asking for database's fate...Keep existing.
Upgrading the existing Vault database...
This may take a long time. Do NOT stop this process!
Checking the installed database version...OK
Ensuring that sgvaultuser has access to the Vault database... Grant database access to sgvaultuser...OK
Upgrading SourceGear Vault database schema...Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Database 'sgvault' is already open and can only have one user at a time.
Database 'sgvault' is already open and can only have one user at a time.
Cannot find either column "dbo" or the user-defined function or aggregate "dbo.ufnmd5_3100", or the name is ambiguous.
Cannot drop the function 'dbo.ufngetunpinnedundeletedfolderskeleton_3100', because it does not exist or you do not have permission.
Cannot drop the function 'dbo.ufngetunpinnedfolderskeleton_3100', because it does not exist or you do not have permission.
Caution: Changing any part of an object name could break scripts and stored procedures.
Vault Setup is exiting due to a failure or cancellation. Error Code = -1280
Help!
-
- Posts: 8
- Joined: Sat Oct 14, 2006 11:08 pm
- Location: London, ON, Canada
- Contact:
Yes, this was resolved by having mbrit upgrade in increments, and upgrading the schema with a SQL script we provided. We can try this for you, too.
Email support@sourcegear.com, attn: linda and I'll send you instructions.
Please provide a link to this forum post in your email
Email support@sourcegear.com, attn: linda and I'll send you instructions.
Please provide a link to this forum post in your email
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
-
- Posts: 21
- Joined: Wed Feb 14, 2007 2:50 pm
We sent an email earlier today, asking about this procedure and script, but haven't heard anything back yet. Would it be possible for someone to post the solution here?lbauer wrote:Yes, this was resolved by having mbrit upgrade in increments, and upgrading the schema with a SQL script we provided. We can try this for you, too.
Email support@sourcegear.com, attn: linda and I'll send you instructions.
Please provide a link to this forum post in your email
Sorry for the impatience, and thanks ahead of time,
Jim Ivey
Grand Avenue Software
-
- Posts: 21
- Joined: Wed Feb 14, 2007 2:50 pm
Thanks for the response. As you predicted, the 3.0.7 upgrade seemed to apply successfully. However, when we moved on to the next step, with upgrading to 3.1.9, we experienced the same errors as before.lbauer wrote:I sent you an email with the suggestion to first try upgrading to 3.0.7. If that's successfull, we continue with the next steps that helped the previous poster.
What's the correct next step?
Thanks ahead of time,
Jim Ivey
Grand Avenue Software