2012-08-07 55 views
1

我試圖管理存儲在MDF文件中的本地數據庫。我能夠用Visual Studio 2010做到這一點,但現在我正嘗試使用ISS管理器來達到此目的。我想使用連接字符串添加數據庫,但只是在主頁中看不到此選項。實際上,整個「ASP.NET」類別缺失。下面是截圖:無法使用IIS管理器管理數據庫

IIS Manager

如果我嘗試使用數據庫管理器選項手動添加我的數據庫,我得到一個錯誤:

There was an error while performing this operation. Details:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

所有組件使用Web平臺安裝程序安裝。那麼我如何使用IIS管理器管理我的數據庫?

  • 的Windows 7旗艦版64位
  • 的Microsoft SQL Server 2008 x64的
  • 的Visual Studio 2010專業版SP1
  • IIS管理器中的x64

回答

2

它看起來並不像你實際安裝ASP 。淨。

進入控制面板/程序/ Windows功能並安裝它(在Internet信息服務/ WWW服務/應用程序開發功能)

+0

是的,這個工作。現在仍然有一些關於使用IIS管理器的問題,但我認爲這是另一個問題的一個要點。非常感謝! – Mikhail 2012-08-07 09:15:10

+0

這些問題在serverfault.com可能會更好 – podiluska 2012-08-07 09:17:22