【摘要】在家工作,程序在家里的电脑运行时,出现一个异常,还是第一见到: Server Error in '/' Application. The system cannot find the file specified Description: An unhandled exception occurre阅读全文
...继续阅读
(30)
【摘要】在调试SignalR程序时,不知怎样的情况,出现异常: HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily un阅读全文
...继续阅读
(47)
【摘要】当Insus.NET尝试解决此问题《When using SqlDependency without providing an options value, SqlDependency.Start() must be called prior to execution of a command ad阅读全文
...继续阅读
(54)
【摘要】在调试SignalR程序时,提示一个异常:When using SqlDependency without providing an options value, SqlDependency.Start() must be called prior to execution of a command阅读全文
...继续阅读
(59)
【摘要】昨晚至今早,在新的项目中,实现一个小功能,就是当有访问者浏览网页在留言簿留言时,系统把留言内容发送至某一个邮箱或是抄送指定的邮箱中。 使用以前能正常发送邮件的代码,但在新项目中,测试时,就是出现标题的错误:Mailbox unavailable. The server response was: 5阅读全文
...继续阅读
(47)
【摘要】今天在ASP.NET MVC项目中,实现一个小功能,就是记录浏览者客户端的一些信息。比如浏览者的IP,访问了哪些页面,以及浏览器相关的信息。在数据库中创建一张表[VisitData]: SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI阅读全文
...继续阅读
(44)
【摘要】Linq的delegate表达式,Insus.NET觉得它封装得好,让开发时简化了很多代码,而且容易阅读与检索。 比如,我们需要计算优惠给客户金额,打85%折,可以这样写: using System; using System.Collections.Generic; using System.Li阅读全文
...继续阅读
(95)
【摘要】今天学习,如标题。创建一个类,字段属性构造函数:Source code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Task阅读全文
...继续阅读
(39)
【摘要】数据源是一个DataTable,现在我们需要获取这个DataTable的第一行第一列的值。先准备一个数据集,创建一个DataTable,并填充数据: source code: using System; using System.Collections.Generic; using System.D阅读全文
...继续阅读
(69)
【摘要】当你的数据库为SQLEXPRESS时,在程序的数据库连接字符串的服务Server使用127.0.0.1\SQLEXPRESS时,如下:它会显示一异常: Server Error in '/' Application. A network-related or instance-specific er阅读全文
...继续阅读
(62)
【摘要】调试网站时,异常出现:Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. Server Error in '/' Application. Configuration Erro阅读全文
...继续阅读
(62)
【摘要】Server Error in '/' Application. The system cannot find the file specified Description: An unhandled exception occurred during the execution of the cu阅读全文
...继续阅读
(39)