我刚刚创建了一个由两个项目组成的新解决方案:
数据库项目具有服务器项目的数据库引用。当我尝试构建解决方案时,我得到三个错误:
Error 291 SQL04105: The model already has an element that has the same name
dbo.sp_scramble
Error 292 SQL04105: The model already has an element that has the same name
dbo.sp_scramble.@Table.
Error 293 SQL04105: The model already has an element that has the same name
dbo.sp_scramble.@Field.
服务器和数据库项目都是使用“导入对象和设置...”选项创建的。
此外,单独的服务器项目构建没有错误。
我正在使用VS 2010附带的项目模板。
我想我的问题是导致这些错误的原因?
更新:我通过重命名存储过程来修复错误,但我不知道导致错误的原因。
答案 0 :(得分:0)
我通过重命名存储过程来修复错误。