ASP.NET The system cannot find the file specified解決辦法
ASP.NET The system cannot find the file specified解決辦法
Server Error in '/' Application.
The system cannot find the file specified
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The system cannot find the file specified

Insus.NET開發(fā)時,數(shù)據(jù)庫是使用企業(yè)版,因此連接字符串就是寫成默認的實現(xiàn),而現(xiàn)在部署的數(shù)據(jù)庫是\SQLEXPRESS。所以我們修改一下連接字符串:

直接把127.0.0.1改為:“SVR1\SQLEXPRESS”
其實你還可以使用下面的Server字符串:
改為,使用英文字符點“.\SQLEXPRESS”:
感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!
- asp.net gridview 72般絕技
- JQuery.uploadify 上傳文件插件的使用詳解 for ASP.NET
- asp.net生成Excel并導(dǎo)出下載五種實現(xiàn)方法
- ASP.NET中的幾種彈出框提示基本實現(xiàn)方法
- ASP.NET對路徑"xxxxx"的訪問被拒絕的解決方法小結(jié)
- asp.net獲取當前網(wǎng)址url的各種屬性(文件名、參數(shù)、域名 等)的代碼
- asp.net cookie的操作,寫入、讀取與操作
- asp.net 面試 筆試題目[附答案]
- 使用jQuery向asp.net Mvc傳遞復(fù)雜json數(shù)據(jù)-ModelBinder篇
- asp.net 驗證碼生成和刷新及驗證
相關(guān)文章
.net實現(xiàn)微信公眾賬號接口開發(fā)實例代碼
這篇文章主要介紹了.net實現(xiàn)微信公眾賬號接口開發(fā)實例代碼,有需要的朋友可以參考一下2013-12-12
VS2010/VS2013項目創(chuàng)建 ADO.NET連接mysql/sql server詳細步驟
這篇文章主要介紹了VS2010/VS2013項目創(chuàng)建,及ADO.NET連接mysql/sql server詳細步驟,具有一定的參考價值,感興趣的小伙伴們可以參考一下2016-10-10
asp.net 分頁sql語句(結(jié)合aspnetpager)
一直用的是存儲過程分頁,小項目一般不寫存儲過程,就需要直接寫分頁sql語句。2009-01-01
支持Ajax跨域訪問ASP.NET Web Api 2(Cors)的示例教程
這篇文章主要介紹了支持Ajax跨域訪問ASP.NET Web Api 2(Cors)的示例教程,需要的朋友可以參考下2016-04-04
.NET實現(xiàn)ChatGPT的Stream傳輸?shù)倪^程
這篇文章主要介紹了.NET如何實現(xiàn)ChatGPT的Stream傳輸,本文通過實例代碼給大家介紹的非常詳細,對大家的學習或工作具有一定的參考借鑒價值,需要的朋友可以參考下2023-07-07





