上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页
  2011年5月9日
摘要: 在开发机器上测试没有问题, 一到服务器上就出现这个问题那个问题, 究其原因, 是因为在开发机上使用administrator这个build-in帐号登录, 基本上不会遇到什么权限类问题, 而服务器上为了安全起见, 有时不使用administrator帐号登录, 而是另建帐号, 授予administrators组的权限, 这样, 问题就来了.1. 服务Services中的AppFabricCachingService安装上以后默认没有启动, 首先要启动一下.2. 运行PowerShell操作cache, 在启动start-cachecluster,停止stop-cachecluster有可能会出 阅读全文
posted @ 2011-05-09 16:43 BobLiu 阅读(3718) 评论(10) 推荐(0) 编辑
  2011年5月3日
摘要: 最佳答案: Yes it is a problem. Much like you can't add a reference to a .NET 2.0 assembly from a .NET 1.0 or 1.1 project. The .NET 4.0 is a new runtime version of the framework (CLR). The .NET 3.5 and 3.0 releases both use the 2.0 runtime version of the framework (CLR).You can always add a reference 阅读全文
posted @ 2011-05-03 17:58 BobLiu 阅读(1396) 评论(0) 推荐(0) 编辑
  2011年4月29日
摘要: 使用 StateServer 保存 Session 解决 Session过期,登陆过期问题。Post by dazix, 2009-10-12, Views:835 使用 StateServer 保存 Session 正常操作情况下Session会无故丢失。因为程序是在不停的被操作,排除Session超时的可能。另外,Session超时时间被设定成60分钟,不会这么快就超时的。 原因:由于Asp.net程序是默认配置,所以Web.Config文件中关于Session的设定如下:<sessionState mode='InProc stateConnectionString= 阅读全文
posted @ 2011-04-29 13:33 BobLiu 阅读(1265) 评论(0) 推荐(0) 编辑
  2011年4月22日
摘要: 错误:System.Net.Mail.SmtpException: Exceeded storage allocation. The server response was: 4.3.1 Message size exceeds fixed maximum message size at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse) at System.Net.Mail.SmtpConnection.OnClose(Object sender, Ev 阅读全文
posted @ 2011-04-22 17:18 BobLiu 阅读(1987) 评论(0) 推荐(0) 编辑
  2010年11月18日
摘要: 两种行版本管理的区别比较汇总如下:READ COMMITTED SNAPSHOT: 使用通过行版本控制的已提交读 1.改动少, 只alter database设置一下read_committed_snapshot on即可 2.读最新, 每句执行时读取已提交的版本, 因此能读取其他事务已经提交的最新数据; 3.能更新其他事务稍后更新的数据。 3.省空间,占用的 tempdb 空间少。 5.支持分布式事务。ALLOW SNAPSHOT ISOLATION: 快照隔离 1.改动多, 除了alter datatable设置allow_snapshot_isolation on, 还有在每个事务开始. 阅读全文
posted @ 2010-11-18 18:25 BobLiu 阅读(668) 评论(1) 推荐(0) 编辑
  2010年11月9日
摘要: 逆向法1.就是听写法, 故意不看或丢掉原文, 直接听录音mp3, 逐词逐句听写, 提高听力最有效的方法就是听写没有参考文本的mp3, 在逐词逐句抠得基础上听写出全部内容, 听, 写, 说, 背, 想五步.2.听写时, 不可连蒙带猜只懂大意, 要逐词逐句抠过来, 达到词词懂, 句句懂的地步.3.要重视那些自己以为会了的简单词的词义.4.听写要有正式的记录本, 记录日期, 及听写完一段mp3所用时间,... 阅读全文
posted @ 2010-11-09 15:43 BobLiu 阅读(268) 评论(0) 推荐(0) 编辑
  2010年11月8日
摘要: 系统提示如下:remote desktop cannot connect to the remote computer because the authentication certificate received from the remote computer is expired or invalid.in some cases, this error might also be cause... 阅读全文
posted @ 2010-11-08 11:00 BobLiu 阅读(1013) 评论(0) 推荐(0) 编辑
  2010年10月20日
摘要: 很有用的.net 快捷键:Ctrl+-在代码浏览历史记录中向前 , Ctrl+Shift+-在代码浏览历史记录中向前 阅读全文
posted @ 2010-10-20 12:04 BobLiu 阅读(333) 评论(0) 推荐(0) 编辑
  2010年10月12日
摘要: smtp发送邮件附件时, 如果文件名过长, 会导致附件乱码, 除了重新编译smtp以外, 限制上传文件名长度就是个简便的方法了. 阅读全文
posted @ 2010-10-12 17:47 BobLiu 阅读(2375) 评论(1) 推荐(0) 编辑
  2010年10月11日
摘要: 1.Cache是公有的, 而session是私有的. Cache是公有的, 给所有用户用的, 和application类似. 而session是私有的. 如果想存私有数据, 不可用cache.2.Cache 是有时间限制的,超过了服务器设定的过期时间,它就会被服务器回收。 超过了服务器设置的过期时间,就会被服务器回收。 当cache被回收后对应的内存块就会被清空,再次通过cache[“... 阅读全文
posted @ 2010-10-11 14:36 BobLiu 阅读(329) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页