Monthly Archives: July 2011

用WCF上传大文件IIS404.13错误

在IIS7.5上,如果通过WCF服务上传大文件(> 30MB),IIS服务器将会返回404.13错误,具体的错误信息如下:

HTTP Error 404.13 – Not Found
The request filtering module is configured to deny a request that exceeds the request content length.

解决方法是在web.config里把maxAllowedContentLength给设大些,默认最大智能上传28.6M的文件。 Continue reading

Hpyer-V VHD的性能

几篇关于Hpyer-V VHD性能的文章。

Hyper-V and VHD Performance – Dynamic vs. Fixed
http://blogs.technet.com/b/winserverperformance/archive/2008/09/19/hyper-v-and-vhd-performance-dynamic-vs-fixed.aspx
Hyper-V Virtual Hard Disk (VHD) Performance White Paper
http://blogs.msdn.com/b/taylorb/archive/2010/02/26/hyper-v-virtual-hard-disk-vhd-performance-white-paper.aspx
WS08_R2_VHD_Performance_Whitepaper.docx
http://download.microsoft.com/download/0/7/7/0778C0BB-5281-4390-92CD-EC138A18F2F9/WS08_R2_VHD_Performance_WhitePaper.docx

在Windows Server上安装Zune

Zune默认是不能装载Server版本的操作系统上的,这里有个小技巧可以bypass操作系统的验证,让Zune装在Windows Server 2008或者Windows Server 2008 r2上

  1. 微软官网下载Zune的安装程序 (
  2. 运行ZuneSetupPkg.exe /x解压Zune的安装程序到一个本地目录,比如d:zuneclient
  3. 在2里解压开的目录里,进入x64目录,然后运行zune-x64.msi

新版个税计算器(3500起征点)

十一届全国人大常委会第二十一次会议决定对个人所得税法作如下修改:
第三条第一项修改为:“工资、薪金所得,适用超额累进税率,税率为百分之三至百分之四十五。”
第六条第一款第一项修改为:“工资、薪金所得,以每月收入额减除费用三千五百元后的余额,为应纳税所得额。”

大家可以用这个计算器算算自己能减多少税。

http://www.9mi.me/latest.aspx