欢迎来到代码驿站!

.NET代码

当前位置:首页 > 软件编程 > .NET代码

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

时间:2021-05-13 08:12:13|栏目:.NET代码|点击:

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地址:

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

上一篇:C# winfrom实现读取修改xml

栏    目:.NET代码

下一篇:详解mvc使用JsonResult返回Json数据

本文标题:ASP.NET The system cannot find the file specified解决办法

本文地址:http://www.codeinn.net/misctech/120338.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有