Code Generation Error “There was a problem getting an AppDomain to run the transformation from the host.”

After installing CodeSmith 5.2.1, I found there’s an issue that Visual Studio 2010 cannot generate code by “Code Generation Item”, especially while generating Entity Framework entities. The error was “There was a problem getting an AppDomain to run the transformation from the host.” After uninstall the CodeSmith, everything is OK. Then I reinstall the CodeSmith… Read More »

Pass through the GFW with Secure Shell (SSH)

Software Bitvise Tunnelier Download Proxy Switchy! (Chrome Plugin) Download FoxyProxy (Firefox Plugin) Download I uploaded all the tools in a package, you may download here: Click to download Installation Install Tunnelier, Proxy Switchy! or FoxyProxy(depending which browser you’re using). SSH Account For SSH account, here you can get a free one: http://www.cjb.net/shell.html Or you can… Read More »

Delete Event Log Manually

For some reason, if you want to delete the event log, you cannot find it in event log viewer(eventvwr). But you can delete it manually, here are the steps: 1. Open Registry Editor (run –> regedit) 2. Navigate to “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog” 3. Delete the entries with the name of your event log. 4. Go to “C:\WINDOWS\system32\config\”… Read More »

Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone.

After I upgrading Internet Explorer, I got the following message that I cannot debug in visual studio: Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in the Internet zone. This is quite strange. Then I start granting permissions, iisreset… but… Read More »

ASTreeView – Use Custom Context Menu

ASTreeView supports context menu(right click the node). The default context menu items are Add, Edit, Delete. If you want to add your own context menu item, you can read on and follow the instructions. The result will look like: And it will execute some javascript for the current node. Implementation steps: 1.  Add tree-wide context… Read More »

在Chrome中使用Switchy

Switchy真是好插件,特别是处理flickr这种部分被封的网站时候,效率很高,因为它可以设置规则,在一个页面内对于部分资源用代理访问。 先前一直不能使用的问题找到了,原来要在Network那个tab里把Proxy for VPN/Dial-up勾选上 在此记录下我的基本配置: Proxy Profiles: Switch Rules: 其中 Rule List URL: http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt Network: General: 可能Chrome extension网站也blocked了,所以附上Switchy下载: http://www.jinweijie.com/download/switchy_1_6_3.crx

Android被墙

昨天(6/13)开始好像Gmail无法同步,Market无法下载。同事也报告GTalk无法登陆。 怀疑可能是Android被墙,如果确定的话,那将是个大大的杯具!!! 暂时解决办法,加一行到Hosts文件(system/etc/hosts),前提你的手机已经Rooted: 74.125.93.113 android.clients.google.com 至于74.125.93.113是否安全?查了下whois ip: OrgName: Google Inc. OrgID: GOGL Address: 1600 Amphitheatre Parkway City: Mountain View StateProv: CA PostalCode: 94043 Country: US NetRange: 74.125.0.0 – 74.125.255.255 CIDR: 74.125.0.0/16 NetName: GOOGLE NetHandle: NET-74-125-0-0-1 Parent: NET-74-0-0-0-0 NetType: Direct Allocation NameServer: NS1.GOOGLE.COM NameServer: NS2.GOOGLE.COM NameServer: NS3.GOOGLE.COM NameServer: NS4.GOOGLE.COM Comment: RegDate: 2007-03-13 Updated: 2007-05-22 OrgTechHandle: ZG39-ARIN… Read More »