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开发时,数据库是使用企业版,因此连接字符串就是写成默认的实现,而现在部署的数据库是\SQLEXPRESS。所以我们修改一下连接字符串:
直接把127.0.0.1改为:“SVR1\SQLEXPRESS”
其实你还可以使用下面的Server字符串:
改为,使用英文字符点“.\SQLEXPRESS”:
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
相关文章
安装.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
最新评论