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并導出下載五種實現(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傳遞復雜json數(shù)據(jù)-ModelBinder篇
- asp.net 驗證碼生成和刷新及驗證
相關文章
安裝.NET Framework進度條卡住不動的解決方案(推薦)
VS在安裝之前需要安裝.NET Framework,我安裝的是4.0版本。但是安裝進度條到一半左右時就卡住不動了。前前后后重試多次,還有幾次重新開機,但都沒用,怎么解決呢,下面給大家分享下解決方案2016-12-12
在IIS上部署ASP.NET Core Web API的方法步驟
這篇文章主要介紹了在IIS上部署ASP.NET Core Web API的方法步驟,文中通過示例代碼介紹的非常詳細,對大家的學習或者工作具有一定的參考學習價值,需要的朋友們下面隨著小編來一起學習學習吧2020-08-08





