Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Stored procedures TFS数据库还原后,所有函数都停止工作_Stored Procedures_Tfs_Sql Server 2008 R2 - Fatal编程技术网

Stored procedures TFS数据库还原后,所有函数都停止工作

Stored procedures TFS数据库还原后,所有函数都停止工作,stored-procedures,tfs,sql-server-2008-r2,Stored Procedures,Tfs,Sql Server 2008 R2,恢复TFS 2010备份集后,TFS的所有功能都停止工作 错误消息是: Procedure prc_security_read_identities Must declare the scalar variable "@rowCount". 手动执行prc\u security\u read\u Identifies过程时也会发生此错误。这是一个加密的存储过程,所以我看不到里面发生了什么 Msg 137, Level 15, State 1, Procedure prc_security_re

恢复TFS 2010备份集后,TFS的所有功能都停止工作

错误消息是:

Procedure prc_security_read_identities
Must declare the scalar variable "@rowCount".
手动执行prc\u security\u read\u Identifies过程时也会发生此错误。这是一个加密的存储过程,所以我看不到里面发生了什么

Msg 137, Level 15, State 1, Procedure prc_security_read_identities, Line 77
Must declare the scalar variable "@rowCount".

任何帮助都将不胜感激

我还不知道发生了什么,但您是否遵循了MSDN上TFS数据库的备份/恢复过程?是否尝试过DBCC FREEPROCCACHE清除所有缓存的执行计划?只是在黑暗中开了一枪。@Duat Le DBCC FREEPROCCACHE不起作用…:(另外,我使用TFS提供的还原向导还原了备份您可以尝试的事情:1.prc_security_read_identifications是检索当前用户的存储过程。命令“tfsconfig identifications”说明了什么?2.确保修补程序级别与数据库还原之前相同。3.作为最后手段,命令:“tfsconfig repair”我和一个TFS开发人员谈过这件事,他询问了数据库和SQL Server实例的排序规则。你能检查一下它们是什么吗?