华域联盟 .Net ASP.NET The system cannot find the file specified解决办法

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”:

 或者使用“localhost\SQLEXPRESS”:

 或者使用IP地址:

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

您可能感兴趣的文章:

  • asp.net gridview 72般绝技
  • JQuery.uploadify 上传文件插件的使用详解 for ASP.NET
  • asp.net生成Excel并导出下载五种实现方法
  • ASP.NET中的几种弹出框提示基本实现方法
  • ASP.NET对路径"xxxxx"的访问被拒绝的解决方法小结
  • asp.net获取当前网址url的各种属性(文件名、参数、域名 等)的代码
  • asp.net cookie的操作,写入、读取与操作
  • asp.net 面试 笔试题目[附答案]
  • 使用jQuery向asp.net Mvc传递复杂json数据-ModelBinder篇
  • asp.net 验证码生成和刷新及验证

本文由 华域联盟 原创撰写:华域联盟 » ASP.NET The system cannot find the file specified解决办法

转载请保留出处和原文链接:https://www.cnhackhy.com/72779.htm

本文来自网络,不代表华域联盟立场,转载请注明出处。

作者: sterben

发表回复

联系我们

联系我们

2551209778

在线咨询: QQ交谈

邮箱: [email protected]

工作时间:周一至周五,9:00-17:30,节假日休息

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部