摘要: public string Query(string queryString) { try { HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Cr... 阅读全文
posted @ 2015-02-09 20:17 sherlock99 阅读(759) 评论(0) 推荐(0) 编辑
摘要: During our recent blog chat, there were a number of topics that were asked about and I am going to expand on some of them. The first one is the memory... 阅读全文
posted @ 2015-01-21 13:13 sherlock99 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 出现503错误,其日志都是记录在%Systemroot%\System32\LogFiles\HTTPERR\httperr*.log中。其中的s-reason项:1、若为AppShutdown,可能是由于CPU占用率太高导致自动关闭应用程序池。2、若为AppOffline,可能是由于应用程序标识出... 阅读全文
posted @ 2015-01-20 13:40 sherlock99 阅读(876) 评论(0) 推荐(0) 编辑
摘要: varisChrome=!!window.chrome&&!!window.chrome.webstore; 阅读全文
posted @ 2015-01-19 18:01 sherlock99 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters]"NtpServer"="timeurl.tencent.com,0x9"[HKE... 阅读全文
posted @ 2015-01-07 22:31 sherlock99 阅读(1377) 评论(0) 推荐(0) 编辑
摘要: 32位的系统中,修改以下注册表键值HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Registration\UserNameHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current... 阅读全文
posted @ 2014-12-27 17:47 sherlock99 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 未能写入输出文件“c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\106f9ae8\cc0e1169\App_global.asax.haz99mum.dll”--“拒绝访问。 ”打开服务器系统... 阅读全文
posted @ 2014-12-15 23:43 sherlock99 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 针对IIS7以上的ASP.NET网站自定义错误页面与异常日志总结汪宇杰2014-1-11 星期六 02:31455 Reads1 Comments自定义错误页面和异常记录是个很古老的话题了,但依旧可以让人爆到现在。在我做了无数次试验并总结经验和原则后,写下本文,已警后人。本文的范围和限制本文仅仅适用... 阅读全文
posted @ 2014-11-19 20:01 sherlock99 阅读(1605) 评论(0) 推荐(0) 编辑
摘要: 32-bit and 64-bit Application Data in the RegistryOn 64-bit Windows, portions of the registry entries are stored separately for 32-bit application and... 阅读全文
posted @ 2014-11-10 16:36 sherlock99 阅读(733) 评论(0) 推荐(0) 编辑
摘要: 在开发web应用时,经常会有消息接收需求。例如后台处理完某个任务,需要告知用户等。一个简单的做法,是使用ajax轮询。这样带来的问题一是低效,二是消息触达不够实时。另一个方法是使用websocket来接收消息,但可惜IE不支持这种方式。下面推荐一种既能实时接收消息,又能兼容各种浏览器的方案,那就是n... 阅读全文
posted @ 2014-10-22 20:35 sherlock99 阅读(260) 评论(1) 推荐(0) 编辑