ASP.NET The system cannot find the file specified解决办法
程序员文章站
2022-07-22 12:25:37
asp.net the system cannot find the file specified解决办法
server error in '/' application...
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”:
或者使用“localhost\sqlexpress”:
或者使用ip地址:
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!
上一篇: 详解django三种文件下载方式
推荐阅读
-
ASP.NET The system cannot find the file specified解决办法
-
SublimeText 2编译python出错的解决方法(The system cannot find the file specified)
-
ASP.NET The system cannot find the file specified解决办法
-
SublimeText 2编译python出错的解决方法(The system cannot find the file specified)
-
SublimeText 2编译python出错的解决方法(The system cannot find the file specified)
-
SublimeText 2编译python出错的解决方法(The system cannot find the file
-
SublimeText 2编译python出错的解决方法(The system cannot find the file
-
SublimeText 2编译python出错的解决方法(The system cannot find the file specified)
-
Mercurial:Hg检出的时候:The system cannot find the path specified