Server Error in '/' Application. The system cannot find the file specified Description: An unhandled exception occurred during the execution of the cu ...
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開發時,資料庫是使用企業版,因此連接字元串就是寫成預設的實現,而現在部署的資料庫是\SQLEXPRESS。所以我們修改一下連接字元串:
直接把127.0.0.1改為:“SVR1\SQLEXPRESS”
其實你還可以使用下麵的Server字元串:
改為,使用英文字元點“.\SQLEXPRESS”: