[英]after changing asp.net mvc3 connectionstring, asp.net configuration dont work
我對asp.net MVC3有問題。
當我創建一個新項目並啟動asp.net配置時,我的瀏覽器打開,我可以編輯例如用戶。
但是,當我將連接字符串更改為外部服務器或本地sqlexpress服務器時,瀏覽器彈出后會顯示以下消息:
The type "MyApp.MvcApplication" could not be loaded.
我怎么了 我的連接字符串如下所示:
<add name="ApplicationServices"
connectionString="Data Source=my-pc\SQLEXPRESS;Initial Catalog=mydb;Integrated Security=SSPI;"
providerName="System.Data.SqlClient" />
看起來該類型實際上尚未構建,並作為DLL打包到bin文件夾中。 在進行更改之前,您是否嘗試過最初運行項目?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.