网络编程 
首页 > 网络编程 > 浏览文章

ASP.NET The system cannot find the file specified解决办法

(编辑:jimmy 日期: 2026/4/30 浏览:3 次 )

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


ASP.NET The system cannot find the file specified解决办法

 Insus.NET开发时,数据库是使用企业版,因此连接字符串就是写成默认的实现,而现在部署的数据库是\SQLEXPRESS。所以我们修改一下连接字符串:

ASP.NET The system cannot find the file specified解决办法

直接把127.0.0.1改为:“SVR1\SQLEXPRESS

 ASP.NET The system cannot find the file specified解决办法

 其实你还可以使用下面的Server字符串:

改为,使用英文字符点“.\SQLEXPRESS”:

ASP.NET The system cannot find the file specified解决办法

 或者使用“localhost\SQLEXPRESS”:
ASP.NET The system cannot find the file specified解决办法

 或者使用IP地址:
ASP.NET The system cannot find the file specified解决办法

 感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!

上一篇:MS SQL 实现验证字符串是否包含有大小写字母的功能
下一篇:ASP.NET  MVC传送参数至服务端详解及实例
一句话新闻
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 网站地图 SiteMap