填充无效,无法被移除(Padding is invalid and cannot be removed)

在对使用Rijndael加密后的密文进行解密的时候,出现不能解密,并且抛出异常CryptographicException(“填充无效,无法移除”)。是执行CryptoStream.Read(…)语句之后出现的异常。

在检查对称加密算法代码不存在问题后,使用对称算法对密文的明文重新加密后发现二者并不一致,最后发现原来是原密码加密时使用的公钥与当前加密算法的公钥不一致。

More >

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

标记从SaBlog转换至WordPress的分界点。

完成了将SaBlog中的分类、文章、评论、附件无损导入WordPress,转换程序随后提供。

开放的中国,开放的中国式互联网

中国的互联网是开放的!

开放的中国式互联网。

远方的Google请你留下来。

外交部回应Google退出中国:中国互联网是开放的

分享15个Google Wave邀请【已结束】

Google Wave预览版并不完全对所有公众开放。只有那些收到邀请邮件的人可以试用这个系统,所以对Wave感兴趣的新用户并不能直接到Google Wave主页去注册一个新帐号。

要注意的是,提名并不意味着你马上就会被邀 请,从提名到被邀请可能会等上几天到几个礼拜。

分享本人Google Wave帐号中的15个邀请,需要的留言并提供Gmail邮箱(留言需要审核,请不要重复留言)。

目前还有0个提名权

wave&yeexi.com 和 zerlier&163.com 未提供Gmail邮箱,所以未提名,不好意思了。

关于如何使用Google Wave,请阅读“Google Wave入门指南

The Complete Guide to Google Wave

 以下用户已经提名,还剩最后三个:

  • evercj830706&gmail.com
  • gogorun1982&gmail.com
  • crsky.hala&gmail.com
  • ruoshengh&gmail.com
  • dledh8028&gmail.com
  • 123hellooqq&gmail.com
  • ghxy98&gmai.com
  • rochuang35&gmail.com
  • sunrocs&gmail.com
  • lixnju&gmail.com
  • spoppig5&gmail.com
  • z82878297&gmail.com
  • awakenrz&gmail.com
  • wzweibo&gmail.com
  • glietwx&gmail.com
  • tianshanqin1&gmail.com
  • johnny5217416&gmail.com

试图运行项目时出错:无法在web服务器上启动项目的解决办法

在Visual Studio中启动Web项目的调试时,出现如下的错误(错误提示见附件): 
    自动附加到计算机“Firehack”上的进程“[5676] w3wp.exe”失败。错误代码为 0×8013134b
    Auto-attach to process ‘[2440] w3wp.exe’ on machine ‘Firehack’ failed. Error code 0×8013134b. 

其中关键的一点是出现了一个错误代码 0×8013134b。

出现这个错误的原因很简单:因为安装ASP.NET 2.0(或者针对.NET 2.0的补丁) 后,.NET 2.0 自动将IIS中所有的站点属性中的“ASP.NET版本” 设置为 2.0.50727,虽然站点仍旧能够正常访问,但是Visual Studio 2003就无法启动调试了的。

因此解决方法也就出现:

  1. 打开“Internet 信息服务(IIS)管理器),开始-运行-inetmgr;
  2. 在出现问题的站点上右键-属性;
  3. 选中“ASP.Net”标签;
  4. 修改“ASP.NET版本” 为 1.*.*;
  5. 应用后,重新启动调试。

————–英文信息—————

Attached the process w3wp.exe on my machine.  Then I got the following error:

Auto-attach to process ‘[2440] w3wp.exe’ on machine ‘…’ failed. Error code 0×8013134b.

The problem was that I had installed .NET 2.0 which had registered ASP.NET 2.0 on the Web Site I was trying to debug.

Fixing it is simple:

  • Run the IIS Manager
  • Right click on the web site with the problem
  • Click the ASP.NET tab
  • Change the ASP.NET version from 2.something to 1.something in the combo and debugging works again

Upon changing to 1.something, the debugging worked.

图片附件:
0x8013134b.png

终于获得Google Wave的邀请

经过不懈的努力申请,终于获得Google Wave的邀请。 

Google Wave中的许多功能正在测试中。

在Chrome中运行Google Wave的体验相当棒,虽然有经常有CPU占用率100%的情况,但是速度是相当快的。

邀请中附带有20个Invitations 

 

Thank you for signing up to give us early feedback on Google Wave. We’re happy to give you access to Google Wave and are enlisting your help to improve the product.

To accept your invitation, sign into Google Wave at the following link*:

https://wave.google.com/wave/invite?a=pre&wtok=***&wsig=***

(If you do not have a Google account, you will be prompted to create one)

Once you’ve signed in:

Check out the videos and example waves
Invite others to join you 

Happy waving!

The Google Wave Team
For help, please visit http://www.google.com/support/wave