2010-08-24 51 views
4

我剛剛創建由兩個項目,一個新的解決方案的名稱相同的元素:該模型已經有

  1. SQL Server 2008服務器項目
  2. SQL Server 2008數據庫項目

數據庫項目具有到服務器項目的數據庫引用。當我嘗試構建解決方案,我得到三個錯誤:

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 
[email protected] 

Error 293 SQL04105: The model already has an element that has the same name 
[email protected] 

服務器和數據庫項目是通過使用「導入對象和設置...」選項創建的。

此外,單獨服務器項目,生成沒有錯誤。

我使用的是與2010年VS

附帶的項目模板,我想我的問題是什麼原因造成這些錯誤?

更新:我通過重命名存儲過程修復了錯誤,但我不知道是什麼導致了錯誤。

回答

0

我通過重命名存儲過程來修復錯誤。

+3

很高興知道,但問題的原因將更加有用。 – TheLegendaryCopyCoder 2015-06-23 10:01:19