2012-01-11 37 views
0

我工作的MVC Web應用程序的要求, 我已經部署它IIS 6這是給我的錯誤在IIS上部署錯誤的MVC Web應用程序:無法打開數據庫「ASPNETDB.MDF」由登錄

Cannot open database "aspnetdb.mdf" requested by the login. The login failed. 
Login failed for user 'IIS APPPOOL\ASP.NET v4.0'. 

I also enable authentication : 
anonymous and also for ASP.NET Impersonate 

我的連接字符串是

<connectionStrings> 
    <add name="ApplicationServices" 
     connectionString="data source=.\SQLEXPRESS;Integrated Security=True;initial catalog=aspnetdb.mdf" 
     providerName="System.Data.SqlClient" /> 
    </connectionStrings> 

請幫我

我要上傳這個應用程序在服務器上。

回答

1
+0

喜理查德·我做到了以上所有然後也越來越相同的錯誤:( 我的數據庫是ASPNETDB即我是使用sql成員資格數據庫。 這是在我的App_Data文件夾中 – Neo 2012-01-11 10:22:19

相關問題