手机
当前位置:查字典教程网 >编程开发 >asp.net教程 >ASP.NET The system cannot find the file specified解决办法
ASP.NET The system cannot find the file specified解决办法
摘要:ASP.NETThesystemcannotfindthefilespecified解决办法ServerErrorin'/'Applicat...

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解决办法1

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

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

直接把127.0.0.1改为:“SVR1SQLEXPRESS”

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

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

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

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

或者使用“localhostSQLEXPRESS”:

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

或者使用IP地址:

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

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

【ASP.NET The system cannot find the file specified解决办法】相关文章:

ASP.NET 2.0下随机读取Access记录的实现方法

ASP.NET设计网络硬盘之文件夹实现

ASP.NET检测到不安全 Request.Form 值解决方案汇总

ASP.NET OutputCache详解

ASP.NET User Control使用技巧一则

ASP.NET中DataTable,DataSet,DataView的用法小结

asp.net开发微信公众平台之获取用户消息并处理

ASP.NET中TreeView用法

在ASP.NET MVC 4 on Mono中使用OracleClient in CentOS 6.x的问题记录

ASP.NET 用户多次登录的解决方法

精品推荐
分类导航