This article details the steps necessary to update an existing InstantKB.NET 2.0.4 installation to the InstantKB.NET 2.0.5 release. You can also find information in this article on the additions, updates & fixes included within 2.0.5.
New Additional Skin
This skin has been designed to demonstrate some of the ways you can visually customize InstantKB.NET. This new skin can be used as a basis for further customizations This also provides a simple alternative way to navigate & search your knowledge.
You can view the new skin within our online demo at http://demos.instantasp.co.uk/InstantKB20/ Search multiple tabs and / or categories
We received lots of requests for this feature. You can now use the AJAX enabled tree-view control to select (using checkboxes) specific tabs and / or categories to search. You can now easily show all results from any specific tabs and / or categories of interest.
As with all other results within InstantKB.NET the live RSS feed can be used to subscribe to results for specific tabs or categories.You can now create a single RSS feed to easily subscribe to all tabs & categories to stay informed of new content.

Search by Type
We've also added a new drop down list below the keywords field within 2.0.5 as shown above to allow you to search for content by type. This again allows you to also subscribe to RSS feeds for any content types.
Improved Quick Edit Options
With InstantKB.NET 2.0.5 the front-end quick edit options have been enhanced for staff members to provide further options...

Sort User Comments
You can now sort comments within InstantKB.NET by date ascending or descending or votes. The order you choose to sort by will be persisted within a cookie. This allow users to customize how user comments should appear....

Improved User Comment Rating
We've revised the rating system for user submitted comments. It was not clear in the previous system how many up votes a comment had received. The new system will hopefully also encourages further user participation as it's much more obvious you can rate comments and should allow visitors to find helpful information quickly by being able to see at a glance helpful comments.

Global Tag Delete
Administrators will now see a small (x) hyperlink next to each tag within the tag cloud. This allows you to now easily delete tags globally within InstantKB.NET. This will delete the tag from all content within InstantKB.NET.
- Fixed issue with duplicate uploads appearing if you choose to save attachments to the file system.
- Fixed issue when deleting uploads within custom fileupload fields.
- Fixed issue which allowed administrators to change the content type of the default tabs.
- Fixed issue with "Login Landing Page" defined within the application settings not being used.
- Fixed textbox overlay issue wjem editing long category names within the tree=view control
- InstantKB.NET will now default to the Classic skin if a skin folder is deleted without the database being updated.
- Fixed issue with staff notepad permissions not applying correctly.
- Fixed issue with secondary categories not always being selected correctly.
- Fixed issue with first comment not appearing immediately after posting.
- Fixed issue with comment rating cache not clearing correctly. Comment ratings should now be updated immediately.
- Optimized core CSS files to reduce unnessercary CSS attributes
- Fixed issue which prevented Staff CP from loading if no staff permission set exists.
- Fixed JavaScript error which occasionally occurred when rating articles using the AJAX based rating control.
- Fixed issue with plus (+) character being removed from tags.
- Fixed issue with search generating exception if your search term contains only ignored search terms..
- Fixed issue with tag tooltips rendering invalid XHTML.
- Fixed issue with user comments not showing correct rating.
- Fixed issue with member list not sorting by last login date by default.
- Fixed invalid XHTML attributes within user control panel.
- Fixed issue with article breadcrumb link not working correctly.
- Backloaded code to support the InstantKB.NET Active Directory Module.
------------------------------------------------
1. Download InstantKB.NET 2.0.5
Download the 2.0.5 update from your My.InstantASP area.
If your an existing 2.x customer the 2.0.5 download will be available automatically on your My Licenses page at http://my.instantasp.co.uk/MyLicenses.aspx. Download the 2.0.5 update and extract the contents of the zip file to your desktop. This will create a new folder on your desktop called InstantKB205DEV or InstantKB205EUL depending on your license.
2. Update your existing 2.0.4 files
The quickest way to update is to simply copy the entire contents of the "InstantKB20" folder (excluding web.config file) again to your current InstantKB.NET installation. This will replace all existing 2.0.4 files. If you choose to replace all files you may wish to skip the web.config and Skin\Classic\MasterPage.master file to preserve your database connection string and any visual customization's. If you own a single server license or are behind a firewall and received a file based license you should ensure you have a backup of your "\Bin\InstantASP_Licenses.config" file to restore this once the update is complete.
Replacing only the updated files
If you've customized / modified a number of InstantKB.NET files you may wish to simply copy only the updated files into your installation. You can find a list below of all updated files within the 2.0.5 release. There are no new files with this update. You'll need to ensure you update the existing files with the latest versions from the 2.0.5 download.
3. Update your existing 2.0.4 database
Once you've updated your files you'll need to run a script against your InstantKB.NET SQL Server database to upgrade the database to version 2.0.5. There are To update your database you'll need to first connect to your database within SQL Server Management Studio or Enterprise Manager.
Once connected you'll need to open the "InstantKB20\DatabaseScripts\UpgradeScripts\2.0.4_to_2.0.5.sql" file and execute this SQL file against your InstantKB.NET 2.0.4 database. You can also find the upgrade script attached to at the bottom of this article.
The following files have been updated with the 2.0.5 update. If you wish to only apply the updated files you should copy the files from the InstantKB.NET 2.0.5 download listed below into your existing 2.0.4 installation.
Assemblies
All assemblies will need updating...
- InstantASP.Common.dll
- InstantASP.Common.Configuration.dll
- InstantASP.Common.Data.dll
- InstantASP.Common.UI.dll
- InstantASP.InstantKB.dll
- InstantASP.InstantKB.Data.dll
- InstantASP.InstantKB.UI.dll
Skin Files
You will need to update the following skin files. You will need to copy these files from the 2.0.5 release into all existing 2.0.4 skins...
- \Skins\Classic\Admin\Controls\AdminInsertUpdateTab.ascx
- \Skins\Classic\Admin\Controls\AdminInsertUpdateStaffPermissionset.ascx
- \Skins\Classic\Controls\Header.ascx
- \Skins\Classic\Controls\ViewSearchOptions.ascx
- \Skins\Classic\Controls\ViewArticleComments.ascx
- \Skins\Classic\Controls\TreeView.ascx
CSS Files
The following CSS files have been updated with 2.0.5.
- \Skins\Classic\Styles\InstantASP.Common.UI.Admin.css
- \Skins\Classic\Styles\InstantASP.Common.UI.css
- \Skins\Classic\Styles\InstantASP.InstantKB.UI.css
JavaScript Files
The following JavaScript files will require updating...
- \JavaScript\InstantASP_Common.js
- \JavaScript \InstantASPTreeView.js
- \JavaScript \InstantASPTransitions.js
- \JavaScript\IInstantKB.js
Language Pack Files
To accomodate for the new strings within 2.0.5 you will need to replace your Respirces.xml file.
- \Globalization\en-US\Resources.xml
- \Globalization\en-US\Strings.js
Stored Procedures
The following stored procedures have been updated with the 2.0.5 update.
- ikb_sp_InsertAttachment
- ikb_sp_InsertArticleCommentRating
- ikb_sp_InsertArticleRating
- ikb_sp_SelectArticleComments
The following stored procedures have been added with InstantKB.NET 2.0.5...
New Table Columns
- InstantKB_Attachments.DisplayFileName - nvarchar(255)
You can find a script to update your existing InstanKB.NET 2.0.4 stored procedures attached below. You can also find this script within the InstantKB.NET 2.0.5 download at "\InstantKB20\DatabaseSCripts\UpgradeScripts\2.0.4_to_2.0.5.sql".
Once you've updated the files listed above and updated your database you should visit your existing InstantKB.NET installation. If everything was successful you should be able to continue using your knowledgebase as before. As always if you have any questions or run into any problems during the upgrade don't hesitate to leave your comments below, open a support ticket or contact us.