发布于 2018-03-12 06:28:09 | 162 次阅读 | 评论: 0 | 来源: 网友投递
ASP.NET
ASP.NET 是.NET FrameWork的一部分,是一项微软公司的技术,是一种使嵌入网页中的脚本可由因特网服务器执行的服务器端脚本技术,它可以在通过HTTP请求文档时再在Web服务器上动态创建它们。 指 Active Server Pages(动态服务器页面) ,运行于 IIS(Internet Information Server 服务,是Windows开发的Web服务器)之中的程序 。
ASP.NET The system cannot find the file specified解决办法
Server Error in '/' Application.
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地址:
感谢阅读,希望能帮助到大家,谢谢大家对本站的支持!