Vault 2.06 and MSDE sp4 ok?
Moderator: SourceGear
Vault 2.06 and MSDE sp4 ok?
Will upgrading present any problems with Vault 2.06?
Mike
Mike
We've been able to confirm a problem within SP4 when a repository is deleted. Note, this is a bug in SQL Server SP4. SQL Server SP3 and SQL Server Security Update to SP3 are not affected by this problem.
Microsoft has been notified of the problem, and they are currently looking at a work around or hot fix for the problem. Once there is some sort of resolution, we will post a follow up to the problem.
Microsoft has been notified of the problem, and they are currently looking at a work around or hot fix for the problem. Once there is some sort of resolution, we will post a follow up to the problem.
Jeff Clausius
SourceGear
SourceGear
For the sake of completeness, here is the error you will find in your server's log file when deleting a repository with SQL Server SP4:
--SSL Disabled Internal Query Processor Error: The query processor could not produce a query plan. Contact your primary support provider for more information.
--SSL Disabled Internal Query Processor Error: The query processor could not produce a query plan. Contact your primary support provider for more information.
Jeff Clausius
SourceGear
SourceGear
Microsoft has provided a work-around. Four foreign keys have to be re-created in a specific order.
Running the following script (as provided), should allow you to delete the repository.
Running the following script (as provided), should allow you to delete the repository.
Code: Select all
USE sgvault
GO
ALTER TABLE [dbo].[tblfsobjectshares] DROP CONSTRAINT
[fk_tblfsobjectshares_objid_tblfsobjects]
GO
ALTER TABLE [dbo].[tblfsobjectshares] ADD CONSTRAINT
[fk_tblfsobjectshares_objid_tblfsobjects] FOREIGN KEY
(
[objid]
) REFERENCES [tblfsobjects] (
[objid]
)
ON DELETE CASCADE
GO
ALTER TABLE [dbo].[tblfsobjectversions] DROP CONSTRAINT
[fk_tblfsobjectversions_tblfsobjects]
GO
ALTER TABLE [dbo].[tblfsobjectversions] ADD CONSTRAINT
[fk_tblfsobjectversions_tblfsobjects] FOREIGN KEY
(
[objid]
) REFERENCES [tblfsobjects] (
[objid]
) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[tbltransactions] DROP CONSTRAINT
[fk_tbltransactions_tblrepositories]
GO
ALTER TABLE [dbo].[tbltransactions] ADD CONSTRAINT
[fk_tbltransactions_tblrepositories] FOREIGN KEY
(
[repid]
) REFERENCES [tblrepositories] (
[repid]
) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[tbldeletions] DROP CONSTRAINT
[fk_tbldeletions_objid_tblfsobjects]
GO
ALTER TABLE [dbo].[tbldeletions] ADD CONSTRAINT
[fk_tbldeletions_objid_tblfsobjects] FOREIGN KEY
(
[objid]
) REFERENCES [tblfsobjects] (
[objid]
) ON DELETE CASCADE
GO
Jeff Clausius
SourceGear
SourceGear