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”:
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
相关文章
VS2010/VS2013项目创建 ADO.NET连接mysql/sql server详细步骤
这篇文章主要介绍了VS2010/VS2013项目创建,及ADO.NET连接mysql/sql server详细步骤,具有一定的参考价值,感兴趣的小伙伴们可以参考一下2016-10-10
asp.net 分页sql语句(结合aspnetpager)
一直用的是存储过程分页,小项目一般不写存储过程,就需要直接写分页sql语句。2009-01-01
支持Ajax跨域访问ASP.NET Web Api 2(Cors)的示例教程
这篇文章主要介绍了支持Ajax跨域访问ASP.NET Web Api 2(Cors)的示例教程,需要的朋友可以参考下2016-04-04






最新评论