我在安装向导“升级数据库”页面上遇到此错误。设置了数据库,添加了连接字符串,添加了适当权限的用户。所有工作和测试都很好。当我进入“升级数据库”屏幕并点击下一步(检查无关紧要,似乎)....
File: mssql/indexes.sql
Error: Invalid object name 'sys.indexes'.
STATEMENT:
IF NOT EXISTS (SELECT 1 FROM sys.indexes WHERE object_id = OBJECT_ID(N'[dbo].[yaf_Message]'Wink AND name = N'IX_yaf_Message_Posted_Desc'Wink
CREATE NONCLUSTERED INDEX [IX_yaf_Message_Posted_Desc] ON [dbo].[yaf_Message]
(
[Posted] DESC
) ON [PRIMARY]
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
我真的被困在这里了。谢谢你的帮助。
答案 0 :(得分:0)
回想起来,密切关注sql语句并进行一些实验可以解决问题。