摘要:
Configure JDKSet theJAVA_HOMEenvironment variable to the root location of the JDK installation directory. The examples below useC:\jdk1.5for Windows and/opt/jdk1.5for UNIX, but be sure to use the actual location on your system. (e.g. The default installation location used by the JDK installer might 阅读全文
摘要:
今天一大早干活,就发现这个严重问题,很郁闷。详细的Exception:The Database ID 30, Page (1:1141), slot 71 for LOB data type node does not exist. This is usually caused by transactions that can read uncommitted data on a data page. Run DBCC CHECKTABLE. 搜索很多文章后,终于搞定,方法如下:DBCC checkdb('eshoubao')使用上面的命令后,结果如下:DBCC results 阅读全文
摘要:
site:http://www.nginx.com/prod.htmlwiki:http://wiki.nginx.org/NginxChsHttpProxyModuleInstall:http://wiki.nginx.org/InstallArticals:http://www.cyberciti.biz/faq/rhel-linux-install-nginx-as-reverse-proxy-load-balancer/http://www.ubuntugeek.com/using-nginx-as-a-reverse-proxy-to-get-the-most-out-of-your 阅读全文
摘要:
Razor: http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspxSpark: http://sparkviewengine.com/NHaml: http://code.google.com/p/nhaml/ 阅读全文
摘要:
在写完之后,惊奇的发现,跟C#没有啥区别。select DAY(DATEADD(DD,-1, DATEADD(M,1, Convert(nvarchar(4),YEAR(getdate()))+'-'+ CONVERT(nvarchar(2),MONTH(getdate())) + '-1'))) 函数和原理都是类似的。 over :) 阅读全文
摘要:
ALL_HTTP: HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:text/html, application/xhtml+xml, */* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:zh-CN HTTP_HOST:192.168.0.199 HTTP_USER_AGENT:Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) ALL_RAW: Connection: Keep-Alive Accept: 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Diagnostics;namespace RethinkMovement.Domain{ public class DetectMobileDevicesHttpModule : IHttpModule { public void Dispose() { } public void BeginRequest(Object s, EventArgs e) { //Debug 阅读全文
摘要:
这么好一个工具,被我删除了唉,由于过了试用期,也一直没来得及试用,结果出问题,频繁引起我的iis出问题。接着就删除,结果还不让删除,发现必须要先停止掉iisadmin 和www 2个services后,才好删除。偶也,搞定。哪位仁兄手里有可用的4.1.4版的,请推荐。谢谢。 阅读全文
摘要:
VB.net:Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object Dim key As String = Request.RawUrl + "__viewstate" If Session(key) IsNot Nothing Then Dim stream As MemoryStream = DirectCast(Session(key), MemoryStream) stream.Seek... 阅读全文
摘要:
默认添加一个新的System Role 后,然后把这个role赋值给另外一个用户。该用户登录的时候,会得到一个错误:0×80040220 SecLib::CrmCheckPrivilege failed. Returned hr = -2147220960 on UserId: dd80d8b7-6700-dd11-9838-001185e68627 and PrivilegeId: 0b609bc5-afb0-4576-8db0-7ad715375833 Platform原来,我们需要把(Business Management下)User Settings的Write Permis 阅读全文