[Solved] SyntaxHighlighter issues after upgrading BlogEngine.NET from 2.6 to 2.7 21 April 2014 Jeff BlogEngine.NET, JavaScript Problem: I updated my BlogEngine.NET from 2.6 to 2.7, and everything goes well. But one day I found that the syntax highlighter were functioning horribly poor. They are: Js error thrown on every ... [More]
Solved: Attempt to write a read-only database 27 June 2013 Jeff BlogEngine.NET Problem: Hosted a BlogEngine.NET on Windows Server 2008 [R2] / Windows 8 IIS server (7.5 or higher), and used SQLite as Blog’s database. When navigate to the blog, an error clames “Attempt to write a... [More]
Fixed: unable to cast object of type 'asp._page_admin_default_cshtml' to type 'system.web.ihttphandler' error 14 February 2013 Jeff BlogEngine.NET, ASP.NET 1. Background: I host my BlogEngine.NET (this blog) as a sub application under a main ASP.NET MVC 3 web application (zizhujy.com), it runs well until one day I tried to enter the administrator contro... [More]
Handy file system manager for BlogEngine.NET 25 October 2012 Jeff BlogEngine.NET Hi, if you met a situation that your internet provider only provide HTTP service, and now you want to manage your hosted files, how would you get it done? That’s what I met these days and finally I c... [More]
The fix for bug “Cannot delete subscribers” in BlogEngine.NET 20 February 2012 Jeff BlogEngine.NET [Background] There is a bug in BlogEngine.NET 2.5. [Bug Description] You cannot delete the subscribers from the newsletter widget. [Repro Steps] Navigate to your BlogEngine.NET blog Log in as adminis... [More]
The better word count extension for BlogEngine.NET 19 February 2012 Jeff Blog, BlogEngine.NET What is its usage? Displays count of the words in the post. How does this extension come out? The other day I found a word count extension for BlogEngine.NET that can display counts of the words... [More]
How to make reCaptcha extension work in your BlogEngine.NET 18 February 2012 Jeff BlogEngine.NET Go to Admin tool, select settings tab, under comments settings, make sure “Use Disqus as a comment provider” is unchecked Go to Extensions tab, make sure the “SimpleCaptcha” extension ... [More]
Upgrade BlogEngine.NET from 2.5 to 2.6 15 February 2012 Jeff BlogEngine.NET If you are running BlogEngine.NET 2.5, and you want to add post view count statistics feature to your webblog, then I recommend you apply this update to your blog installation. New feature: Post view ... [More]
如何查询SQLite数据库中的索引信息 13 February 2012 Jeff SQL, BlogEngine.NET 一、问题: 在SQLite数据库中,已知索引名称(为idx_be_Posts_BlogID_PostID),查询其详细信息。 二、问题分析: 在SQLite数据库中,索引信息储存在sqlite_mater表中。 三、解决方案: SELECT * FROM sqlite_master WHERE (name = 'idx_be_Posts_BlogID_PostID') 执行上述... [More]
如何在升级数据表的同时保留原数据 13 February 2012 Jeff BlogEngine.NET, Computer Network 计算机网络, SQL 一、问题 项目做到后期,或者项目版本升级时,有时不得不更新原来的数据库设计。比如有一张表,可能需要增加字段、修改字段等。在某些情况下,ALTER TABLE命令不能完成这个任务,比如更换主键。这时只能用全新的设计替换掉原来的设计。但是,如果让新设计的表格中,包含原来的数据呢? 二、解决方案 其实很简单,分4步: 创建新表 将原表数据插入到新表中 删除原表 将新表重命名为原表名 三、实例 知名开... [More]