If you see this post it means that BlogEngine.NET is running and the hard part of creating your own blog is done. There is only a few things left to do.
+
Write Permissions
+
To be able to log in, write posts and customize blog, you need to enable write permissions on the App_Data and Custom folders. If your blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support.
+
If you wish to use a database to store your blog data, we still encourage you to enable this write access for an images you may wish to store for your blog posts. If you are interested in using Microsoft SQL Server, MySQL, SQL CE, or other databases, please see the BlogEngine docs to get started.
+
Security
+
When you`ve got write permissions set, you need to change the username and password. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change password, create new users and set roles and permissions. Passwords are hashed by default so you better configure email in settings for password recovery to work or learn how to do it manually.
+
Configuration and Profile
+
Now that you have your blog secured, take a look through the settings and give your new blog a title. BlogEngine.NET is set up to take full advantage of many semantic formats and technologies such as FOAF, SIOC and APML. It means that the content stored in your BlogEngine.NET installation will be fully portable and auto-discoverable. Be sure to fill in your author profile to take better advantage of this.
+
Themes, Widgets & Extensions
+
One last thing to consider is customizing the look and behavior of your blog. We have themes, widgets and extensions available right out of the box. You can install more right from admin panel under Custom/Gallery.
+
On the web
+
You can find news about BlogEngine.NET on the official website. For tutorials, documentation, tips and tricks visit our docs site. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.
');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'culture', 'Auto');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'dayscommentsareenabled', '0');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'description', 'Short description of the blog');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'displaycommentsonrecentposts', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'displayratingsonrecentposts', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'email', 'user@example.com');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'emailsubjectprefix', 'Weblog');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecommentsearch', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecommentsmoderation', 'False');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecontactattachments', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecountryincomments', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablehttpcompression', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enableopensearch', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablepingbackreceive', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablepingbacksend', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablerating', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablereferrertracking', 'False');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablerelatedposts', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablessl', 'False');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enabletrackbackreceive', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enabletrackbacksend', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'endorsement', 'http://www.dotnetblogengine.net/syndication.axd');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'fileextension', '.aspx');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'geocodinglatitude', '0');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'geocodinglongitude', '0');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'handlewwwsubdomain', '');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'iscocommentenabled', 'False');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'iscommentsenabled', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'language', 'en-GB');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'mobiletheme', 'Standard');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'name', 'Name of the blog');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'numberofrecentcomments', '10');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'numberofrecentposts', '10');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'postsperfeed', '10');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'postsperpage', '10');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'removewhitespaceinstylesheets', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'searchbuttontext', 'Search');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'searchcommentlabeltext', 'Include comments in search');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'searchdefaulttext', 'Enter search term');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'sendmailoncomment', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'showdescriptioninpostlist', 'False');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'showlivepreview', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'showpostnavigation', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtppassword', 'password');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtpserver', 'mail.example.dk');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtpserverport', '25');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtpusername', 'user@example.com');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'storagelocation', '~/App_Data/');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'syndicationformat', 'Rss');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'theme', 'Standard');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'timestamppostlinks', 'True');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'timezone', '0');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'trackingscript', '');
-INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablequicknotes', 'True');
-
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://rpc.technorati.com/rpc/ping');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://rpc.pingomatic.com/rpc2');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://ping.feedburner.com');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://www.bloglines.com/ping');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://services.newsgator.com/ngws/xmlrpcping.aspx');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://api.my.yahoo.com/rpc2 ');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://blogsearch.google.com/ping/RPC2');
-INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://rpc.pingthesemanticweb.com/');
-
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'a');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'about');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'actually');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'add');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'after');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'all');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'almost');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'along');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'also');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'an');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'and');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'any');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'are');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'as');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'at');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'be');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'both');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'but');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'by');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'can');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'cannot');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'com');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'could');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'de');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'do');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'down');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'each');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'either');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'en');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'for');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'from');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'good');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'has');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'have');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'he');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'her');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'here');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'hers');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'his');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'how');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'i');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'if');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'in');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'into');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'is');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'it');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'its');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'just');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'la');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'like');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'long');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'make');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'me');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'more');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'much');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'my');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'need');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'new');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'now');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'of');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'off');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'on');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'once');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'one');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ones');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'only');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'or');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'our');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'out');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'over');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'own');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'really');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'right');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'same');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'see');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'she');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'so');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'some');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'such');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'take');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'takes');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'that');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'the');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'their');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'these');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'thing');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'this');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'to');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'too');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'took');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'und');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'up');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'use');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'used');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'using');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'very');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'was');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'we');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'well');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'what');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'when');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'where');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'who');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'will');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'with');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'www');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'you');
-INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'your');
-
-INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 );
-INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 );
-INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 );
-INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 );
-INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 );
-INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 );
-
-INSERT INTO be_Categories (BlogID, CategoryID, CategoryName)
- VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ffc26b8b-7d45-46e3-b702-7198e8847e06', 'General');
-
-INSERT INTO be_Posts (BlogID, PostID, Title, Description, PostContent, DateCreated, DateModified, Author, IsPublished)
- VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b',
- 'Welcome to BlogEngine.NET 3.1 using MySQL',
- 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory',
- '
If you see this post it means that BlogEngine.NET is running and the hard part of creating your own blog is done. There is only a few things left to do.
-
Write Permissions
-
To be able to log in, write posts and customize blog, you need to enable write permissions on the App_Data and Custom folders. If your blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support.
-
If you wish to use a database to store your blog data, we still encourage you to enable this write access for an images you may wish to store for your blog posts. If you are interested in using Microsoft SQL Server, MySQL, SQL CE, or other databases, please see the BlogEngine docs to get started.
-
Security
-
When you`ve got write permissions set, you need to change the username and password. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change password, create new users and set roles and permissions. Passwords are hashed by default so you better configure email in settings for password recovery to work or learn how to do it manually.
-
Configuration and Profile
-
Now that you have your blog secured, take a look through the settings and give your new blog a title. BlogEngine.NET is set up to take full advantage of many semantic formats and technologies such as FOAF, SIOC and APML. It means that the content stored in your BlogEngine.NET installation will be fully portable and auto-discoverable. Be sure to fill in your author profile to take better advantage of this.
-
Themes, Widgets & Extensions
-
One last thing to consider is customizing the look and behavior of your blog. We have themes, widgets and extensions available right out of the box. You can install more right from admin panel under Custom/Gallery.
-
On the web
-
You can find news about BlogEngine.NET on the official website. For tutorials, documentation, tips and tricks visit our docs site. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.
-
Good luck and happy writing.
-
The BlogEngine.NET team
',
- CURDATE(),
- CURDATE(),
- 'admin',
- 1);
-
-INSERT INTO be_PostCategory (BlogID, PostID, CategoryID)
- VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'ffc26b8b-7d45-46e3-b702-7198e8847e06');
-INSERT INTO be_PostTag (BlogID, PostID, Tag)
- VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'blog');
-INSERT INTO be_PostTag (BlogID, PostID, Tag)
- VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'welcome');
-
-INSERT INTO be_Users (BlogID, UserName, Password, LastLoginTime, EmailAddress) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Admin', '', CURDATE(), 'email@example.com');
-INSERT INTO be_Roles (BlogID, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Administrators');
-INSERT INTO be_Roles (BlogID, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Editors');
-INSERT INTO be_UserRoles (BlogID, UserName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Admin', 'Administrators');
-
-INSERT INTO be_DataStoreSettings (BlogId, ExtensionType, ExtensionId, Settings)
-VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 1, 'be_WIDGET_ZONE', '<widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag Cloud" showTitle="True">TagCloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="Post List" showTitle="True">PostList</widget></widgets>');
---
--- be_Pages SortOrder
---
-ALTER TABLE be_Pages ADD COLUMN SortOrder INT DEFAULT 0;
---
--- add new rights to administrators
---
-INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ViewDashboard', 'Administrators');
-INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ManageExtensions', 'Administrators');
-INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ManageThemes', 'Administrators');
-INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ManagePackages', 'Administrators');
-
-INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ViewDashboard');
-INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageExtensions');
-INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageThemes');
-INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManagePackages');
diff --git a/BlogEngine/BlogEngine.NET/setup/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/ReadMe.txt
deleted file mode 100644
index f99920ac3..000000000
--- a/BlogEngine/BlogEngine.NET/setup/ReadMe.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-BlogEngine.NET supports a variety of data storage options out of the box. By
-default, it will store all data in XML files in your App_Data folder. If you wish to
-use a database to store your data, we have folders inside the setup folder to help you
-get started with SQL Server, SQL CE, MySQL or SQLite. Any database that has an
-ADO.NET dll that supports DbProviderFactory can be used with some configuration.
-
-Additional information can be found on our site at
-http://www.dotnetblogengine.net/
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.4.5.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.4.5.0.sql
deleted file mode 100644
index 506d3c9eb..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.4.5.0.sql
+++ /dev/null
@@ -1,563 +0,0 @@
-/****** BlogEngine.NET 1.4.5 SQL Setup Script ******/
-
-/****** Object: Table [dbo].[be_Categories] Script Date: 12/22/2007 14:14:54 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Categories](
- [CategoryID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Categories_CategoryID] DEFAULT (newid()),
- [CategoryName] [nvarchar](50) NULL,
- [Description] [nvarchar](200) NULL,
- [ParentID] [uniqueidentifier] NULL,
- CONSTRAINT [PK_be_Categories] PRIMARY KEY CLUSTERED
-(
- [CategoryID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-SET ANSI_PADDING ON
-GO
-CREATE TABLE [dbo].[be_DataStoreSettings](
- [ExtensionType] [nvarchar](50) NOT NULL,
- [ExtensionId] [nvarchar](100) NOT NULL,
- [Settings] [nvarchar](max) NOT NULL
-) ON [PRIMARY]
-
-GO
-/****** Object: Table [dbo].[be_Pages] Script Date: 12/22/2007 14:15:17 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Pages](
- [PageID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Pages_PageID] DEFAULT (newid()),
- [Title] [nvarchar](255) NULL,
- [Description] [nvarchar](max) NULL,
- [PageContent] [nvarchar](max) NULL,
- [Keywords] [nvarchar](max) NULL,
- [DateCreated] [datetime] NULL,
- [DateModified] [datetime] NULL,
- [IsPublished] [bit] NULL,
- [IsFrontPage] [bit] NULL,
- [Parent] [uniqueidentifier] NULL,
- [ShowInList] [bit] NULL,
- CONSTRAINT [PK_be_Pages] PRIMARY KEY CLUSTERED
-(
- [PageID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_PingService] Script Date: 12/22/2007 14:15:47 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_PingService](
- [PingServiceID] [int] IDENTITY(1,1) NOT NULL,
- [Link] [nvarchar](255) NULL,
- CONSTRAINT [PK_be_PingService] PRIMARY KEY CLUSTERED
-(
- [PingServiceID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Posts] Script Date: 12/22/2007 14:16:27 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Posts](
- [PostID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Posts_PostID] DEFAULT (newid()),
- [Title] [nvarchar](255) NULL,
- [Description] [nvarchar](max) NULL,
- [PostContent] [nvarchar](max) NULL,
- [DateCreated] [datetime] NULL,
- [DateModified] [datetime] NULL,
- [Author] [nvarchar](50) NULL,
- [IsPublished] [bit] NULL,
- [IsCommentEnabled] [bit] NULL,
- [Raters] [int] NULL,
- [Rating] [real] NULL,
- [Slug] [nvarchar](255) NULL,
- CONSTRAINT [PK_be_Posts] PRIMARY KEY CLUSTERED
-(
- [PostID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Settings] Script Date: 12/22/2007 14:16:07 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Settings](
- [SettingName] [nvarchar](50) NOT NULL,
- [SettingValue] [nvarchar](max) NULL,
- CONSTRAINT [PK_be_Settings] PRIMARY KEY CLUSTERED
-(
- [SettingName] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Profiles](
- [ProfileID] [int] IDENTITY(1,1) NOT NULL,
- [UserName] [nvarchar](100) NULL,
- [SettingName] [nvarchar](200) NULL,
- [SettingValue] [nvarchar](max) NULL,
- CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED
-(
- [ProfileID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_StopWords](
- [StopWord] [nvarchar](50) NOT NULL,
- CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED
-(
- [StopWord] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_PostCategory] Script Date: 12/22/2007 14:17:00 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_PostCategory](
- [PostCategoryID] [int] IDENTITY(1,1) NOT NULL,
- [PostID] [uniqueidentifier] NOT NULL,
- [CategoryID] [uniqueidentifier] NOT NULL,
- CONSTRAINT [PK_be_PostCategory] PRIMARY KEY CLUSTERED
-(
- [PostCategoryID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Categories] FOREIGN KEY([CategoryID])
-REFERENCES [dbo].[be_Categories] ([CategoryID])
-GO
-ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Categories]
-GO
-ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Posts] FOREIGN KEY([PostID])
-REFERENCES [dbo].[be_Posts] ([PostID])
-GO
-ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Posts]
-GO
-/****** Object: Table [dbo].[be_PostComment] Script Date: 12/22/2007 14:17:15 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_PostComment](
- [PostCommentID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_PostComment_PostCommentID] DEFAULT (newid()),
- [PostID] [uniqueidentifier] NOT NULL,
- [CommentDate] [datetime] NOT NULL,
- [Author] [nvarchar](255) NULL,
- [Email] [nvarchar](255) NULL,
- [Website] [nvarchar](255) NULL,
- [Comment] [nvarchar](max) NULL,
- [Country] [nvarchar](255) NULL,
- [Ip] [nvarchar](50) NULL,
- [IsApproved] [bit] NULL,
- CONSTRAINT [PK_be_PostComment] PRIMARY KEY CLUSTERED
-(
- [PostCommentID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_PostComment] WITH CHECK ADD CONSTRAINT [FK_be_PostComment_be_Posts] FOREIGN KEY([PostID])
-REFERENCES [dbo].[be_Posts] ([PostID])
-GO
-ALTER TABLE [dbo].[be_PostComment] CHECK CONSTRAINT [FK_be_PostComment_be_Posts]
-GO
-/****** Object: Table [dbo].[be_PostNotify] Script Date: 12/22/2007 14:17:31 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_PostNotify](
- [PostNotifyID] [int] IDENTITY(1,1) NOT NULL,
- [PostID] [uniqueidentifier] NOT NULL,
- [NotifyAddress] [nvarchar](255) NULL,
- CONSTRAINT [PK_be_PostNotify] PRIMARY KEY CLUSTERED
-(
- [PostNotifyID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_PostNotify] WITH CHECK ADD CONSTRAINT [FK_be_PostNotify_be_Posts] FOREIGN KEY([PostID])
-REFERENCES [dbo].[be_Posts] ([PostID])
-GO
-ALTER TABLE [dbo].[be_PostNotify] CHECK CONSTRAINT [FK_be_PostNotify_be_Posts]
-GO
-/****** Object: Table [dbo].[be_PostTag] Script Date: 12/22/2007 14:17:44 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_PostTag](
- [PostTagID] [int] IDENTITY(1,1) NOT NULL,
- [PostID] [uniqueidentifier] NOT NULL,
- [Tag] [nvarchar](50) NULL,
- CONSTRAINT [PK_be_PostTag] PRIMARY KEY CLUSTERED
-(
- [PostTagID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_PostTag] WITH CHECK ADD CONSTRAINT [FK_be_PostTag_be_Posts] FOREIGN KEY([PostID])
-REFERENCES [dbo].[be_Posts] ([PostID])
-GO
-ALTER TABLE [dbo].[be_PostTag] CHECK CONSTRAINT [FK_be_PostTag_be_Posts]
-GO
-/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Users](
- [UserID] [int] IDENTITY(1,1) NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [Password] [nvarchar](255) NOT NULL,
- [LastLoginTime] [datetime] NULL,
- [EmailAddress] [nvarchar](100) NULL,
- CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED
-(
- [UserID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Roles](
- [RoleID] [int] IDENTITY(1,1) NOT NULL,
- [Role] [nvarchar](100) NOT NULL,
- CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED
-(
- [RoleID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_UserRoles](
- [UserRoleID] [int] IDENTITY(1,1) NOT NULL,
- [UserID] [int] NOT NULL,
- [RoleID] [int] NOT NULL,
- CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED
-(
- [UserRoleID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID])
-REFERENCES [dbo].[be_Roles] ([RoleID])
-GO
-ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles]
-GO
-ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID])
-REFERENCES [dbo].[be_Users] ([UserID])
-GO
-ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users]
-GO
-/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:18:36 ******/
-CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostCategory]
-(
- [PostID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [FK_CategoryID] Script Date: 12/22/2007 14:19:19 ******/
-CREATE NONCLUSTERED INDEX [FK_CategoryID] ON [dbo].[be_PostCategory]
-(
- [CategoryID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:19:45 ******/
-CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostComment]
-(
- [PostID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:29 ******/
-CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostNotify]
-(
- [PostID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:43 ******/
-CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostTag]
-(
- [PostID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/
-CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings]
-(
- [ExtensionType] ASC,
- [ExtensionId] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/
-CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles]
-(
- [UserName] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/*** Load initial Data ***/
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('administratorrole', 'Administrators');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('alternatefeedurl', '');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('authorname', 'My name');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('avatar', 'combine');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollmaxlength', '23');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollupdateminutes', '60');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollvisibleposts', '3');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactformmessage', '
I will answer the mail as soon as I can.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '
Thank you
The message was sent.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', '');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', '');
-
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2');
-INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com');
-INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx');
-INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 ');
-INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/');
-
-INSERT INTO be_StopWords (StopWord) VALUES ('a');
-INSERT INTO be_StopWords (StopWord) VALUES ('about');
-INSERT INTO be_StopWords (StopWord) VALUES ('actually');
-INSERT INTO be_StopWords (StopWord) VALUES ('add');
-INSERT INTO be_StopWords (StopWord) VALUES ('after');
-INSERT INTO be_StopWords (StopWord) VALUES ('all');
-INSERT INTO be_StopWords (StopWord) VALUES ('almost');
-INSERT INTO be_StopWords (StopWord) VALUES ('along');
-INSERT INTO be_StopWords (StopWord) VALUES ('also');
-INSERT INTO be_StopWords (StopWord) VALUES ('an');
-INSERT INTO be_StopWords (StopWord) VALUES ('and');
-INSERT INTO be_StopWords (StopWord) VALUES ('any');
-INSERT INTO be_StopWords (StopWord) VALUES ('are');
-INSERT INTO be_StopWords (StopWord) VALUES ('as');
-INSERT INTO be_StopWords (StopWord) VALUES ('at');
-INSERT INTO be_StopWords (StopWord) VALUES ('be');
-INSERT INTO be_StopWords (StopWord) VALUES ('both');
-INSERT INTO be_StopWords (StopWord) VALUES ('but');
-INSERT INTO be_StopWords (StopWord) VALUES ('by');
-INSERT INTO be_StopWords (StopWord) VALUES ('can');
-INSERT INTO be_StopWords (StopWord) VALUES ('cannot');
-INSERT INTO be_StopWords (StopWord) VALUES ('com');
-INSERT INTO be_StopWords (StopWord) VALUES ('could');
-INSERT INTO be_StopWords (StopWord) VALUES ('de');
-INSERT INTO be_StopWords (StopWord) VALUES ('do');
-INSERT INTO be_StopWords (StopWord) VALUES ('down');
-INSERT INTO be_StopWords (StopWord) VALUES ('each');
-INSERT INTO be_StopWords (StopWord) VALUES ('either');
-INSERT INTO be_StopWords (StopWord) VALUES ('en');
-INSERT INTO be_StopWords (StopWord) VALUES ('for');
-INSERT INTO be_StopWords (StopWord) VALUES ('from');
-INSERT INTO be_StopWords (StopWord) VALUES ('good');
-INSERT INTO be_StopWords (StopWord) VALUES ('has');
-INSERT INTO be_StopWords (StopWord) VALUES ('have');
-INSERT INTO be_StopWords (StopWord) VALUES ('he');
-INSERT INTO be_StopWords (StopWord) VALUES ('her');
-INSERT INTO be_StopWords (StopWord) VALUES ('here');
-INSERT INTO be_StopWords (StopWord) VALUES ('hers');
-INSERT INTO be_StopWords (StopWord) VALUES ('his');
-INSERT INTO be_StopWords (StopWord) VALUES ('how');
-INSERT INTO be_StopWords (StopWord) VALUES ('i');
-INSERT INTO be_StopWords (StopWord) VALUES ('if');
-INSERT INTO be_StopWords (StopWord) VALUES ('in');
-INSERT INTO be_StopWords (StopWord) VALUES ('into');
-INSERT INTO be_StopWords (StopWord) VALUES ('is');
-INSERT INTO be_StopWords (StopWord) VALUES ('it');
-INSERT INTO be_StopWords (StopWord) VALUES ('its');
-INSERT INTO be_StopWords (StopWord) VALUES ('just');
-INSERT INTO be_StopWords (StopWord) VALUES ('la');
-INSERT INTO be_StopWords (StopWord) VALUES ('like');
-INSERT INTO be_StopWords (StopWord) VALUES ('long');
-INSERT INTO be_StopWords (StopWord) VALUES ('make');
-INSERT INTO be_StopWords (StopWord) VALUES ('me');
-INSERT INTO be_StopWords (StopWord) VALUES ('more');
-INSERT INTO be_StopWords (StopWord) VALUES ('much');
-INSERT INTO be_StopWords (StopWord) VALUES ('my');
-INSERT INTO be_StopWords (StopWord) VALUES ('need');
-INSERT INTO be_StopWords (StopWord) VALUES ('new');
-INSERT INTO be_StopWords (StopWord) VALUES ('now');
-INSERT INTO be_StopWords (StopWord) VALUES ('of');
-INSERT INTO be_StopWords (StopWord) VALUES ('off');
-INSERT INTO be_StopWords (StopWord) VALUES ('on');
-INSERT INTO be_StopWords (StopWord) VALUES ('once');
-INSERT INTO be_StopWords (StopWord) VALUES ('one');
-INSERT INTO be_StopWords (StopWord) VALUES ('ones');
-INSERT INTO be_StopWords (StopWord) VALUES ('only');
-INSERT INTO be_StopWords (StopWord) VALUES ('or');
-INSERT INTO be_StopWords (StopWord) VALUES ('our');
-INSERT INTO be_StopWords (StopWord) VALUES ('out');
-INSERT INTO be_StopWords (StopWord) VALUES ('over');
-INSERT INTO be_StopWords (StopWord) VALUES ('own');
-INSERT INTO be_StopWords (StopWord) VALUES ('really');
-INSERT INTO be_StopWords (StopWord) VALUES ('right');
-INSERT INTO be_StopWords (StopWord) VALUES ('same');
-INSERT INTO be_StopWords (StopWord) VALUES ('see');
-INSERT INTO be_StopWords (StopWord) VALUES ('she');
-INSERT INTO be_StopWords (StopWord) VALUES ('so');
-INSERT INTO be_StopWords (StopWord) VALUES ('some');
-INSERT INTO be_StopWords (StopWord) VALUES ('such');
-INSERT INTO be_StopWords (StopWord) VALUES ('take');
-INSERT INTO be_StopWords (StopWord) VALUES ('takes');
-INSERT INTO be_StopWords (StopWord) VALUES ('that');
-INSERT INTO be_StopWords (StopWord) VALUES ('the');
-INSERT INTO be_StopWords (StopWord) VALUES ('their');
-INSERT INTO be_StopWords (StopWord) VALUES ('these');
-INSERT INTO be_StopWords (StopWord) VALUES ('thing');
-INSERT INTO be_StopWords (StopWord) VALUES ('this');
-INSERT INTO be_StopWords (StopWord) VALUES ('to');
-INSERT INTO be_StopWords (StopWord) VALUES ('too');
-INSERT INTO be_StopWords (StopWord) VALUES ('took');
-INSERT INTO be_StopWords (StopWord) VALUES ('und');
-INSERT INTO be_StopWords (StopWord) VALUES ('up');
-INSERT INTO be_StopWords (StopWord) VALUES ('use');
-INSERT INTO be_StopWords (StopWord) VALUES ('used');
-INSERT INTO be_StopWords (StopWord) VALUES ('using');
-INSERT INTO be_StopWords (StopWord) VALUES ('very');
-INSERT INTO be_StopWords (StopWord) VALUES ('was');
-INSERT INTO be_StopWords (StopWord) VALUES ('we');
-INSERT INTO be_StopWords (StopWord) VALUES ('well');
-INSERT INTO be_StopWords (StopWord) VALUES ('what');
-INSERT INTO be_StopWords (StopWord) VALUES ('when');
-INSERT INTO be_StopWords (StopWord) VALUES ('where');
-INSERT INTO be_StopWords (StopWord) VALUES ('who');
-INSERT INTO be_StopWords (StopWord) VALUES ('will');
-INSERT INTO be_StopWords (StopWord) VALUES ('with');
-INSERT INTO be_StopWords (StopWord) VALUES ('www');
-INSERT INTO be_StopWords (StopWord) VALUES ('you');
-INSERT INTO be_StopWords (StopWord) VALUES ('your');
-
-DECLARE @postID uniqueidentifier, @catID uniqueidentifier;
-
-SET @postID = NEWID();
-SET @catID = NEWID();
-
-INSERT INTO be_Categories (CategoryID, CategoryName)
- VALUES (@catID, 'General');
-
-INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished)
- VALUES (@postID,
- 'Welcome to BlogEngine.NET 1.4.5 using Microsoft SQL Server',
- 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory',
- '
If you see this post it means that BlogEngine.NET 1.4.5 is running with SQL Server and the DbBlogProvider is configured correctly.
-
Setup
-
If you are using the ASP.NET Membership provider, you are set to use existing users. If you are using the default BlogEngine.NET XML provider, it is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.
-
Write permissions
-
Since you are using SQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.
-
On the web
-
You can find BlogEngine.NET on the official website. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '
Thank you
The message was sent.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', '');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', '');
-
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2');
-INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com');
-INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx');
-INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 ');
-INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/');
-
-INSERT INTO be_StopWords (StopWord) VALUES ('a');
-INSERT INTO be_StopWords (StopWord) VALUES ('about');
-INSERT INTO be_StopWords (StopWord) VALUES ('actually');
-INSERT INTO be_StopWords (StopWord) VALUES ('add');
-INSERT INTO be_StopWords (StopWord) VALUES ('after');
-INSERT INTO be_StopWords (StopWord) VALUES ('all');
-INSERT INTO be_StopWords (StopWord) VALUES ('almost');
-INSERT INTO be_StopWords (StopWord) VALUES ('along');
-INSERT INTO be_StopWords (StopWord) VALUES ('also');
-INSERT INTO be_StopWords (StopWord) VALUES ('an');
-INSERT INTO be_StopWords (StopWord) VALUES ('and');
-INSERT INTO be_StopWords (StopWord) VALUES ('any');
-INSERT INTO be_StopWords (StopWord) VALUES ('are');
-INSERT INTO be_StopWords (StopWord) VALUES ('as');
-INSERT INTO be_StopWords (StopWord) VALUES ('at');
-INSERT INTO be_StopWords (StopWord) VALUES ('be');
-INSERT INTO be_StopWords (StopWord) VALUES ('both');
-INSERT INTO be_StopWords (StopWord) VALUES ('but');
-INSERT INTO be_StopWords (StopWord) VALUES ('by');
-INSERT INTO be_StopWords (StopWord) VALUES ('can');
-INSERT INTO be_StopWords (StopWord) VALUES ('cannot');
-INSERT INTO be_StopWords (StopWord) VALUES ('com');
-INSERT INTO be_StopWords (StopWord) VALUES ('could');
-INSERT INTO be_StopWords (StopWord) VALUES ('de');
-INSERT INTO be_StopWords (StopWord) VALUES ('do');
-INSERT INTO be_StopWords (StopWord) VALUES ('down');
-INSERT INTO be_StopWords (StopWord) VALUES ('each');
-INSERT INTO be_StopWords (StopWord) VALUES ('either');
-INSERT INTO be_StopWords (StopWord) VALUES ('en');
-INSERT INTO be_StopWords (StopWord) VALUES ('for');
-INSERT INTO be_StopWords (StopWord) VALUES ('from');
-INSERT INTO be_StopWords (StopWord) VALUES ('good');
-INSERT INTO be_StopWords (StopWord) VALUES ('has');
-INSERT INTO be_StopWords (StopWord) VALUES ('have');
-INSERT INTO be_StopWords (StopWord) VALUES ('he');
-INSERT INTO be_StopWords (StopWord) VALUES ('her');
-INSERT INTO be_StopWords (StopWord) VALUES ('here');
-INSERT INTO be_StopWords (StopWord) VALUES ('hers');
-INSERT INTO be_StopWords (StopWord) VALUES ('his');
-INSERT INTO be_StopWords (StopWord) VALUES ('how');
-INSERT INTO be_StopWords (StopWord) VALUES ('i');
-INSERT INTO be_StopWords (StopWord) VALUES ('if');
-INSERT INTO be_StopWords (StopWord) VALUES ('in');
-INSERT INTO be_StopWords (StopWord) VALUES ('into');
-INSERT INTO be_StopWords (StopWord) VALUES ('is');
-INSERT INTO be_StopWords (StopWord) VALUES ('it');
-INSERT INTO be_StopWords (StopWord) VALUES ('its');
-INSERT INTO be_StopWords (StopWord) VALUES ('just');
-INSERT INTO be_StopWords (StopWord) VALUES ('la');
-INSERT INTO be_StopWords (StopWord) VALUES ('like');
-INSERT INTO be_StopWords (StopWord) VALUES ('long');
-INSERT INTO be_StopWords (StopWord) VALUES ('make');
-INSERT INTO be_StopWords (StopWord) VALUES ('me');
-INSERT INTO be_StopWords (StopWord) VALUES ('more');
-INSERT INTO be_StopWords (StopWord) VALUES ('much');
-INSERT INTO be_StopWords (StopWord) VALUES ('my');
-INSERT INTO be_StopWords (StopWord) VALUES ('need');
-INSERT INTO be_StopWords (StopWord) VALUES ('new');
-INSERT INTO be_StopWords (StopWord) VALUES ('now');
-INSERT INTO be_StopWords (StopWord) VALUES ('of');
-INSERT INTO be_StopWords (StopWord) VALUES ('off');
-INSERT INTO be_StopWords (StopWord) VALUES ('on');
-INSERT INTO be_StopWords (StopWord) VALUES ('once');
-INSERT INTO be_StopWords (StopWord) VALUES ('one');
-INSERT INTO be_StopWords (StopWord) VALUES ('ones');
-INSERT INTO be_StopWords (StopWord) VALUES ('only');
-INSERT INTO be_StopWords (StopWord) VALUES ('or');
-INSERT INTO be_StopWords (StopWord) VALUES ('our');
-INSERT INTO be_StopWords (StopWord) VALUES ('out');
-INSERT INTO be_StopWords (StopWord) VALUES ('over');
-INSERT INTO be_StopWords (StopWord) VALUES ('own');
-INSERT INTO be_StopWords (StopWord) VALUES ('really');
-INSERT INTO be_StopWords (StopWord) VALUES ('right');
-INSERT INTO be_StopWords (StopWord) VALUES ('same');
-INSERT INTO be_StopWords (StopWord) VALUES ('see');
-INSERT INTO be_StopWords (StopWord) VALUES ('she');
-INSERT INTO be_StopWords (StopWord) VALUES ('so');
-INSERT INTO be_StopWords (StopWord) VALUES ('some');
-INSERT INTO be_StopWords (StopWord) VALUES ('such');
-INSERT INTO be_StopWords (StopWord) VALUES ('take');
-INSERT INTO be_StopWords (StopWord) VALUES ('takes');
-INSERT INTO be_StopWords (StopWord) VALUES ('that');
-INSERT INTO be_StopWords (StopWord) VALUES ('the');
-INSERT INTO be_StopWords (StopWord) VALUES ('their');
-INSERT INTO be_StopWords (StopWord) VALUES ('these');
-INSERT INTO be_StopWords (StopWord) VALUES ('thing');
-INSERT INTO be_StopWords (StopWord) VALUES ('this');
-INSERT INTO be_StopWords (StopWord) VALUES ('to');
-INSERT INTO be_StopWords (StopWord) VALUES ('too');
-INSERT INTO be_StopWords (StopWord) VALUES ('took');
-INSERT INTO be_StopWords (StopWord) VALUES ('und');
-INSERT INTO be_StopWords (StopWord) VALUES ('up');
-INSERT INTO be_StopWords (StopWord) VALUES ('use');
-INSERT INTO be_StopWords (StopWord) VALUES ('used');
-INSERT INTO be_StopWords (StopWord) VALUES ('using');
-INSERT INTO be_StopWords (StopWord) VALUES ('very');
-INSERT INTO be_StopWords (StopWord) VALUES ('was');
-INSERT INTO be_StopWords (StopWord) VALUES ('we');
-INSERT INTO be_StopWords (StopWord) VALUES ('well');
-INSERT INTO be_StopWords (StopWord) VALUES ('what');
-INSERT INTO be_StopWords (StopWord) VALUES ('when');
-INSERT INTO be_StopWords (StopWord) VALUES ('where');
-INSERT INTO be_StopWords (StopWord) VALUES ('who');
-INSERT INTO be_StopWords (StopWord) VALUES ('will');
-INSERT INTO be_StopWords (StopWord) VALUES ('with');
-INSERT INTO be_StopWords (StopWord) VALUES ('www');
-INSERT INTO be_StopWords (StopWord) VALUES ('you');
-INSERT INTO be_StopWords (StopWord) VALUES ('your');
-
-DECLARE @postID uniqueidentifier, @catID uniqueidentifier;
-
-SET @postID = NEWID();
-SET @catID = NEWID();
-
-INSERT INTO be_Categories (CategoryID, CategoryName)
- VALUES (@catID, 'General');
-
-INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished)
- VALUES (@postID,
- 'Welcome to BlogEngine.NET 1.5 using Microsoft SQL Server',
- 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory',
- '
If you see this post it means that BlogEngine.NET 1.5 is running with SQL Server and the DbBlogProvider is configured correctly.
-
Setup
-
If you are using the ASP.NET Membership provider, you are set to use existing users. If you are using the default BlogEngine.NET XML provider, it is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.
-
Write permissions
-
Since you are using SQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.
-
On the web
-
You can find BlogEngine.NET on the official website. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '
Thank you
The message was sent.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', '');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', '');
-
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2');
-INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com');
-INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx');
-INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 ');
-INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/');
-
-INSERT INTO be_StopWords (StopWord) VALUES ('a');
-INSERT INTO be_StopWords (StopWord) VALUES ('about');
-INSERT INTO be_StopWords (StopWord) VALUES ('actually');
-INSERT INTO be_StopWords (StopWord) VALUES ('add');
-INSERT INTO be_StopWords (StopWord) VALUES ('after');
-INSERT INTO be_StopWords (StopWord) VALUES ('all');
-INSERT INTO be_StopWords (StopWord) VALUES ('almost');
-INSERT INTO be_StopWords (StopWord) VALUES ('along');
-INSERT INTO be_StopWords (StopWord) VALUES ('also');
-INSERT INTO be_StopWords (StopWord) VALUES ('an');
-INSERT INTO be_StopWords (StopWord) VALUES ('and');
-INSERT INTO be_StopWords (StopWord) VALUES ('any');
-INSERT INTO be_StopWords (StopWord) VALUES ('are');
-INSERT INTO be_StopWords (StopWord) VALUES ('as');
-INSERT INTO be_StopWords (StopWord) VALUES ('at');
-INSERT INTO be_StopWords (StopWord) VALUES ('be');
-INSERT INTO be_StopWords (StopWord) VALUES ('both');
-INSERT INTO be_StopWords (StopWord) VALUES ('but');
-INSERT INTO be_StopWords (StopWord) VALUES ('by');
-INSERT INTO be_StopWords (StopWord) VALUES ('can');
-INSERT INTO be_StopWords (StopWord) VALUES ('cannot');
-INSERT INTO be_StopWords (StopWord) VALUES ('com');
-INSERT INTO be_StopWords (StopWord) VALUES ('could');
-INSERT INTO be_StopWords (StopWord) VALUES ('de');
-INSERT INTO be_StopWords (StopWord) VALUES ('do');
-INSERT INTO be_StopWords (StopWord) VALUES ('down');
-INSERT INTO be_StopWords (StopWord) VALUES ('each');
-INSERT INTO be_StopWords (StopWord) VALUES ('either');
-INSERT INTO be_StopWords (StopWord) VALUES ('en');
-INSERT INTO be_StopWords (StopWord) VALUES ('for');
-INSERT INTO be_StopWords (StopWord) VALUES ('from');
-INSERT INTO be_StopWords (StopWord) VALUES ('good');
-INSERT INTO be_StopWords (StopWord) VALUES ('has');
-INSERT INTO be_StopWords (StopWord) VALUES ('have');
-INSERT INTO be_StopWords (StopWord) VALUES ('he');
-INSERT INTO be_StopWords (StopWord) VALUES ('her');
-INSERT INTO be_StopWords (StopWord) VALUES ('here');
-INSERT INTO be_StopWords (StopWord) VALUES ('hers');
-INSERT INTO be_StopWords (StopWord) VALUES ('his');
-INSERT INTO be_StopWords (StopWord) VALUES ('how');
-INSERT INTO be_StopWords (StopWord) VALUES ('i');
-INSERT INTO be_StopWords (StopWord) VALUES ('if');
-INSERT INTO be_StopWords (StopWord) VALUES ('in');
-INSERT INTO be_StopWords (StopWord) VALUES ('into');
-INSERT INTO be_StopWords (StopWord) VALUES ('is');
-INSERT INTO be_StopWords (StopWord) VALUES ('it');
-INSERT INTO be_StopWords (StopWord) VALUES ('its');
-INSERT INTO be_StopWords (StopWord) VALUES ('just');
-INSERT INTO be_StopWords (StopWord) VALUES ('la');
-INSERT INTO be_StopWords (StopWord) VALUES ('like');
-INSERT INTO be_StopWords (StopWord) VALUES ('long');
-INSERT INTO be_StopWords (StopWord) VALUES ('make');
-INSERT INTO be_StopWords (StopWord) VALUES ('me');
-INSERT INTO be_StopWords (StopWord) VALUES ('more');
-INSERT INTO be_StopWords (StopWord) VALUES ('much');
-INSERT INTO be_StopWords (StopWord) VALUES ('my');
-INSERT INTO be_StopWords (StopWord) VALUES ('need');
-INSERT INTO be_StopWords (StopWord) VALUES ('new');
-INSERT INTO be_StopWords (StopWord) VALUES ('now');
-INSERT INTO be_StopWords (StopWord) VALUES ('of');
-INSERT INTO be_StopWords (StopWord) VALUES ('off');
-INSERT INTO be_StopWords (StopWord) VALUES ('on');
-INSERT INTO be_StopWords (StopWord) VALUES ('once');
-INSERT INTO be_StopWords (StopWord) VALUES ('one');
-INSERT INTO be_StopWords (StopWord) VALUES ('ones');
-INSERT INTO be_StopWords (StopWord) VALUES ('only');
-INSERT INTO be_StopWords (StopWord) VALUES ('or');
-INSERT INTO be_StopWords (StopWord) VALUES ('our');
-INSERT INTO be_StopWords (StopWord) VALUES ('out');
-INSERT INTO be_StopWords (StopWord) VALUES ('over');
-INSERT INTO be_StopWords (StopWord) VALUES ('own');
-INSERT INTO be_StopWords (StopWord) VALUES ('really');
-INSERT INTO be_StopWords (StopWord) VALUES ('right');
-INSERT INTO be_StopWords (StopWord) VALUES ('same');
-INSERT INTO be_StopWords (StopWord) VALUES ('see');
-INSERT INTO be_StopWords (StopWord) VALUES ('she');
-INSERT INTO be_StopWords (StopWord) VALUES ('so');
-INSERT INTO be_StopWords (StopWord) VALUES ('some');
-INSERT INTO be_StopWords (StopWord) VALUES ('such');
-INSERT INTO be_StopWords (StopWord) VALUES ('take');
-INSERT INTO be_StopWords (StopWord) VALUES ('takes');
-INSERT INTO be_StopWords (StopWord) VALUES ('that');
-INSERT INTO be_StopWords (StopWord) VALUES ('the');
-INSERT INTO be_StopWords (StopWord) VALUES ('their');
-INSERT INTO be_StopWords (StopWord) VALUES ('these');
-INSERT INTO be_StopWords (StopWord) VALUES ('thing');
-INSERT INTO be_StopWords (StopWord) VALUES ('this');
-INSERT INTO be_StopWords (StopWord) VALUES ('to');
-INSERT INTO be_StopWords (StopWord) VALUES ('too');
-INSERT INTO be_StopWords (StopWord) VALUES ('took');
-INSERT INTO be_StopWords (StopWord) VALUES ('und');
-INSERT INTO be_StopWords (StopWord) VALUES ('up');
-INSERT INTO be_StopWords (StopWord) VALUES ('use');
-INSERT INTO be_StopWords (StopWord) VALUES ('used');
-INSERT INTO be_StopWords (StopWord) VALUES ('using');
-INSERT INTO be_StopWords (StopWord) VALUES ('very');
-INSERT INTO be_StopWords (StopWord) VALUES ('was');
-INSERT INTO be_StopWords (StopWord) VALUES ('we');
-INSERT INTO be_StopWords (StopWord) VALUES ('well');
-INSERT INTO be_StopWords (StopWord) VALUES ('what');
-INSERT INTO be_StopWords (StopWord) VALUES ('when');
-INSERT INTO be_StopWords (StopWord) VALUES ('where');
-INSERT INTO be_StopWords (StopWord) VALUES ('who');
-INSERT INTO be_StopWords (StopWord) VALUES ('will');
-INSERT INTO be_StopWords (StopWord) VALUES ('with');
-INSERT INTO be_StopWords (StopWord) VALUES ('www');
-INSERT INTO be_StopWords (StopWord) VALUES ('you');
-INSERT INTO be_StopWords (StopWord) VALUES ('your');
-
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 );
-
-DECLARE @postID uniqueidentifier, @catID uniqueidentifier;
-
-SET @postID = NEWID();
-SET @catID = NEWID();
-
-INSERT INTO be_Categories (CategoryID, CategoryName)
- VALUES (@catID, 'General');
-
-INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished)
- VALUES (@postID,
- 'Welcome to BlogEngine.NET 1.6 using Microsoft SQL Server',
- 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory',
- '
If you see this post it means that BlogEngine.NET 1.6 is running with SQL Server and the DbBlogProvider is configured correctly.
-
Setup
-
If you are using the ASP.NET Membership provider, you are set to use existing users. If you are using the default BlogEngine.NET XML provider, it is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.
-
Write permissions
-
Since you are using SQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.
-
On the web
-
You can find BlogEngine.NET on the official website. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '
Thank you
The message was sent.
');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', '');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5');
-INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', '');
-
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2');
-INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com');
-INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping');
-INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx');
-INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 ');
-INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2');
-INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/');
-
-INSERT INTO be_StopWords (StopWord) VALUES ('a');
-INSERT INTO be_StopWords (StopWord) VALUES ('about');
-INSERT INTO be_StopWords (StopWord) VALUES ('actually');
-INSERT INTO be_StopWords (StopWord) VALUES ('add');
-INSERT INTO be_StopWords (StopWord) VALUES ('after');
-INSERT INTO be_StopWords (StopWord) VALUES ('all');
-INSERT INTO be_StopWords (StopWord) VALUES ('almost');
-INSERT INTO be_StopWords (StopWord) VALUES ('along');
-INSERT INTO be_StopWords (StopWord) VALUES ('also');
-INSERT INTO be_StopWords (StopWord) VALUES ('an');
-INSERT INTO be_StopWords (StopWord) VALUES ('and');
-INSERT INTO be_StopWords (StopWord) VALUES ('any');
-INSERT INTO be_StopWords (StopWord) VALUES ('are');
-INSERT INTO be_StopWords (StopWord) VALUES ('as');
-INSERT INTO be_StopWords (StopWord) VALUES ('at');
-INSERT INTO be_StopWords (StopWord) VALUES ('be');
-INSERT INTO be_StopWords (StopWord) VALUES ('both');
-INSERT INTO be_StopWords (StopWord) VALUES ('but');
-INSERT INTO be_StopWords (StopWord) VALUES ('by');
-INSERT INTO be_StopWords (StopWord) VALUES ('can');
-INSERT INTO be_StopWords (StopWord) VALUES ('cannot');
-INSERT INTO be_StopWords (StopWord) VALUES ('com');
-INSERT INTO be_StopWords (StopWord) VALUES ('could');
-INSERT INTO be_StopWords (StopWord) VALUES ('de');
-INSERT INTO be_StopWords (StopWord) VALUES ('do');
-INSERT INTO be_StopWords (StopWord) VALUES ('down');
-INSERT INTO be_StopWords (StopWord) VALUES ('each');
-INSERT INTO be_StopWords (StopWord) VALUES ('either');
-INSERT INTO be_StopWords (StopWord) VALUES ('en');
-INSERT INTO be_StopWords (StopWord) VALUES ('for');
-INSERT INTO be_StopWords (StopWord) VALUES ('from');
-INSERT INTO be_StopWords (StopWord) VALUES ('good');
-INSERT INTO be_StopWords (StopWord) VALUES ('has');
-INSERT INTO be_StopWords (StopWord) VALUES ('have');
-INSERT INTO be_StopWords (StopWord) VALUES ('he');
-INSERT INTO be_StopWords (StopWord) VALUES ('her');
-INSERT INTO be_StopWords (StopWord) VALUES ('here');
-INSERT INTO be_StopWords (StopWord) VALUES ('hers');
-INSERT INTO be_StopWords (StopWord) VALUES ('his');
-INSERT INTO be_StopWords (StopWord) VALUES ('how');
-INSERT INTO be_StopWords (StopWord) VALUES ('i');
-INSERT INTO be_StopWords (StopWord) VALUES ('if');
-INSERT INTO be_StopWords (StopWord) VALUES ('in');
-INSERT INTO be_StopWords (StopWord) VALUES ('into');
-INSERT INTO be_StopWords (StopWord) VALUES ('is');
-INSERT INTO be_StopWords (StopWord) VALUES ('it');
-INSERT INTO be_StopWords (StopWord) VALUES ('its');
-INSERT INTO be_StopWords (StopWord) VALUES ('just');
-INSERT INTO be_StopWords (StopWord) VALUES ('la');
-INSERT INTO be_StopWords (StopWord) VALUES ('like');
-INSERT INTO be_StopWords (StopWord) VALUES ('long');
-INSERT INTO be_StopWords (StopWord) VALUES ('make');
-INSERT INTO be_StopWords (StopWord) VALUES ('me');
-INSERT INTO be_StopWords (StopWord) VALUES ('more');
-INSERT INTO be_StopWords (StopWord) VALUES ('much');
-INSERT INTO be_StopWords (StopWord) VALUES ('my');
-INSERT INTO be_StopWords (StopWord) VALUES ('need');
-INSERT INTO be_StopWords (StopWord) VALUES ('new');
-INSERT INTO be_StopWords (StopWord) VALUES ('now');
-INSERT INTO be_StopWords (StopWord) VALUES ('of');
-INSERT INTO be_StopWords (StopWord) VALUES ('off');
-INSERT INTO be_StopWords (StopWord) VALUES ('on');
-INSERT INTO be_StopWords (StopWord) VALUES ('once');
-INSERT INTO be_StopWords (StopWord) VALUES ('one');
-INSERT INTO be_StopWords (StopWord) VALUES ('ones');
-INSERT INTO be_StopWords (StopWord) VALUES ('only');
-INSERT INTO be_StopWords (StopWord) VALUES ('or');
-INSERT INTO be_StopWords (StopWord) VALUES ('our');
-INSERT INTO be_StopWords (StopWord) VALUES ('out');
-INSERT INTO be_StopWords (StopWord) VALUES ('over');
-INSERT INTO be_StopWords (StopWord) VALUES ('own');
-INSERT INTO be_StopWords (StopWord) VALUES ('really');
-INSERT INTO be_StopWords (StopWord) VALUES ('right');
-INSERT INTO be_StopWords (StopWord) VALUES ('same');
-INSERT INTO be_StopWords (StopWord) VALUES ('see');
-INSERT INTO be_StopWords (StopWord) VALUES ('she');
-INSERT INTO be_StopWords (StopWord) VALUES ('so');
-INSERT INTO be_StopWords (StopWord) VALUES ('some');
-INSERT INTO be_StopWords (StopWord) VALUES ('such');
-INSERT INTO be_StopWords (StopWord) VALUES ('take');
-INSERT INTO be_StopWords (StopWord) VALUES ('takes');
-INSERT INTO be_StopWords (StopWord) VALUES ('that');
-INSERT INTO be_StopWords (StopWord) VALUES ('the');
-INSERT INTO be_StopWords (StopWord) VALUES ('their');
-INSERT INTO be_StopWords (StopWord) VALUES ('these');
-INSERT INTO be_StopWords (StopWord) VALUES ('thing');
-INSERT INTO be_StopWords (StopWord) VALUES ('this');
-INSERT INTO be_StopWords (StopWord) VALUES ('to');
-INSERT INTO be_StopWords (StopWord) VALUES ('too');
-INSERT INTO be_StopWords (StopWord) VALUES ('took');
-INSERT INTO be_StopWords (StopWord) VALUES ('und');
-INSERT INTO be_StopWords (StopWord) VALUES ('up');
-INSERT INTO be_StopWords (StopWord) VALUES ('use');
-INSERT INTO be_StopWords (StopWord) VALUES ('used');
-INSERT INTO be_StopWords (StopWord) VALUES ('using');
-INSERT INTO be_StopWords (StopWord) VALUES ('very');
-INSERT INTO be_StopWords (StopWord) VALUES ('was');
-INSERT INTO be_StopWords (StopWord) VALUES ('we');
-INSERT INTO be_StopWords (StopWord) VALUES ('well');
-INSERT INTO be_StopWords (StopWord) VALUES ('what');
-INSERT INTO be_StopWords (StopWord) VALUES ('when');
-INSERT INTO be_StopWords (StopWord) VALUES ('where');
-INSERT INTO be_StopWords (StopWord) VALUES ('who');
-INSERT INTO be_StopWords (StopWord) VALUES ('will');
-INSERT INTO be_StopWords (StopWord) VALUES ('with');
-INSERT INTO be_StopWords (StopWord) VALUES ('www');
-INSERT INTO be_StopWords (StopWord) VALUES ('you');
-INSERT INTO be_StopWords (StopWord) VALUES ('your');
-
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 );
-INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex )
-VALUES ( '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 );
-
-DECLARE @postID uniqueidentifier, @catID uniqueidentifier;
-
-SET @postID = NEWID();
-SET @catID = NEWID();
-
-INSERT INTO be_Categories (CategoryID, CategoryName)
- VALUES (@catID, 'General');
-
-INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished)
- VALUES (@postID,
- 'Welcome to BlogEngine.NET 2.0 using Microsoft SQL Server',
- 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory',
- '
If you see this post it means that BlogEngine.NET 2.0 is running and the hard part of creating your own blog is done. There is only a few things left to do.
-
Write Permissions
-
To be able to log in to the blog and writing posts, you need to enable write permissions on the App_Data folder. If you’re blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support. You need write permissions on the App_Data folder because all posts, comments, and blog attachments are saved as XML files and placed in the App_Data folder.
-
If you wish to use a database to to store your blog data, we still encourage you to enable this write access for an images you may wish to store for your blog posts. If you are interested in using Microsoft SQL Server, MySQL, SQL CE, or other databases, please see the BlogEngine wiki to get started.
-
Security
-
When you''ve got write permissions to the App_Data folder, you need to change the username and password. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password. Passwords are hashed by default so if you lose your password, please see the BlogEngine wiki for information on recovery.
-
Configuration and Profile
-
Now that you have your blog secured, take a look through the settings and give your new blog a title. BlogEngine.NET 1.4 is set up to take full advantage of of many semantic formats and technologies such as FOAF, SIOC and APML. It means that the content stored in your BlogEngine.NET installation will be fully portable and auto-discoverable. Be sure to fill in your author profile to take better advantage of this.
-
Themes and Widgets
-
One last thing to consider is customizing the look of your blog. We have a few themes available right out of the box including two fully setup to use our new widget framework. The widget framework allows drop and drag placement on your side bar as well as editing and configuration right in the widget while you are logged in. Be sure to check out our home page for more theme choices and downloadable widgets to add to your blog.
-
Try Out New Features
-
BlogEngine now supports code syntax highlighting and HTML5 video out of the box. To add a video, click the "Insert video" button just above the post editor. Once your video is uploaded, use the following syntax to show it: [video src="be-sample.mp4"]. Make sure to add "video/mp4" as a MIME type to your IIS.
You can add formatted code by pressing the "Insert Code" button on the post editor toolbar. Here is a small sample:
-
// Hello1.cs
-public class Hello1
-{
- public static void Main()
- {
- System.Console.WriteLine("Hello, World!");
- }
-}
-
-
On the web
-
You can find BlogEngine.NET on the official website. Here you''ll find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.
-
Good luck and happy writing.
-
The BlogEngine.NET team
',
- GETDATE(),
- 'admin',
- 1);
-
-INSERT INTO be_PostCategory (PostID, CategoryID)
- VALUES (@postID, @catID);
-INSERT INTO be_PostTag (PostID, Tag)
- VALUES (@postID, 'blog');
-INSERT INTO be_PostTag (PostID, Tag)
- VALUES (@postID, 'welcome');
-
-INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress)
- VALUES ('Admin', '', GETDATE(), 'email@example.com');
-INSERT INTO be_Roles (Role)
- VALUES ('Administrators');
-INSERT INTO be_Roles (Role)
- VALUES ('Editors');
-INSERT INTO be_UserRoles (UserID, RoleID)
-VALUES (1, 1);
-
-INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings)
-VALUES (1, 'be_WIDGET_ZONE',
-'
-
- <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets>
-');
-
-GO
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.5.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.5.0.0.sql
deleted file mode 100644
index b79d5bf73..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.5.0.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.6.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.6.0.0.sql
deleted file mode 100644
index 48e258841..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.6.0.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.7.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.7.0.0.sql
deleted file mode 100644
index 850c174a5..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.7.0.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.8.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.8.0.0.sql
deleted file mode 100644
index 8c805d18f..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.8.0.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.0.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.0.0.0.sql
deleted file mode 100644
index 3bc79ee18..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.0.0.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.1.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.1.0.0.sql
deleted file mode 100644
index feed6d774..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.1.0.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.5To1.6.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.5To1.6.sql
deleted file mode 100644
index 77e85674e..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.5To1.6.sql
+++ /dev/null
@@ -1,39 +0,0 @@
-
-CREATE TABLE [dbo].[be_BlogRollItems](
- [BlogRollId] [uniqueidentifier] NOT NULL,
- [Title] [nvarchar](255) NOT NULL,
- [Description] [nvarchar](max) NULL,
- [BlogUrl] [varchar](255) NOT NULL,
- [FeedUrl] [varchar](255) NULL,
- [Xfn] [varchar](255) NULL,
- [SortIndex] [int] NOT NULL,
- CONSTRAINT [PK_be_BlogRollItems] PRIMARY KEY CLUSTERED
-(
- [BlogRollId] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-
-CREATE TABLE [dbo].[be_Referrers](
- [ReferrerId] [uniqueidentifier] NOT NULL,
- [ReferralDay] [datetime] NOT NULL CONSTRAINT [DF_be_Referrers_Day] DEFAULT (getdate()),
- [ReferrerUrl] [varchar](255) NOT NULL,
- [ReferralCount] [int] NOT NULL,
- [Url] [varchar](255) NULL,
- [IsSpam] [bit] NULL,
- CONSTRAINT [PK_be_Referrers] PRIMARY KEY CLUSTERED
-(
- [ReferrerId] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-
-ALTER TABLE dbo.be_Pages ADD Slug nvarchar(255) NULL
-GO
-
-ALTER TABLE dbo.be_PostComment ADD ModeratedBy nvarchar(100) NULL
-GO
-
-ALTER TABLE dbo.be_PostComment ADD Avatar nvarchar(255) NULL
-GO
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.6To2.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.6To2.0.sql
deleted file mode 100644
index 2ca0a0ea1..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.6To2.0.sql
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-ALTER TABLE [dbo].[be_PostComment] ADD IsSpam bit NOT NULL DEFAULT 0
-GO
-
-ALTER TABLE [dbo].[be_PostComment] ADD IsDeleted bit NOT NULL DEFAULT 0
-GO
-
-ALTER TABLE [dbo].[be_Posts] ADD IsDeleted bit NOT NULL DEFAULT 0
-GO
-
-ALTER TABLE [dbo].[be_Pages] ADD IsDeleted bit NOT NULL DEFAULT 0
-GO
-
-CREATE TABLE [dbo].[be_Rights](
- [RightName] [nvarchar](100) NOT NULL,
- CONSTRAINT [PK_be_Rights] PRIMARY KEY CLUSTERED
-(
- [RightName] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-
-CREATE TABLE [dbo].[be_RightRoles](
- [RightName] [nvarchar](100) NOT NULL,
- [Role] [nvarchar](100) NOT NULL,
- CONSTRAINT [PK_be_RightRoles] PRIMARY KEY CLUSTERED
-(
- [RightName] ASC,
- [Role] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.0to2.5.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.0to2.5.sql
deleted file mode 100644
index 176642302..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.0to2.5.sql
+++ /dev/null
@@ -1,874 +0,0 @@
-
-
-SET CONCAT_NULL_YIELDS_NULL, ANSI_NULLS, ANSI_PADDING, QUOTED_IDENTIFIER, ANSI_WARNINGS, ARITHABORT ON
-SET NUMERIC_ROUNDABORT, IMPLICIT_TRANSACTIONS, XACT_ABORT OFF
-GO
-
---
--- Drop foreign key FK_be_PostCategory_be_Categories on table "be_PostCategory"
---
-ALTER TABLE dbo.be_PostCategory
- DROP CONSTRAINT FK_be_PostCategory_be_Categories
-GO
-
---
--- Drop foreign key FK_be_PostCategory_be_Posts on table "be_PostCategory"
---
-ALTER TABLE dbo.be_PostCategory
- DROP CONSTRAINT FK_be_PostCategory_be_Posts
-GO
-
---
--- Drop foreign key FK_be_PostComment_be_Posts on table "be_PostComment"
---
-ALTER TABLE dbo.be_PostComment
- DROP CONSTRAINT FK_be_PostComment_be_Posts
-GO
-
---
--- Drop foreign key FK_be_PostNotify_be_Posts on table "be_PostNotify"
---
-ALTER TABLE dbo.be_PostNotify
- DROP CONSTRAINT FK_be_PostNotify_be_Posts
-GO
-
---
--- Drop foreign key FK_be_PostTag_be_Posts on table "be_PostTag"
---
-ALTER TABLE dbo.be_PostTag
- DROP CONSTRAINT FK_be_PostTag_be_Posts
-GO
-
---
--- Create column "BlogID" on table "dbo.be_Users"
---
-ALTER TABLE dbo.be_Users
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Users SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Users
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create index "idx_be_Users_BlogId_UserName" on table "be_Users"
---
-CREATE INDEX idx_be_Users_BlogId_UserName
- ON dbo.be_Users (BlogID, UserName)
-GO
-
---
--- Drop foreign key FK_be_UserRoles_be_Roles on table "be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- DROP CONSTRAINT FK_be_UserRoles_be_Roles
-GO
-
---
--- Drop foreign key FK_be_UserRoles_be_Users on table "be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- DROP CONSTRAINT FK_be_UserRoles_be_Users
-GO
-
---
--- Create column "BlogID" on table "dbo.be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_UserRoles SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_UserRoles
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create column "UserName" on table "dbo.be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- ADD UserName nvarchar(100) NULL
-GO
-
---
--- Create column "[Role]" on table "dbo.be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- ADD [Role] nvarchar(100) NULL
-GO
-
---
--- Insert/Lookup values for UserName and Role on table "dbo.be_UserRoles"
---
-UPDATE dbo.be_UserRoles
-SET [UserName] =
-(
-SELECT [UserName]
-FROM dbo.be_Users
-WHERE dbo.be_Users.[UserID] = dbo.be_UserRoles.[UserID]
-),
-[Role] =
-(
-SELECT [Role]
-FROM dbo.be_Roles
-WHERE dbo.be_Roles.RoleID = dbo.be_UserRoles.RoleID
-);
-
-ALTER TABLE dbo.be_UserRoles
- ALTER
- COLUMN UserName nvarchar(100) NOT NULL
-GO
-
-ALTER TABLE dbo.be_UserRoles
- ALTER
- COLUMN [Role] nvarchar(100) NOT NULL
-GO
-
---
--- Drop column "UserID" from table "dbo.be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- DROP COLUMN UserID
-GO
-
---
--- Drop column "RoleID" from table "dbo.be_UserRoles"
---
-ALTER TABLE dbo.be_UserRoles
- DROP COLUMN RoleID
-GO
-
---
--- Create index "idx_be_UserRoles_BlogId" on table "be_UserRoles"
---
-CREATE INDEX idx_be_UserRoles_BlogId
- ON dbo.be_UserRoles (BlogID)
-GO
-
---
--- Drop primary key PK_be_StopWords on table "be_StopWords"
---
-ALTER TABLE dbo.be_StopWords
- DROP CONSTRAINT PK_be_StopWords
-GO
-
---
--- Create column "StopWordRowId" on table "dbo.be_StopWords"
---
-ALTER TABLE dbo.be_StopWords
- ADD StopWordRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_StopWords"
---
-ALTER TABLE dbo.be_StopWords
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_StopWords SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_StopWords
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_StopWords on table "be_StopWords"
---
-ALTER TABLE dbo.be_StopWords
- ADD CONSTRAINT PK_be_StopWords PRIMARY KEY (StopWordRowId)
-GO
-
---
--- Create index "idx_be_StopWords_BlogId" on table "be_StopWords"
---
-CREATE INDEX idx_be_StopWords_BlogId
- ON dbo.be_StopWords (BlogId)
-GO
-
---
--- Drop primary key PK_be_Settings on table "be_Settings"
---
-ALTER TABLE dbo.be_Settings
- DROP CONSTRAINT PK_be_Settings
-GO
-
---
--- Create column "SettingRowId" on table "dbo.be_Settings"
---
-ALTER TABLE dbo.be_Settings
- ADD SettingRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_Settings"
---
-ALTER TABLE dbo.be_Settings
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Settings SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Settings
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_Settings on table "be_Settings"
---
-ALTER TABLE dbo.be_Settings
- ADD CONSTRAINT PK_be_Settings PRIMARY KEY (SettingRowId)
-GO
-
---
--- Create index "idx_be_Settings_BlogId" on table "be_Settings"
---
-CREATE INDEX idx_be_Settings_BlogId
- ON dbo.be_Settings (BlogId)
-GO
-
---
--- Create column "BlogID" on table "dbo.be_Roles"
---
-ALTER TABLE dbo.be_Roles
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Roles SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Roles
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create index "idx_be_Roles_BlogID_Role" on table "be_Roles"
---
-CREATE UNIQUE INDEX idx_be_Roles_BlogID_Role
- ON dbo.be_Roles (BlogID, [Role])
-GO
-
---
--- Drop primary key PK_be_Rights on table "be_Rights"
---
-ALTER TABLE dbo.be_Rights
- DROP CONSTRAINT PK_be_Rights
-GO
-
---
--- Create column "RightRowId" on table "dbo.be_Rights"
---
-ALTER TABLE dbo.be_Rights
- ADD RightRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_Rights"
---
-ALTER TABLE dbo.be_Rights
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Rights SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Rights
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_Rights on table "be_Rights"
---
-ALTER TABLE dbo.be_Rights
- ADD CONSTRAINT PK_be_Rights PRIMARY KEY (RightRowId)
-GO
-
---
--- Create index "idx_be_Rights_BlogId" on table "be_Rights"
---
-CREATE INDEX idx_be_Rights_BlogId
- ON dbo.be_Rights (BlogId)
-GO
-
---
--- Drop primary key PK_be_RightRoles on table "be_RightRoles"
---
-ALTER TABLE dbo.be_RightRoles
- DROP CONSTRAINT PK_be_RightRoles
-GO
-
---
--- Create column "RightRoleRowId" on table "dbo.be_RightRoles"
---
-ALTER TABLE dbo.be_RightRoles
- ADD RightRoleRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_RightRoles"
---
-ALTER TABLE dbo.be_RightRoles
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_RightRoles SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_RightRoles
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_RightRoles on table "be_RightRoles"
---
-ALTER TABLE dbo.be_RightRoles
- ADD CONSTRAINT PK_be_RightRoles PRIMARY KEY (RightRoleRowId)
-GO
-
---
--- Create index "idx_be_RightRoles_BlogId" on table "be_RightRoles"
---
-CREATE INDEX idx_be_RightRoles_BlogId
- ON dbo.be_RightRoles (BlogId)
-GO
-
---
--- Drop primary key PK_be_Referrers on table "be_Referrers"
---
-ALTER TABLE dbo.be_Referrers
- DROP CONSTRAINT PK_be_Referrers
-GO
-
---
--- Create column "ReferrerRowId" on table "dbo.be_Referrers"
---
-ALTER TABLE dbo.be_Referrers
- ADD ReferrerRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_Referrers"
---
-ALTER TABLE dbo.be_Referrers
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Referrers SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Referrers
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_Referrers on table "be_Referrers"
---
-ALTER TABLE dbo.be_Referrers
- ADD CONSTRAINT PK_be_Referrers PRIMARY KEY (ReferrerRowId)
-GO
-
---
--- Create index "idx_be_Referrers_BlogId" on table "be_Referrers"
---
-CREATE INDEX idx_be_Referrers_BlogId
- ON dbo.be_Referrers (BlogId)
-GO
-
---
--- Drop index "I_UserName" from table "be_Profiles"
---
-DROP INDEX I_UserName ON dbo.be_Profiles
-GO
-
---
--- Create column "BlogID" on table "dbo.be_Profiles"
---
-ALTER TABLE dbo.be_Profiles
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Profiles SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Profiles
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create index "idx_be_Profiles_BlogId_UserName" on table "be_Profiles"
---
-CREATE INDEX idx_be_Profiles_BlogId_UserName
- ON dbo.be_Profiles (BlogID, UserName)
-GO
-
---
--- Drop primary key PK_be_Posts on table "be_Posts"
---
-ALTER TABLE dbo.be_Posts
- DROP CONSTRAINT PK_be_Posts
-GO
-
---
--- Create column "PostRowID" on table "dbo.be_Posts"
---
-ALTER TABLE dbo.be_Posts
- ADD PostRowID int IDENTITY
-GO
-
---
--- Create column "BlogID" on table "dbo.be_Posts"
---
-ALTER TABLE dbo.be_Posts
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Posts SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Posts
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_Posts on table "be_Posts"
---
-ALTER TABLE dbo.be_Posts
- ADD CONSTRAINT PK_be_Posts PRIMARY KEY (PostRowID)
-GO
-
---
--- Create index "be_Posts_BlogID_PostID" on table "be_Posts"
---
-CREATE UNIQUE INDEX be_Posts_BlogID_PostID
- ON dbo.be_Posts (BlogID, PostID)
-GO
-
---
--- Drop index "FK_PostID" from table "be_PostTag"
---
-DROP INDEX FK_PostID ON dbo.be_PostTag
-GO
-
---
--- Create column "BlogID" on table "dbo.be_PostTag"
---
-ALTER TABLE dbo.be_PostTag
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_PostTag SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_PostTag
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create foreign key on table "be_PostTag"
---
-ALTER TABLE dbo.be_PostTag
- ADD CONSTRAINT FK_be_PostTag_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID)
-GO
-
---
--- Create index "idx_be_PostTag_BlogId_PostId" on table "be_PostTag"
---
-CREATE INDEX idx_be_PostTag_BlogId_PostId
- ON dbo.be_PostTag (BlogID, PostID)
-GO
-
---
--- Drop index "FK_PostID" from table "be_PostNotify"
---
-DROP INDEX FK_PostID ON dbo.be_PostNotify
-GO
-
---
--- Rename primary key "PK_be_PostNotify" to "idx_be_PostCategory_BlogId_PostId" on Table "be_PostNotify"
---
-EXEC sp_rename N'dbo.PK_be_PostNotify', N'idx_be_PostCategory_BlogId_PostId', 'OBJECT'
-GO
-
---
--- Create column "BlogID" on table "dbo.be_PostNotify"
---
-ALTER TABLE dbo.be_PostNotify
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_PostNotify SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_PostNotify
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create foreign key on table "be_PostNotify"
---
-ALTER TABLE dbo.be_PostNotify
- ADD CONSTRAINT FK_be_PostNotify_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID)
-GO
-
---
--- Create index "FK_PostID" on table "be_PostNotify"
---
-CREATE INDEX FK_PostID
- ON dbo.be_PostNotify (BlogID, PostID)
-GO
-
---
--- Drop index "FK_PostID" from table "be_PostComment"
---
-DROP INDEX FK_PostID ON dbo.be_PostComment
-GO
-
---
--- Drop primary key PK_be_PostComment on table "be_PostComment"
---
-ALTER TABLE dbo.be_PostComment
- DROP CONSTRAINT PK_be_PostComment
-GO
-
---
--- Create column "PostCommentRowID" on table "dbo.be_PostComment"
---
-ALTER TABLE dbo.be_PostComment
- ADD PostCommentRowID int IDENTITY
-GO
-
---
--- Create column "BlogID" on table "dbo.be_PostComment"
---
-ALTER TABLE dbo.be_PostComment
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_PostComment SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_PostComment
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_PostComment on table "be_PostComment"
---
-ALTER TABLE dbo.be_PostComment
- ADD CONSTRAINT PK_be_PostComment PRIMARY KEY (PostCommentRowID)
-GO
-
---
--- Create index "idx_be_PostComment_BlogId_PostId" on table "be_PostComment"
---
-CREATE INDEX idx_be_PostComment_BlogId_PostId
- ON dbo.be_PostComment (BlogID, PostID)
-GO
-
---
--- Create foreign key on table "be_PostComment"
---
-ALTER TABLE dbo.be_PostComment
- ADD CONSTRAINT FK_be_PostComment_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID)
-GO
-
---
--- Rename primary key "PK_be_PingService" to "PK_be_PingService_1" on Table "be_PingService"
---
-EXEC sp_rename N'dbo.PK_be_PingService', N'PK_be_PingService_1', 'OBJECT'
-GO
-
---
--- Create column "BlogID" on table "dbo.be_PingService"
---
-ALTER TABLE dbo.be_PingService
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_PingService SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_PingService
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create index "idx_be_PingService_BlogId" on table "be_PingService"
---
-CREATE INDEX idx_be_PingService_BlogId
- ON dbo.be_PingService (BlogID)
-GO
-
---
--- Drop primary key PK_be_Pages on table "be_Pages"
---
-ALTER TABLE dbo.be_Pages
- DROP CONSTRAINT PK_be_Pages
-GO
-
---
--- Create column "PageRowID" on table "dbo.be_Pages"
---
-ALTER TABLE dbo.be_Pages
- ADD PageRowID int IDENTITY
-GO
-
---
--- Create column "BlogID" on table "dbo.be_Pages"
---
-ALTER TABLE dbo.be_Pages
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Pages SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Pages
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_Pages on table "be_Pages"
---
-ALTER TABLE dbo.be_Pages
- ADD CONSTRAINT PK_be_Pages PRIMARY KEY (PageRowID)
-GO
-
---
--- Create index "idx_Pages_BlogId_PageId" on table "be_Pages"
---
-CREATE INDEX idx_Pages_BlogId_PageId
- ON dbo.be_Pages (BlogID, PageID)
-GO
-
---
--- Drop index "I_TypeID" from table "be_DataStoreSettings"
---
-DROP INDEX I_TypeID ON dbo.be_DataStoreSettings
-GO
-
---
--- Create column "DataStoreSettingRowId" on table "dbo.be_DataStoreSettings"
---
-ALTER TABLE dbo.be_DataStoreSettings
- ADD DataStoreSettingRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_DataStoreSettings"
---
-ALTER TABLE dbo.be_DataStoreSettings
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_DataStoreSettings SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_DataStoreSettings
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_DataStoreSettings on table "be_DataStoreSettings"
---
-ALTER TABLE dbo.be_DataStoreSettings
- ADD CONSTRAINT PK_be_DataStoreSettings PRIMARY KEY (DataStoreSettingRowId)
-GO
-
---
--- Create index "idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID" on table "be_DataStoreSettings"
---
-CREATE INDEX idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID
- ON dbo.be_DataStoreSettings (BlogId, ExtensionType, ExtensionId)
-GO
-
---
--- Drop primary key PK_be_Categories on table "be_Categories"
---
-ALTER TABLE dbo.be_Categories
- DROP CONSTRAINT PK_be_Categories
-GO
-
---
--- Create column "CategoryRowID" on table "dbo.be_Categories"
---
-ALTER TABLE dbo.be_Categories
- ADD CategoryRowID int IDENTITY
-GO
-
---
--- Create column "BlogID" on table "dbo.be_Categories"
---
-ALTER TABLE dbo.be_Categories
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_Categories SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_Categories
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_Categories on table "be_Categories"
---
-ALTER TABLE dbo.be_Categories
- ADD CONSTRAINT PK_be_Categories PRIMARY KEY (CategoryRowID)
-GO
-
---
--- Create index "idx_be_Categories_BlogID_CategoryID" on table "be_Categories"
---
-CREATE UNIQUE INDEX idx_be_Categories_BlogID_CategoryID
- ON dbo.be_Categories (BlogID, CategoryID)
-GO
-
---
--- Drop index "FK_CategoryID" from table "be_PostCategory"
---
-DROP INDEX FK_CategoryID ON dbo.be_PostCategory
-GO
-
---
--- Drop index "FK_PostID" from table "be_PostCategory"
---
-DROP INDEX FK_PostID ON dbo.be_PostCategory
-GO
-
---
--- Rename primary key "PK_be_PostCategory" to "PK_be_PostCategory_1" on Table "be_PostCategory"
---
-EXEC sp_rename N'dbo.PK_be_PostCategory', N'PK_be_PostCategory_1', 'OBJECT'
-GO
-
---
--- Create column "BlogID" on table "dbo.be_PostCategory"
---
-ALTER TABLE dbo.be_PostCategory
- ADD BlogID uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_PostCategory SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_PostCategory
- ALTER
- COLUMN BlogID uniqueidentifier NOT NULL
-GO
-
---
--- Create foreign key on table "be_PostCategory"
---
-ALTER TABLE dbo.be_PostCategory
- ADD CONSTRAINT FK_be_PostCategory_be_Categories FOREIGN KEY (BlogID, CategoryID) REFERENCES dbo.be_Categories (BlogID, CategoryID)
-GO
-
---
--- Create foreign key on table "be_PostCategory"
---
-ALTER TABLE dbo.be_PostCategory
- ADD CONSTRAINT FK_be_PostCategory_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID)
-GO
-
---
--- Create index "idx_be_PostCategory_BlogId_CategoryId" on table "be_PostCategory"
---
-CREATE INDEX idx_be_PostCategory_BlogId_CategoryId
- ON dbo.be_PostCategory (BlogID, CategoryID)
-GO
-
---
--- Create index "idx_be_PostCategory_BlogId_PostId" on table "be_PostCategory"
---
-CREATE INDEX idx_be_PostCategory_BlogId_PostId
- ON dbo.be_PostCategory (BlogID, PostID)
-GO
-
---
--- Create table "dbo.be_Blogs"
---
-CREATE TABLE dbo.be_Blogs (
- BlogRowId int IDENTITY,
- BlogId uniqueidentifier NOT NULL,
- BlogName nvarchar(255) NOT NULL,
- Hostname nvarchar(255) NOT NULL,
- IsAnyTextBeforeHostnameAccepted bit NOT NULL,
- StorageContainerName nvarchar(255) NOT NULL,
- VirtualPath nvarchar(255) NOT NULL,
- IsPrimary bit NOT NULL,
- IsActive bit NOT NULL,
- CONSTRAINT PK_be_Blogs PRIMARY KEY (BlogRowId)
-)
-GO
-
-INSERT [dbo].[be_Blogs] ([BlogId], [BlogName], [Hostname], [IsAnyTextBeforeHostnameAccepted], [StorageContainerName], [VirtualPath], [IsPrimary], [IsActive]) VALUES (N'27604f05-86ad-47ef-9e05-950bb762570c', N'Primary', N'', 0, N'', N'~/', 1, 1)
-GO
-
---
--- Drop primary key PK_be_BlogRollItems on table "be_BlogRollItems"
---
-ALTER TABLE dbo.be_BlogRollItems
- DROP CONSTRAINT PK_be_BlogRollItems
-GO
-
---
--- Create column "BlogRollRowId" on table "dbo.be_BlogRollItems"
---
-ALTER TABLE dbo.be_BlogRollItems
- ADD BlogRollRowId int IDENTITY
-GO
-
---
--- Create column "BlogId" on table "dbo.be_BlogRollItems"
---
-ALTER TABLE dbo.be_BlogRollItems
- ADD BlogId uniqueidentifier NULL
-GO
-
-UPDATE dbo.be_BlogRollItems SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-
-ALTER TABLE dbo.be_BlogRollItems
- ALTER
- COLUMN BlogId uniqueidentifier NOT NULL
-GO
-
---
--- Create primary key PK_be_BlogRollItems on table "be_BlogRollItems"
---
-ALTER TABLE dbo.be_BlogRollItems
- ADD CONSTRAINT PK_be_BlogRollItems PRIMARY KEY (BlogRollRowId)
-GO
-
---
--- Create index "idx_be_BlogRollItems_BlogId" on table "be_BlogRollItems"
---
-CREATE INDEX idx_be_BlogRollItems_BlogId
- ON dbo.be_BlogRollItems (BlogId)
-GO
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.5to2.6.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.5to2.6.sql
deleted file mode 100644
index a6f68701e..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.5to2.6.sql
+++ /dev/null
@@ -1,167 +0,0 @@
-
-
-
---
--- dbo.be_Packages
---
-CREATE TABLE [dbo].[be_Packages](
- [PackageId] [nvarchar](128) NOT NULL,
- [Version] [nvarchar](128) NOT NULL,
- CONSTRAINT [PK_be_Packages] PRIMARY KEY CLUSTERED
-(
- [PackageId] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-
-
---
--- be_PackageFiles
---
-CREATE TABLE [dbo].[be_PackageFiles](
- [PackageId] [nvarchar](128) NOT NULL,
- [FileOrder] [int] NOT NULL,
- [FilePath] [nvarchar](255) NOT NULL,
- [IsDirectory] [bit] NOT NULL,
- CONSTRAINT [PK_be_PackageFiles] PRIMARY KEY CLUSTERED
-(
- [PackageId] ASC,
- [FileOrder] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-
-
---
--- be_QuickNotes
---
-CREATE TABLE [dbo].[be_QuickNotes](
- [QuickNoteID] [int] IDENTITY(1,1) NOT NULL,
- [NoteID] [uniqueidentifier] NOT NULL,
- [BlogID] [uniqueidentifier] NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [Note] [nvarchar](max) NOT NULL,
- [Updated] [datetime] NULL,
- CONSTRAINT [PK_be_QuickNotes] PRIMARY KEY CLUSTERED
-(
- [QuickNoteID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
-
-GO
-CREATE NONCLUSTERED INDEX [idx_be_NoteId_BlogId_UserName] ON [dbo].[be_QuickNotes]
-(
- [NoteID] ASC,
- [BlogID] ASC,
- [UserName] ASC
-)
-GO
-
-
---
--- be_QuickSettings
---
-CREATE TABLE [dbo].[be_QuickSettings](
- [QuickSettingID] [int] IDENTITY(1,1) NOT NULL,
- [BlogID] [uniqueidentifier] NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [SettingName] [nvarchar](255) NOT NULL,
- [SettingValue] [nvarchar](255) NOT NULL,
- CONSTRAINT [PK_be_QuickSettings] PRIMARY KEY CLUSTERED
-(
- [QuickSettingID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-
-
---
--- be_FileStoreDirectory
---
-CREATE TABLE [dbo].[be_FileStoreDirectory](
- [Id] [uniqueidentifier] NOT NULL,
- [ParentID] [uniqueidentifier] NULL,
- [BlogID] [uniqueidentifier] NOT NULL,
- [Name] [varchar](255) NOT NULL,
- [FullPath] [varchar](1000) NOT NULL,
- [CreateDate] [datetime] NOT NULL,
- [LastAccess] [datetime] NOT NULL,
- [LastModify] [datetime] NOT NULL,
- CONSTRAINT [PK_be_FileStoreDirectory] PRIMARY KEY CLUSTERED
-(
- [Id] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-
-
---
--- be_FileStoreFiles
---
-CREATE TABLE [dbo].[be_FileStoreFiles](
- [FileID] [uniqueidentifier] NOT NULL,
- [ParentDirectoryID] [uniqueidentifier] NOT NULL,
- [Name] [varchar](255) NOT NULL,
- [FullPath] [varchar](255) NOT NULL,
- [Contents] [varbinary](max) NOT NULL,
- [Size] [int] NOT NULL,
- [CreateDate] [datetime] NOT NULL,
- [LastAccess] [datetime] NOT NULL,
- [LastModify] [datetime] NOT NULL,
- CONSTRAINT [PK_be_FileStoreFiles] PRIMARY KEY CLUSTERED
-(
- [FileID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-
-
-ALTER TABLE [dbo].[be_FileStoreFiles] WITH CHECK ADD CONSTRAINT [FK_be_FileStoreFiles_be_FileStoreDirectory] FOREIGN KEY([ParentDirectoryID])
-REFERENCES [dbo].[be_FileStoreDirectory] ([Id])
-ON DELETE CASCADE
-GO
-
-ALTER TABLE [dbo].[be_FileStoreFiles] CHECK CONSTRAINT [FK_be_FileStoreFiles_be_FileStoreDirectory]
-GO
-
-
---
--- be_FileStoreFileThumbs
---
-CREATE TABLE [dbo].[be_FileStoreFileThumbs](
- [thumbnailId] [uniqueidentifier] NOT NULL,
- [FileId] [uniqueidentifier] NOT NULL,
- [size] [int] NOT NULL,
- [contents] [varbinary](max) NOT NULL,
- CONSTRAINT [PK_be_FileStoreFileThumbs] PRIMARY KEY CLUSTERED
-(
- [thumbnailId] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-
-ALTER TABLE [dbo].[be_FileStoreFileThumbs] WITH CHECK ADD CONSTRAINT [FK_be_FileStoreFileThumbs_be_FileStoreFiles] FOREIGN KEY([FileId])
-REFERENCES [dbo].[be_FileStoreFiles] ([FileID])
-ON DELETE CASCADE
-GO
-
-ALTER TABLE [dbo].[be_FileStoreFileThumbs] CHECK CONSTRAINT [FK_be_FileStoreFileThumbs_be_FileStoreFiles]
-GO
-
-
---
--- be_Blogs
---
-ALTER TABLE dbo.be_Blogs ADD
- IsSiteAggregation bit NOT NULL CONSTRAINT DF_be_Blogs_IsSiteAggregation DEFAULT 0
-GO
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.8to3.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.8to3.0.sql
deleted file mode 100644
index cbedf1d99..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.8to3.0.sql
+++ /dev/null
@@ -1,27 +0,0 @@
-
---
--- be_CustomFields
---
-CREATE TABLE [dbo].[be_CustomFields](
- [CustomType] [nvarchar](25) NOT NULL,
- [ObjectId] [nvarchar](100) NOT NULL,
- [BlogId] [uniqueidentifier] NOT NULL,
- [Key] [nvarchar](150) NOT NULL,
- [Value] [nvarchar](max) NOT NULL,
- [Attribute] [nvarchar](250) NULL
-)
-GO
-
-CREATE CLUSTERED INDEX [idx_be_CustomType_ObjectId_BlogId_Key] ON [dbo].[be_CustomFields]
-(
- [CustomType] ASC,
- [ObjectId] ASC,
- [BlogId] ASC,
- [Key] ASC
-)
-GO
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom3.0to3.1.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom3.0to3.1.sql
deleted file mode 100644
index f3eac72c3..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom3.0to3.1.sql
+++ /dev/null
@@ -1,51 +0,0 @@
---
--- be_Pages SortOrder
---
-ALTER TABLE dbo.be_Pages ADD
- SortOrder int NOT NULL CONSTRAINT DF_be_Pages_SortOrder DEFAULT 0
-GO
-CREATE NONCLUSTERED INDEX IX_be_Pages ON dbo.be_Pages
- (
- SortOrder
- ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
---
--- ad unique constraints on be_Settings and be_Rights
---
- ALTER TABLE dbo.be_Settings
- ADD CONSTRAINT AK_SettingName UNIQUE (SettingName)
-
- ALTER TABLE dbo.be_Rights
- ADD CONSTRAINT AK_RightName UNIQUE (RightName)
---
--- add new rights to administrators
---
-SET IDENTITY_INSERT [dbo].[be_RightRoles] ON
-GO
-INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26131, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDashboard', N'Administrators')
-GO
-INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26132, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageExtensions', N'Administrators')
-GO
-INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26133, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageThemes', N'Administrators')
-GO
-INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26134, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManagePackages', N'Administrators')
-GO
-SET IDENTITY_INSERT [dbo].[be_RightRoles] OFF
-GO
-SET IDENTITY_INSERT [dbo].[be_Rights] ON
-GO
-INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16081, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDashboard')
-GO
-INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16082, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageExtensions')
-GO
-INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16083, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageThemes')
-GO
-INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16084, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManagePackages')
-GO
-SET IDENTITY_INSERT [dbo].[be_Rights] OFF
-GO
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.3.x.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.3.x.sql
deleted file mode 100644
index 621bd8813..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.3.x.sql
+++ /dev/null
@@ -1,246 +0,0 @@
-/****** BlogEngine.NET 1.4.5 SQL Upgrade Script from 1.3.x ******/
-
-/* be_Categories update */
-ALTER TABLE [dbo].[be_Categories]
- ADD
- [ParentID] [uniqueidentifier] NULL
-GO
-
-/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-SET ANSI_PADDING ON
-GO
-CREATE TABLE [dbo].[be_DataStoreSettings](
- [ExtensionType] [nvarchar](50) NOT NULL,
- [ExtensionId] [nvarchar](100) NOT NULL,
- [Settings] [nvarchar](max) NOT NULL
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Profiles](
- [ProfileID] [int] IDENTITY(1,1) NOT NULL,
- [UserName] [nvarchar](100) NULL,
- [SettingName] [nvarchar](200) NULL,
- [SettingValue] [nvarchar](max) NULL,
- CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED
-(
- [ProfileID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_StopWords](
- [StopWord] [nvarchar](50) NOT NULL,
- CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED
-(
- [StopWord] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Users](
- [UserID] [int] IDENTITY(1,1) NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [Password] [nvarchar](255) NOT NULL,
- [LastLoginTime] [datetime] NULL,
- [EmailAddress] [nvarchar](100) NULL,
- CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED
-(
- [UserID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Roles](
- [RoleID] [int] IDENTITY(1,1) NOT NULL,
- [Role] [nvarchar](100) NOT NULL,
- CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED
-(
- [RoleID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_UserRoles](
- [UserRoleID] [int] IDENTITY(1,1) NOT NULL,
- [UserID] [int] NOT NULL,
- [RoleID] [int] NOT NULL,
- CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED
-(
- [UserRoleID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID])
-REFERENCES [dbo].[be_Roles] ([RoleID])
-GO
-ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles]
-GO
-ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID])
-REFERENCES [dbo].[be_Users] ([UserID])
-GO
-ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users]
-GO
-/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/
-CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings]
-(
- [ExtensionType] ASC,
- [ExtensionId] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/
-CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles]
-(
- [UserName] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-GO
-/*** Load StopWords Data ***/
-INSERT INTO be_StopWords (StopWord) VALUES ('a');
-INSERT INTO be_StopWords (StopWord) VALUES ('about');
-INSERT INTO be_StopWords (StopWord) VALUES ('actually');
-INSERT INTO be_StopWords (StopWord) VALUES ('add');
-INSERT INTO be_StopWords (StopWord) VALUES ('after');
-INSERT INTO be_StopWords (StopWord) VALUES ('all');
-INSERT INTO be_StopWords (StopWord) VALUES ('almost');
-INSERT INTO be_StopWords (StopWord) VALUES ('along');
-INSERT INTO be_StopWords (StopWord) VALUES ('also');
-INSERT INTO be_StopWords (StopWord) VALUES ('an');
-INSERT INTO be_StopWords (StopWord) VALUES ('and');
-INSERT INTO be_StopWords (StopWord) VALUES ('any');
-INSERT INTO be_StopWords (StopWord) VALUES ('are');
-INSERT INTO be_StopWords (StopWord) VALUES ('as');
-INSERT INTO be_StopWords (StopWord) VALUES ('at');
-INSERT INTO be_StopWords (StopWord) VALUES ('be');
-INSERT INTO be_StopWords (StopWord) VALUES ('both');
-INSERT INTO be_StopWords (StopWord) VALUES ('but');
-INSERT INTO be_StopWords (StopWord) VALUES ('by');
-INSERT INTO be_StopWords (StopWord) VALUES ('can');
-INSERT INTO be_StopWords (StopWord) VALUES ('cannot');
-INSERT INTO be_StopWords (StopWord) VALUES ('com');
-INSERT INTO be_StopWords (StopWord) VALUES ('could');
-INSERT INTO be_StopWords (StopWord) VALUES ('de');
-INSERT INTO be_StopWords (StopWord) VALUES ('do');
-INSERT INTO be_StopWords (StopWord) VALUES ('down');
-INSERT INTO be_StopWords (StopWord) VALUES ('each');
-INSERT INTO be_StopWords (StopWord) VALUES ('either');
-INSERT INTO be_StopWords (StopWord) VALUES ('en');
-INSERT INTO be_StopWords (StopWord) VALUES ('for');
-INSERT INTO be_StopWords (StopWord) VALUES ('from');
-INSERT INTO be_StopWords (StopWord) VALUES ('good');
-INSERT INTO be_StopWords (StopWord) VALUES ('has');
-INSERT INTO be_StopWords (StopWord) VALUES ('have');
-INSERT INTO be_StopWords (StopWord) VALUES ('he');
-INSERT INTO be_StopWords (StopWord) VALUES ('her');
-INSERT INTO be_StopWords (StopWord) VALUES ('here');
-INSERT INTO be_StopWords (StopWord) VALUES ('hers');
-INSERT INTO be_StopWords (StopWord) VALUES ('his');
-INSERT INTO be_StopWords (StopWord) VALUES ('how');
-INSERT INTO be_StopWords (StopWord) VALUES ('i');
-INSERT INTO be_StopWords (StopWord) VALUES ('if');
-INSERT INTO be_StopWords (StopWord) VALUES ('in');
-INSERT INTO be_StopWords (StopWord) VALUES ('into');
-INSERT INTO be_StopWords (StopWord) VALUES ('is');
-INSERT INTO be_StopWords (StopWord) VALUES ('it');
-INSERT INTO be_StopWords (StopWord) VALUES ('its');
-INSERT INTO be_StopWords (StopWord) VALUES ('just');
-INSERT INTO be_StopWords (StopWord) VALUES ('la');
-INSERT INTO be_StopWords (StopWord) VALUES ('like');
-INSERT INTO be_StopWords (StopWord) VALUES ('long');
-INSERT INTO be_StopWords (StopWord) VALUES ('make');
-INSERT INTO be_StopWords (StopWord) VALUES ('me');
-INSERT INTO be_StopWords (StopWord) VALUES ('more');
-INSERT INTO be_StopWords (StopWord) VALUES ('much');
-INSERT INTO be_StopWords (StopWord) VALUES ('my');
-INSERT INTO be_StopWords (StopWord) VALUES ('need');
-INSERT INTO be_StopWords (StopWord) VALUES ('new');
-INSERT INTO be_StopWords (StopWord) VALUES ('now');
-INSERT INTO be_StopWords (StopWord) VALUES ('of');
-INSERT INTO be_StopWords (StopWord) VALUES ('off');
-INSERT INTO be_StopWords (StopWord) VALUES ('on');
-INSERT INTO be_StopWords (StopWord) VALUES ('once');
-INSERT INTO be_StopWords (StopWord) VALUES ('one');
-INSERT INTO be_StopWords (StopWord) VALUES ('ones');
-INSERT INTO be_StopWords (StopWord) VALUES ('only');
-INSERT INTO be_StopWords (StopWord) VALUES ('or');
-INSERT INTO be_StopWords (StopWord) VALUES ('our');
-INSERT INTO be_StopWords (StopWord) VALUES ('out');
-INSERT INTO be_StopWords (StopWord) VALUES ('over');
-INSERT INTO be_StopWords (StopWord) VALUES ('own');
-INSERT INTO be_StopWords (StopWord) VALUES ('really');
-INSERT INTO be_StopWords (StopWord) VALUES ('right');
-INSERT INTO be_StopWords (StopWord) VALUES ('same');
-INSERT INTO be_StopWords (StopWord) VALUES ('see');
-INSERT INTO be_StopWords (StopWord) VALUES ('she');
-INSERT INTO be_StopWords (StopWord) VALUES ('so');
-INSERT INTO be_StopWords (StopWord) VALUES ('some');
-INSERT INTO be_StopWords (StopWord) VALUES ('such');
-INSERT INTO be_StopWords (StopWord) VALUES ('take');
-INSERT INTO be_StopWords (StopWord) VALUES ('takes');
-INSERT INTO be_StopWords (StopWord) VALUES ('that');
-INSERT INTO be_StopWords (StopWord) VALUES ('the');
-INSERT INTO be_StopWords (StopWord) VALUES ('their');
-INSERT INTO be_StopWords (StopWord) VALUES ('these');
-INSERT INTO be_StopWords (StopWord) VALUES ('thing');
-INSERT INTO be_StopWords (StopWord) VALUES ('this');
-INSERT INTO be_StopWords (StopWord) VALUES ('to');
-INSERT INTO be_StopWords (StopWord) VALUES ('too');
-INSERT INTO be_StopWords (StopWord) VALUES ('took');
-INSERT INTO be_StopWords (StopWord) VALUES ('und');
-INSERT INTO be_StopWords (StopWord) VALUES ('up');
-INSERT INTO be_StopWords (StopWord) VALUES ('use');
-INSERT INTO be_StopWords (StopWord) VALUES ('used');
-INSERT INTO be_StopWords (StopWord) VALUES ('using');
-INSERT INTO be_StopWords (StopWord) VALUES ('very');
-INSERT INTO be_StopWords (StopWord) VALUES ('was');
-INSERT INTO be_StopWords (StopWord) VALUES ('we');
-INSERT INTO be_StopWords (StopWord) VALUES ('well');
-INSERT INTO be_StopWords (StopWord) VALUES ('what');
-INSERT INTO be_StopWords (StopWord) VALUES ('when');
-INSERT INTO be_StopWords (StopWord) VALUES ('where');
-INSERT INTO be_StopWords (StopWord) VALUES ('who');
-INSERT INTO be_StopWords (StopWord) VALUES ('will');
-INSERT INTO be_StopWords (StopWord) VALUES ('with');
-INSERT INTO be_StopWords (StopWord) VALUES ('www');
-INSERT INTO be_StopWords (StopWord) VALUES ('you');
-INSERT INTO be_StopWords (StopWord) VALUES ('your');
-
-INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress)
- VALUES ('Admin', '', GETDATE(), 'email@example.com');
-INSERT INTO be_Roles (Role)
- VALUES ('Administrators');
-INSERT INTO be_Roles (Role)
- VALUES ('Editors');
-INSERT INTO be_UserRoles (UserID, RoleID)
-VALUES ( 1, 1);
-
-INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings)
-VALUES (1, 'be_WIDGET_ZONE',
-'
-
- <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets>
-');
-GO
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.4.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.4.0.0.sql
deleted file mode 100644
index 898f7eaad..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.4.0.0.sql
+++ /dev/null
@@ -1,86 +0,0 @@
-/****** BlogEngine.NET 1.4. SQL Upgrade Script ******/
-
-/* be_Categories update */
-ALTER TABLE [dbo].[be_Categories]
- ADD
- [ParentID] [uniqueidentifier] NULL
-
-/* be_DataStoreSettings update */
-ALTER TABLE [dbo].[be_DataStoreSettings]
- ALTER COLUMN Settings varchar(max)
-
-GO
-/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Users](
- [UserID] [int] IDENTITY(1,1) NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [Password] [nvarchar](255) NOT NULL,
- [LastLoginTime] [datetime] NULL,
- [EmailAddress] [nvarchar](100) NULL,
- CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED
-(
- [UserID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_Roles](
- [RoleID] [int] IDENTITY(1,1) NOT NULL,
- [Role] [nvarchar](100) NOT NULL,
- CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED
-(
- [RoleID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-GO
-/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/
-SET ANSI_NULLS ON
-GO
-SET QUOTED_IDENTIFIER ON
-GO
-CREATE TABLE [dbo].[be_UserRoles](
- [UserRoleID] [int] IDENTITY(1,1) NOT NULL,
- [UserID] [int] NOT NULL,
- [RoleID] [int] NOT NULL,
- CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED
-(
- [UserRoleID] ASC
-)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
-) ON [PRIMARY]
-
-GO
-ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID])
-REFERENCES [dbo].[be_Roles] ([RoleID])
-GO
-ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles]
-GO
-ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID])
-REFERENCES [dbo].[be_Users] ([UserID])
-GO
-ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users]
-GO
-INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress)
- VALUES ('Admin', '', GETDATE(), 'email@example.com');
-INSERT INTO be_Roles (Role)
- VALUES ('Administrators');
-INSERT INTO be_Roles (Role)
- VALUES ('Editors');
-INSERT INTO be_UserRoles (UserID, RoleID)
-VALUES ( 1, 1);
-
-UPDATE be_DataStoreSettings
-SET Settings =
-'
-
- <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets>
-'
-WHERE ExtensionId = 'be_WIDGET_ZONE'
-GO
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.5.0.0From1.4.5.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.5.0.0From1.4.5.0.sql
deleted file mode 100644
index 76afea931..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.5.0.0From1.4.5.0.sql
+++ /dev/null
@@ -1,6 +0,0 @@
-/****** BlogEngine.NET 1.5 SQL Upgrade Script ******/
-
-/* be_PostComment update */
-ALTER TABLE [dbo].[be_PostComment]
- ADD
- [ParentCommentID] [uniqueidentifier] NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000')
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/DbWeb.Config b/BlogEngine/BlogEngine.NET/setup/SQLServer/DbWeb.Config
deleted file mode 100644
index 49a5fa2a5..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/DbWeb.Config
+++ /dev/null
@@ -1,272 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/SQLServer/ReadMe.txt
deleted file mode 100644
index e363e07f1..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/ReadMe.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Running BlogEngine.NET using SQL Server 2008 and up:
-
-If you wish to use SQL Server to store all your blog data, this folder has all the
-information you'll likely need. The scripts included here are for SQL Server 2008 and up.
-They could be modified to be used with earlier or later versions if needed.
-
-Instructions for new setup:
-
-1. Open SQL Server Management Studio and connect to your SQL Server.
-2. Create a new database if desired.
-3. Execute the Setup script against the database you want to add the BlogEngine data to.
-4. Rename DbWeb.Config to Web.config and copy it to your blog folder. (This will
-overwrite your existing web.config file. If this is not a new installation, make sure
-you have a backup).
-5. Update the BlogEngine connection string in the web.config.
-6. Surf out to your Blog and see the welcome post.
-7. Login with the username admin and password admin. Change the password.
-
-Upgrading from previous version
-
- - Use Upgrade.sql to upgrade from latest version (3.1)
-
-Upgrading from earlier versions
-
-- Use scripts in Archive folder to bring your DB to version 3.1, then run Upgrade.sql
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Setup.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Setup.sql
deleted file mode 100644
index 800c9be70..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Setup.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Upgrade.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Upgrade.sql
deleted file mode 100644
index 783d0cbb4..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Upgrade.sql
+++ /dev/null
@@ -1,15 +0,0 @@
---
--- Add BlogId to unique constraints
---
-ALTER TABLE dbo.be_Rights DROP CONSTRAINT AK_RightName
-GO
-ALTER TABLE dbo.be_Rights ADD CONSTRAINT AK_RightName UNIQUE (BlogId, RightName)
-GO
-ALTER TABLE dbo.be_Settings DROP CONSTRAINT AK_SettingName
-GO
-ALTER TABLE dbo.be_Settings ADD CONSTRAINT AK_SettingName UNIQUE (BlogId, SettingName)
-GO
-ALTER TABLE dbo.be_PackageFiles DROP CONSTRAINT PK_be_PackageFiles
-GO
-ALTER TABLE dbo.be_PackageFiles ADD CONSTRAINT PK_be_PackageFiles UNIQUE (PackageId, FilePath)
-GO
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.0.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.0.sql
deleted file mode 100644
index 062c025db..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.5.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.5.sql
deleted file mode 100644
index f982e6d55..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.5.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.6.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.6.sql
deleted file mode 100644
index abeeeabad..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.6.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.7.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.7.sql
deleted file mode 100644
index 7bdb149bf..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.7.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.8.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.8.sql
deleted file mode 100644
index 9985dc2cf..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.8.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.0.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.0.sql
deleted file mode 100644
index e08b1299b..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.0.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.1.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.1.sql
deleted file mode 100644
index b71afdd72..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.1.sql and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.0to2.5.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.0to2.5.sql
deleted file mode 100644
index bd69f292f..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.0to2.5.sql
+++ /dev/null
@@ -1,276 +0,0 @@
-
-
-ALTER TABLE [be_PostCategory] DROP CONSTRAINT [FK_be_PostCategory_be_Categories]
-GO
-ALTER TABLE [be_PostCategory] DROP CONSTRAINT [FK_be_PostCategory_be_Posts]
-GO
-ALTER TABLE [be_PostComment] DROP CONSTRAINT [FK_be_PostComment_be_Posts]
-GO
-ALTER TABLE [be_PostNotify] DROP CONSTRAINT [FK_be_PostNotify_be_Posts]
-GO
-ALTER TABLE [be_PostTag] DROP CONSTRAINT [FK_be_PostTag_be_Posts]
-GO
-ALTER TABLE [be_UserRoles] DROP CONSTRAINT [FK_be_UserRoles_be_Roles]
-GO
-ALTER TABLE [be_UserRoles] DROP CONSTRAINT [FK_be_UserRoles_be_Users]
-GO
-
-CREATE TABLE [be_Blogs] (
- [BlogRowId] int NOT NULL IDENTITY (2,1)
-, [BlogId] uniqueidentifier NOT NULL
-, [BlogName] nvarchar(255) NOT NULL
-, [Hostname] nvarchar(255) NOT NULL
-, [IsAnyTextBeforeHostnameAccepted] bit NOT NULL
-, [StorageContainerName] nvarchar(255) NOT NULL
-, [VirtualPath] nvarchar(255) NOT NULL
-, [IsPrimary] bit NOT NULL
-, [IsActive] bit NOT NULL
-);
-GO
-ALTER TABLE [be_Blogs] ADD CONSTRAINT [PK_be_Blogs_BlogRowId] PRIMARY KEY ([BlogRowId]);
-GO
-INSERT INTO [be_Blogs] ([BlogId], [BlogName], [Hostname], [IsAnyTextBeforeHostnameAccepted], [StorageContainerName], [VirtualPath], [IsPrimary], [IsActive]) VALUES (N'27604f05-86ad-47ef-9e05-950bb762570c', N'Primary', N'', 0, N'', N'~/', 1, 1)
-GO
--- Adding as column with NOT NULL is not allowed, set a default value or allow NULL
-ALTER TABLE [be_BlogRollItems] ADD [BlogRollRowId] int NOT NULL IDENTITY (7,1)
-GO
-ALTER TABLE [be_BlogRollItems] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_BlogRollItems] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_BlogRollItems] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_BlogRollItems] DROP CONSTRAINT [PK_be_BlogRollItems_BlogRollId]
-GO
-ALTER TABLE [be_BlogRollItems] ADD CONSTRAINT [PK_be_BlogRollItems_BlogRollRowId] PRIMARY KEY ([BlogRollRowId]);
-GO
-CREATE INDEX [idx_be_BlogRollItems_BlogId] ON [be_BlogRollItems] ([BlogId] ASC);
-GO
-ALTER TABLE [be_Categories] ADD [CategoryRowID] int NOT NULL IDENTITY (2,1)
-GO
-ALTER TABLE [be_Categories] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_Categories] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Categories] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Categories] DROP CONSTRAINT [PK_be_Categories_CategoryID]
-GO
-ALTER TABLE [be_Categories] ADD CONSTRAINT [PK_be_Categories_CategoryRowID] PRIMARY KEY ([CategoryRowID]);
-GO
-CREATE UNIQUE INDEX [idx_be_Categories_BlogID_CategoryID] ON [be_Categories] ([BlogID] ASC,[CategoryID] ASC);
-GO
-ALTER TABLE [be_DataStoreSettings] ADD [DataStoreSettingRowId] int NOT NULL IDENTITY (2,1)
-GO
-ALTER TABLE [be_DataStoreSettings] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_DataStoreSettings] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_DataStoreSettings] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_DataStoreSettings] ADD CONSTRAINT [PK_be_DataStoreSettings_DataStoreSettingRowId] PRIMARY KEY ([DataStoreSettingRowId]);
-GO
-CREATE INDEX [idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID] ON [be_DataStoreSettings] ([BlogId] ASC,[ExtensionType] ASC,[ExtensionId] ASC);
-GO
-DROP INDEX [be_DataStoreSettings].[I_TypeID];
-GO
-ALTER TABLE [be_Pages] ADD [PageRowID] int NOT NULL IDENTITY (1,1)
-GO
-ALTER TABLE [be_Pages] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_Pages] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Pages] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Pages] DROP CONSTRAINT [PK_be_Pages_PageID]
-GO
-ALTER TABLE [be_Pages] ADD CONSTRAINT [PK_be_Pages_PageRowID] PRIMARY KEY ([PageRowID]);
-GO
-CREATE INDEX [idx_Pages_BlogId_PageId] ON [be_Pages] ([BlogID] ASC,[PageID] ASC);
-GO
-ALTER TABLE [be_PingService] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_PingService] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_PingService] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-CREATE INDEX [idx_be_PingService_BlogId] ON [be_PingService] ([BlogID] ASC);
-GO
-ALTER TABLE [be_PostCategory] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_PostCategory] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_PostCategory] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-CREATE INDEX [idx_be_PostCategory_BlogId_CategoryId] ON [be_PostCategory] ([BlogID] ASC,[CategoryID] ASC);
-GO
-CREATE INDEX [idx_be_PostCategory_BlogId_PostId] ON [be_PostCategory] ([BlogID] ASC,[PostID] ASC);
-GO
-DROP INDEX [be_PostCategory].[FK_CategoryID];
-GO
-DROP INDEX [be_PostCategory].[FK_PostID];
-GO
-ALTER TABLE [be_PostComment] ADD [PostCommentRowID] int NOT NULL IDENTITY (1,1)
-GO
-ALTER TABLE [be_PostComment] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_PostComment] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_PostComment] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_PostComment] DROP CONSTRAINT [PK_be_PostComment_PostCommentID]
-GO
-ALTER TABLE [be_PostComment] ADD CONSTRAINT [PK_be_PostComment_PostCommentRowID] PRIMARY KEY ([PostCommentRowID]);
-GO
-CREATE INDEX [idx_be_PostComment_BlogId_PostId] ON [be_PostComment] ([BlogID] ASC,[PostID] ASC);
-GO
-DROP INDEX [be_PostComment].[FK_PostID];
-GO
-ALTER TABLE [be_PostNotify] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_PostNotify] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_PostNotify] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Posts] ADD [PostRowID] int NOT NULL IDENTITY (2,1)
-GO
-ALTER TABLE [be_Posts] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_Posts] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Posts] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Posts] DROP CONSTRAINT [PK_be_Posts_PostID]
-GO
-ALTER TABLE [be_Posts] ADD CONSTRAINT [PK_be_Posts_PostRowID] PRIMARY KEY ([PostRowID]);
-GO
-CREATE UNIQUE INDEX [be_Posts_BlogID_PostID] ON [be_Posts] ([BlogID] ASC,[PostID] ASC);
-GO
-ALTER TABLE [be_PostTag] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_PostTag] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_PostTag] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-CREATE INDEX [idx_be_PostTag_BlogId_PostId] ON [be_PostTag] ([BlogID] ASC,[PostID] ASC);
-GO
-DROP INDEX [be_PostTag].[FK_PostID];
-GO
-ALTER TABLE [be_Profiles] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_Profiles] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Profiles] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-CREATE INDEX [idx_be_Profiles_BlogId_UserName] ON [be_Profiles] ([BlogID] ASC,[UserName] ASC);
-GO
-DROP INDEX [be_Profiles].[I_UserName];
-GO
-ALTER TABLE [be_Referrers] ADD [ReferrerRowId] int NOT NULL IDENTITY (1,1)
-GO
-ALTER TABLE [be_Referrers] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_Referrers] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Referrers] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Referrers] DROP CONSTRAINT [PK_be_Referrers_ReferrerId]
-GO
-ALTER TABLE [be_Referrers] ADD CONSTRAINT [PK_be_Referrers_ReferrerRowId] PRIMARY KEY ([ReferrerRowId]);
-GO
-CREATE INDEX [idx_be_Referrers_BlogId] ON [be_Referrers] ([BlogId] ASC);
-GO
-ALTER TABLE [be_RightRoles] ADD [RightRoleRowId] int NOT NULL IDENTITY (1,1)
-GO
-ALTER TABLE [be_RightRoles] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_RightRoles] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_RightRoles] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_RightRoles] DROP CONSTRAINT [PK_be_RightRoles_RightName_Role]
-GO
-ALTER TABLE [be_RightRoles] ADD CONSTRAINT [PK_be_RightRoles_RightRoleRowId] PRIMARY KEY ([RightRoleRowId]);
-GO
-CREATE INDEX [idx_be_RightRoles_BlogId] ON [be_RightRoles] ([BlogId] ASC);
-GO
-ALTER TABLE [be_Rights] ADD [RightRowId] int NOT NULL IDENTITY (1,1)
-GO
-ALTER TABLE [be_Rights] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_Rights] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Rights] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Rights] DROP CONSTRAINT [PK_be_Rights_RightName]
-GO
-ALTER TABLE [be_Rights] ADD CONSTRAINT [PK_be_Rights_RightRowId] PRIMARY KEY ([RightRowId]);
-GO
-CREATE INDEX [idx_be_Rights_BlogId] ON [be_Rights] ([BlogId] ASC);
-GO
-ALTER TABLE [be_Roles] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_Roles] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Roles] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-CREATE UNIQUE INDEX [idx_be_Roles_BlogID_Role] ON [be_Roles] ([BlogID] ASC,[Role] ASC);
-GO
-ALTER TABLE [be_Settings] ADD [SettingRowId] int NOT NULL IDENTITY (63,1)
-GO
-ALTER TABLE [be_Settings] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_Settings] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Settings] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_Settings] DROP CONSTRAINT [PK_be_Settings_SettingName]
-GO
-ALTER TABLE [be_Settings] ADD CONSTRAINT [PK_be_Settings_SettingRowId] PRIMARY KEY ([SettingRowId]);
-GO
-CREATE INDEX [idx_be_Settings_BlogId] ON [be_Settings] ([BlogId] ASC);
-GO
-ALTER TABLE [be_StopWords] ADD [StopWordRowId] int NOT NULL IDENTITY (109,1)
-GO
-ALTER TABLE [be_StopWords] ADD [BlogId] uniqueidentifier NULL
-GO
-UPDATE [be_StopWords] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_StopWords] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL
-GO
-ALTER TABLE [be_StopWords] DROP CONSTRAINT [PK_be_StopWords_StopWord]
-GO
-ALTER TABLE [be_StopWords] ADD CONSTRAINT [PK_be_StopWords_StopWordRowId] PRIMARY KEY ([StopWordRowId]);
-GO
-CREATE INDEX [idx_be_StopWords_BlogId] ON [be_StopWords] ([BlogId] ASC);
-GO
-CREATE TABLE [be_UserRoles_temp] (
- [UserRoleID] int NOT NULL IDENTITY (2,1)
-, [BlogID] uniqueidentifier NOT NULL
-, [UserName] nvarchar(100) NOT NULL
-, [Role] nvarchar(100) NOT NULL
-);
-GO
-INSERT INTO [be_UserRoles_temp] ([BlogID],[UserName],[Role])
-SELECT '27604F05-86AD-47EF-9E05-950BB762570C', u.[UserName], r.[Role]
-FROM [be_UserRoles] AS ur
-INNER JOIN [be_Users] AS u ON u.[UserID] = ur.[UserID]
-INNER JOIN [be_Roles] AS r ON r.[RoleID] = ur.[RoleID]
-GO
-DROP TABLE [be_UserRoles]
-GO
-SP_RENAME 'be_UserRoles_temp', 'be_UserRoles'
-GO
-ALTER TABLE [be_UserRoles] ADD CONSTRAINT [PK_be_UserRoles_UserRoleID] PRIMARY KEY ([UserRoleID]);
-GO
-CREATE INDEX [idx_be_UserRoles_BlogId] ON [be_UserRoles] ([BlogID] ASC);
-GO
-ALTER TABLE [be_Users] ADD [BlogID] uniqueidentifier NULL
-GO
-UPDATE [be_Users] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C'
-GO
-ALTER TABLE [be_Users] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL
-GO
-CREATE INDEX [idx_be_Users_BlogId_UserName] ON [be_Users] ([BlogID] ASC,[UserName] ASC);
-GO
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.5to2.6.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.5to2.6.sql
deleted file mode 100644
index 3e3c7efb5..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.5to2.6.sql
+++ /dev/null
@@ -1,196 +0,0 @@
-
-
---
--- dbo.be_Packages
---
-CREATE TABLE [be_Packages](
- [PackageId] [nvarchar](128) NOT NULL,
- [Version] [nvarchar](128) NOT NULL
-);
-GO
-ALTER TABLE [be_Packages] ADD CONSTRAINT [PK_be_Packages] PRIMARY KEY ([PackageId]);
-GO
-
-
---
--- be_PackageFiles
---
-CREATE TABLE [be_PackageFiles](
- [PackageId] [nvarchar](128) NOT NULL,
- [FileOrder] [int] NOT NULL,
- [FilePath] [nvarchar](255) NOT NULL,
- [IsDirectory] [bit] NOT NULL
-);
-GO
-ALTER TABLE [be_PackageFiles] ADD CONSTRAINT [PK_be_PackageFiles] PRIMARY KEY ([PackageId], [FileOrder]);
-GO
-
---
--- be_QuickNotes
---
-CREATE TABLE [be_QuickNotes](
- [QuickNoteID] [int] IDENTITY(1,1) NOT NULL,
- [NoteID] [uniqueidentifier] NOT NULL,
- [BlogID] [uniqueidentifier] NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [Note] [ntext] NOT NULL,
- [Updated] [datetime] NULL
-);
-GO
-ALTER TABLE [be_QuickNotes] ADD CONSTRAINT [PK_be_QuickNotes] PRIMARY KEY ([QuickNoteID]);
-GO
-CREATE INDEX [idx_be_NoteId_BlogId_UserName] ON [be_QuickNotes] ([NoteID] ASC,[BlogID] ASC,[UserName] ASC);
-GO
-
-
---
--- be_QuickSettings
---
-CREATE TABLE [be_QuickSettings](
- [QuickSettingID] [int] IDENTITY(1,1) NOT NULL,
- [BlogID] [uniqueidentifier] NOT NULL,
- [UserName] [nvarchar](100) NOT NULL,
- [SettingName] [nvarchar](255) NOT NULL,
- [SettingValue] [nvarchar](255) NOT NULL
-);
-GO
-ALTER TABLE [be_QuickSettings] ADD CONSTRAINT [PK_be_QuickSettings] PRIMARY KEY ([QuickSettingID]);
-GO
-
-
---
--- be_FileStoreDirectory
---
-CREATE TABLE [be_FileStoreDirectory](
- [Id] [uniqueidentifier] NOT NULL,
- [ParentID] [uniqueidentifier] NULL,
- [BlogID] [uniqueidentifier] NOT NULL,
- [Name] [nvarchar](255) NOT NULL,
- [FullPath] [nvarchar](1000) NOT NULL,
- [CreateDate] [datetime] NOT NULL,
- [LastAccess] [datetime] NOT NULL,
- [LastModify] [datetime] NOT NULL
-);
-GO
-ALTER TABLE [be_FileStoreDirectory] ADD CONSTRAINT [PK_be_FileStoreDirectory] PRIMARY KEY ([Id]);
-GO
-
-
---
--- be_FileStoreFiles
---
-CREATE TABLE [be_FileStoreFiles](
- [FileID] [uniqueidentifier] NOT NULL,
- [ParentDirectoryID] [uniqueidentifier] NOT NULL,
- [Name] [nvarchar](255) NOT NULL,
- [FullPath] [nvarchar](255) NOT NULL,
- [Contents] [image] NOT NULL,
- [Size] [int] NOT NULL,
- [CreateDate] [datetime] NOT NULL,
- [LastAccess] [datetime] NOT NULL,
- [LastModify] [datetime] NOT NULL
-);
-GO
-ALTER TABLE [be_FileStoreFiles] ADD CONSTRAINT [PK_be_FileStoreFiles] PRIMARY KEY ([FileID]);
-GO
-
-
---
--- be_FileStoreFileThumbs
---
-CREATE TABLE [be_FileStoreFileThumbs](
- [thumbnailId] [uniqueidentifier] NOT NULL,
- [FileId] [uniqueidentifier] NOT NULL,
- [size] [int] NOT NULL,
- [contents] [image] NOT NULL
-);
-GO
-ALTER TABLE [be_FileStoreFileThumbs] ADD CONSTRAINT [PK_be_FileStoreFileThumbs] PRIMARY KEY ([thumbnailId]);
-GO
-
-
---
--- be_Blogs
---
--- Adding as column with NOT NULL is not allowed, set a default value or allow NULL
---
-ALTER TABLE [be_Blogs] ADD [IsSiteAggregation] bit NULL;
-GO
-UPDATE [be_Blogs] SET [IsSiteAggregation] = 0;
-GO
-ALTER TABLE [be_Blogs] ALTER COLUMN [IsSiteAggregation] bit NOT NULL;
-GO
-
-
-INSERT INTO be_Packages ([PackageId], [Version]) VALUES ('JQ-Mobile', '1.2.3');
-GO
-
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 1, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\App_Code\JQ-Mobile', 1);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 2, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\App_Code\JQ-Mobile\ThemeHelper.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 3, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile', 1);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 4, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls', 1);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 5, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\CommentView.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 6, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\CommentView.ascx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 7, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Header.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 8, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Header.ascx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 9, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\MainHeader.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 10, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\MainHeader.ascx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 11, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Pager.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 12, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Pager.ascx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 13, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\PostList.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 14, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\PostList.ascx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 15, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Archive.aspx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 16, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Archive.aspx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 17, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\CommentView.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 18, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Contact.aspx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 19, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Contact.aspx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 20, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\logo.png', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 21, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\newsletter.html', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 22, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Post.aspx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 23, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Post.aspx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 24, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\PostView.ascx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 25, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\PostView.ascx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 26, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Readme.txt', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 27, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Search.aspx', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 28, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Search.aspx.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 29, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\site.master', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 30, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\site.master.cs', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 31, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\style.css', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 32, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\theme.png', 0);
-GO
-INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 33, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\theme.xml', 0);
-GO
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.6to3.0.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.6to3.0.sql
deleted file mode 100644
index d3fb496ca..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.6to3.0.sql
+++ /dev/null
@@ -1,21 +0,0 @@
---
--- be_CustomFields
---
-CREATE TABLE [be_CustomFields](
- [CustomType] [nvarchar](100) NOT NULL,
- [ObjectId] [nvarchar](250) NOT NULL,
- [BlogId] [uniqueidentifier] NOT NULL,
- [Key] [nvarchar](250) NOT NULL,
- [Value] ntext NOT NULL,
- [Attribute] [nvarchar](250) NULL
-);
-GO
-
-CREATE NONCLUSTERED INDEX [idx_be_CustomType_ObjectId_BlogId_Key] ON [be_CustomFields]
-(
- [CustomType] ASC,
- [ObjectId] ASC,
- [BlogId] ASC,
- [Key] ASC
-);
-GO
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom3.0to3.1.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom3.0to3.1.sql
deleted file mode 100644
index 1888cfeba..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom3.0to3.1.sql
+++ /dev/null
@@ -1,38 +0,0 @@
---
--- be_Pages SortOrder
---
-ALTER TABLE [be_Pages] ADD
- [SortOrder] [int] NOT NULL CONSTRAINT [DF_be_Pages_SortOrder] DEFAULT 0
-GO
-CREATE NONCLUSTERED INDEX [IX_be_Pages] ON [be_Pages]
-(
- [SortOrder]
-);
-GO
---
--- add new rights to administrators
---
-SET IDENTITY_INSERT [be_RightRoles] ON;
-GO
-INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (66,'27604f05-86ad-47ef-9e05-950bb762570c',N'ViewDashboard',N'Administrators');
-GO
-INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (67,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageExtensions',N'Administrators');
-GO
-INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (68,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageThemes',N'Administrators');
-GO
-INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (69,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManagePackages',N'Administrators');
-GO
-SET IDENTITY_INSERT [be_RightRoles] OFF;
-GO
-SET IDENTITY_INSERT [be_Rights] ON;
-GO
-INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (41,'27604f05-86ad-47ef-9e05-950bb762570c',N'ViewDashboard');
-GO
-INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (42,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageExtensions');
-GO
-INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (43,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageThemes');
-GO
-INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (44,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManagePackages');
-GO
-SET IDENTITY_INSERT [be_Rights] OFF;
-GO
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/BlogEngine.sdf b/BlogEngine/BlogEngine.NET/setup/SQL_CE/BlogEngine.sdf
deleted file mode 100644
index 53d0d1ca6..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/BlogEngine.sdf and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/SQL_CE/ReadMe.txt
deleted file mode 100644
index 204dc493b..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/ReadMe.txt
+++ /dev/null
@@ -1,94 +0,0 @@
-Running BlogEngine.NET using SQL CE 4.0
-
-If you wish to use SQL CE to store all your blog data, this folder has all the information you'll
-likely need. The BlogEngine.sdf is already setup with the DB tables and initial data needed
-to get started with BlogEngine.NET. Although not needed, SQL_CE_Setup_2.9.sql is provided
-for reference. This was the setup script used to create the BlogEngine.sdf file.
-
-Instructions for New Setup
------------------------------------------------------------
-1. When running BlogEngine.NET under SQL CE 4.0, you will either need SQL CE 4.0 installed on
-your computer, or if deploying to a webhost, you can simply copy the SQL CE 4.0 binary (DLL)
-files to your /BIN directory. The DLL files will be located in the installation folder for SQL
-CE 4.0. The installation folder is located at:
-
-%ProgramFiles(x86)%\Microsoft SQL Server Compact Edition\v4.0\Private
-
-If you do not have SQL CE 4.0 installed on your computer, or you need the DLL files, the latest
-CTP version of SQL CE 4.0 can be downloaded at:
-http://www.microsoft.com/download/en/details.aspx?id=17876
-
-However, please check for the latest version of SQL CE 4.0 before downloading the one at the
-above link.
-
-2. Copy the following files/folders to your /BIN directory. The files are located in the SQL CE
-4.0 installation folder:
-
-%ProgramFiles(x86)%\Microsoft SQL Server Compact Edition\v4.0\Private
-
- (a) Copy the file "System.Data.SqlServerCe.dll" into your /BIN directory.
- (b) There are two sub-folders: AMD64 and X86. Copy both folders to your /BIN directory.
-
-After copying these files and folders, your /BIN directory will look like this:
-
-/bin
- System.Data.SqlServerCe.dll
-/bin/x86
- sqlceca40.dll
- sqlcecompact40.dll
- sqlceer40EN.dll
- sqlceme40.dll
- sqlceqp40.dll
- sqlcese40.dll
-/bin/amd64
- sqlceca40.dll
- sqlcecompact40.dll
- sqlceer40EN.dll
- sqlceme40.dll
- sqlceqp40.dll
- sqlcese40.dll
-
-3. Rename the SQL_CE_Web.Config file to web.config and copy it to your blog's root
-folder. (This will overwrite your existing web.config file. If this is not a new installation,
-make sure you have a backup.)
-4. Copy the BlogEngine.sdf file into the App_Data folder.
-5. Surf out to your Blog and see the welcome post.
-6. Login with the username admin and password admin. Change the password.
-
-Upgrading from 2.6
------------------------------------------------------------
-
- - Run SQL_CE_UpgradeFrom2.6to3.0.sql against your existing CE database. It will add new table and index.
- If you get an error with "GO" keyword not supported, run statements one by one excluding "; GO".
-
-Upgrading from 2.5
------------------------------------------------------------
-
-There is an upgrade script to update your SDF file so it is compliant with BlogEngine.NET 2.7.
-The upgrade script name is SQL_CE_UpgradeFrom2.5to2.6.sql. This script will need to be
-run against your BlogEngine.NET 2.5 SDF file. A recommended tool is to use the
-SQL Server Compact Toolbox utility found at:
-
-http://sqlcetoolbox.codeplex.com/
-
-An add-in for Visual Studio 2010/2012 can be downloaded, or a standalone version of the toolbox
-can be downloaded. This utility will allow you to run a SQL CE script against a SDF
-file. You would want to run the script contained in SQL_CE_UpgradeFrom2.5to2.6.sql
-against your BlogEngine.NET 2.5 SDF file. Once the script has been run, your BlogEngine.SDF
-file will be ready to use in a BlogEngine.NET 2.5 website.
-
-Additionally, the web.config file has changed from 2.5 to 2.7. It will likely be easiest to start
-with the sample web.config file as described above, but if you have other changes in it,
-you'll need to merge them. Don't forget to move your connectionString over.
-
-Troubleshooting
------------------------------------------------------------
-If you use one of the sample web.config files, are running your site on your own machine or a
-server that SQL CE 4.0 is already installed on, and you receive the following error message
-when starting the site:
-
-"Failed to find or load the registered .Net Framework Data Provider."
-
-In this scenario, you may need to remove the section out of the web.config file.
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/SQL_CE_Web.Config b/BlogEngine/BlogEngine.NET/setup/SQL_CE/SQL_CE_Web.Config
deleted file mode 100644
index 6eafba282..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/SQL_CE_Web.Config
+++ /dev/null
@@ -1,272 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.4.5.0To1.4.0.0.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.4.5.0To1.4.0.0.txt
deleted file mode 100644
index 77aa8b61c..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.4.5.0To1.4.0.0.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-ALTER TABLE [be_Categories]
-ADD [ParentID] VARCHAR(36) NULL
-
-UPDATE be_DataStoreSettings
-SET Settings =
-'
-
- <widgets><widget id="b5310024-0259-46dc-ae5e-8514c4d0428c" title="Administration" showTitle="True">Administration</widget><widget id="bc71fece-380e-4937-93cf-14b01d53d03a" title="Search" showTitle="True">Search</widget><widget id="fb84735a-bff6-4670-a249-427720a58c70" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="2b92a42c-90d4-4752-9eba-932b0c0bd387" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets>
-'
-WHERE ExtensionID = 'be_WIDGET_ZONE'
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.5To1.6.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.5To1.6.txt
deleted file mode 100644
index 7f58e3ce7..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.5To1.6.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-CREATE TABLE [be_BlogRollItems] (
-[BlogRollId] VARCHAR(36) UNIQUE NOT NULL PRIMARY KEY,
-[Title] VARCHAR(255) UNIQUE NULL,
-[Description] TEXT NULL,
-[BlogUrl] VARCHAR(255) NOT NULL,
-[FeedUrl] VARCHAR(255) NULL,
-[Xfn] VARCHAR(255) NULL,
-[SortIndex] INTEGER NOT NULL
-);
-
-CREATE TABLE [be_Referrers] (
-[ReferrerId] VARCHAR(36) UNIQUE NOT NULL,
-[ReferralDay] DATE DEFAULT CURRENT_DATE NOT NULL,
-[ReferrerUrl] VARCHAR(255) NOT NULL,
-[ReferralCount] INTEGER NOT NULL,
-[Url] VARCHAR(255) NULL,
-[IsSpam] BOOLEAN NULL
-);
-
-ALTER TABLE be_Pages
-ADD Slug VARCHAR(255) NULL;
-
-ALTER TABLE be_PostComment
-ADD ModeratedBy VARCHAR(100) NULL;
-
-ALTER TABLE be_PostComment
-ADD Avatar VARCHAR(255) NULL;
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.6To2.0.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.6To2.0.txt
deleted file mode 100644
index 2dc2190c5..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.6To2.0.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-ALTER TABLE be_PostComment
-ADD IsSpam BOOLEAN NOT NULL DEFAULT 0;
-
-ALTER TABLE be_PostComment
-ADD IsDeleted BOOLEAN NOT NULL DEFAULT 0;
-
-ALTER TABLE be_Posts
-ADD IsDeleted BOOLEAN NOT NULL DEFAULT 0;
-
-ALTER TABLE be_Pages
-ADD IsDeleted BOOLEAN NOT NULL DEFAULT 0;
-
-CREATE TABLE [be_Rights] (
-[RightName] VARCHAR(100) UNIQUE NOT NULL
-);
-
-CREATE TABLE [be_RightRoles] (
-[RightName] VARCHAR(100) NOT NULL,
-[Role] VARCHAR(100) NOT NULL
-);
-
-UPDATE be_PostComment
-SET IsSpam = 0;
-
-UPDATE be_PostComment
-SET IsDeleted = 0;
-
-UPDATE be_Posts
-SET IsDeleted = 0;
-
-UPDATE be_Pages
-SET IsDeleted = 0;
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.0To2.5.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.0To2.5.txt
deleted file mode 100644
index ebe9c01b0..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.0To2.5.txt
+++ /dev/null
@@ -1,438 +0,0 @@
---
--- Add be_Blogs
---
-CREATE TABLE be_Blogs (
-[BlogRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[BlogName] VARCHAR(255) NOT NULL,
-[Hostname] VARCHAR(255) NOT NULL,
-[IsAnyTextBeforeHostnameAccepted] BOOLEAN NOT NULL,
-[StorageContainerName] VARCHAR(255) NOT NULL,
-[VirtualPath] VARCHAR(255) NOT NULL,
-[IsPrimary] BOOLEAN NOT NULL DEFAULT 0,
-[IsActive] BOOLEAN NOT NULL DEFAULT 1);
-
-INSERT INTO be_Blogs (BlogId, BlogName, Hostname, IsAnyTextBeforeHostnameAccepted, StorageContainerName, VirtualPath, IsPrimary, IsActive)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'Primary', '', 0, '', '~/', 1, 1);
-
---
--- Update be_Users
---
-ALTER TABLE be_Users
-ADD BlogID VARCHAR(36) NULL;
-
-UPDATE be_Users SET BlogID = '27604f05-86ad-47ef-9e05-950bb762570c';
-
-CREATE INDEX idx_be_Users_BlogId_UserName
-ON be_Users (BlogID, UserName);
-
---
--- Update be_UserRoles
---
-CREATE TABLE be_UserRolesNew (
-[UserRoleID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[UserName] VARCHAR(100) NOT NULL,
-[Role] VARCHAR(100) NOT NULL);
-
-INSERT INTO be_UserRolesNew
-SELECT ur.UserRoleID, '27604f05-86ad-47ef-9e05-950bb762570c', u.UserName, r.Role
-FROM be_UserRoles ur
-INNER JOIN be_Users u ON ur.UserID = u.UserID
-INNER JOIN be_Roles r ON ur.RoleID = r.RoleID;
-
-DROP TABLE be_UserRoles;
-ALTER TABLE be_UserRolesNew RENAME TO be_UserRoles;
-
-CREATE INDEX idx_be_UserRoles_BlogId
-ON be_UserRoles (BlogID);
-
---
--- Update be_StopWords
---
-CREATE TABLE be_StopWordsNew (
-[StopWordsRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[StopWord] VARCHAR(50) NOT NULL);
-
-INSERT INTO be_StopWordsNew (BlogId, StopWord)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', o.StopWord
-FROM be_StopWords o;
-
-DROP TABLE be_StopWords;
-ALTER TABLE be_StopWordsNew RENAME TO be_StopWords;
-
-CREATE INDEX idx_be_StopWords_BlogId
-ON be_StopWords (BlogId);
-
---
--- Update be_Settings
---
-CREATE TABLE be_SettingsNew (
-[SettingsRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[SettingName] VARCHAR(50),
-[SettingValue] TEXT NULL);
-
-INSERT INTO be_SettingsNew (BlogId, SettingName, SettingValue)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', s.SettingName, s.SettingValue
-FROM be_Settings s;
-
-DROP TABLE be_Settings;
-ALTER TABLE be_SettingsNew RENAME TO be_Settings;
-
-CREATE INDEX idx_be_Settings_BlogId
-ON be_Settings (BlogId);
-
---
--- Update be_Roles
---
-ALTER TABLE be_Roles
-ADD BlogID VARCHAR(36) NULL;
-
-UPDATE be_Roles SET BlogID = '27604f05-86ad-47ef-9e05-950bb762570c';
-
-CREATE INDEX idx_be_Roles_BlogId_Role
-ON be_Roles (BlogID, Role);
-
---
--- Update be_Rights
---
-CREATE TABLE be_RightsNew (
-[RightRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[RightName] VARCHAR(100));
-
-INSERT INTO be_RightsNew (BlogId, RightName)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', r.RightName
-FROM be_Rights r;
-
-DROP TABLE be_Rights;
-ALTER TABLE be_RightsNew RENAME TO be_Rights;
-
-CREATE INDEX idx_be_Rights_BlogId
-ON be_Rights (BlogId);
-
---
--- Update be_RightRoles
---
-CREATE TABLE be_RightRolesNew (
-[RightRoleRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[RightName] VARCHAR(100),
-[Role] VARCHAR(100));
-
-INSERT INTO be_RightRolesNew (BlogId, RightName, Role)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', r.RightName, r.Role
-FROM be_RightRoles r;
-
-DROP TABLE be_RightRoles;
-ALTER TABLE be_RightRolesNew RENAME TO be_RightRoles;
-
-CREATE INDEX idx_be_RightRoles_BlogId
-ON be_RightRoles (BlogId);
-
---
--- Update be_BlogRollItems
---
-CREATE TABLE be_BlogRollItemsNew (
-[BlogRollRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[BlogRollId] VARCHAR(36) NOT NULL,
-[Title] VARCHAR(255) NULL,
-[Description] TEXT NULL,
-[BlogUrl] VARCHAR(255) NOT NULL,
-[FeedUrl] VARCHAR(255) NULL,
-[Xfn] VARCHAR(255) NULL,
-[SortIndex] INTEGER NOT NULL
-);
-
-INSERT INTO be_BlogRollItemsNew (BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', b.BlogRollId, b.Title, b.Description, b.BlogUrl, b.FeedUrl, b.Xfn, b.SortIndex
-FROM be_BlogRollItems b;
-
-DROP TABLE be_BlogRollItems;
-ALTER TABLE be_BlogRollItemsNew RENAME TO be_BlogRollItems;
-
-CREATE INDEX idx_be_BlogRollItems_BlogId
-ON be_BlogRollItems (BlogId);
-
---
--- Update be_DataStoreSettings
---
-CREATE TABLE be_DataStoreSettingsNew (
-[DataStoreSettingRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[ExtensionType] VARCHAR(50) NOT NULL,
-[ExtensionId] VARCHAR(100) NULL,
-[Settings] TEXT NULL
-);
-
-INSERT INTO be_DataStoreSettingsNew (BlogId, ExtensionType, ExtensionId, Settings)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', b.ExtensionType, b.ExtensionId, b.Settings
-FROM be_DataStoreSettings b;
-
-DROP TABLE be_DataStoreSettings;
-ALTER TABLE be_DataStoreSettingsNew RENAME TO be_DataStoreSettings;
-
-CREATE INDEX idx_be_DataStoreSettings_BlogId
-ON be_DataStoreSettings (BlogId);
-
---
--- Update be_PingService
---
-CREATE TABLE be_PingServiceNew (
-[PingServiceID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[Link] VARCHAR(255) NOT NULL
-);
-
-INSERT INTO be_PingServiceNew (BlogID, Link)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.Link
-FROM be_PingService p;
-
-DROP TABLE be_PingService;
-ALTER TABLE be_PingServiceNew RENAME TO be_PingService;
-
-CREATE INDEX idx_be_PingService_BlogID
-ON be_PingService (BlogID);
-
---
--- Update be_Referrers
---
-CREATE TABLE be_ReferrersNew (
-[ReferrerRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogId] VARCHAR(36) NOT NULL,
-[ReferrerId] VARCHAR(36) NOT NULL,
-[ReferralDay] DATE DEFAULT CURRENT_DATE NOT NULL,
-[ReferrerUrl] VARCHAR(255) NOT NULL,
-[ReferralCount] INTEGER NOT NULL,
-[Url] VARCHAR(255) NULL,
-[IsSpam] BOOLEAN NULL
-);
-
-INSERT INTO be_ReferrersNew (BlogId, ReferrerId, ReferralDay, ReferrerUrl, ReferralCount, Url, IsSpam)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', r.ReferrerId, r.ReferralDay, r.ReferrerUrl, r.ReferralCount, r.Url, r.IsSpam
-FROM be_Referrers r;
-
-DROP TABLE be_Referrers;
-ALTER TABLE be_ReferrersNew RENAME TO be_Referrers;
-
-CREATE INDEX idx_be_Referrers_BlogId
-ON be_Referrers (BlogId);
-
---
--- Update be_Profiles
---
-CREATE TABLE be_ProfilesNew (
-[ProfileID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[UserName] VARCHAR(100) NOT NULL,
-[SettingName] VARCHAR(200) NOT NULL,
-[SettingValue] TEXT NOT NULL
-);
-
-INSERT INTO be_ProfilesNew (BlogID, UserName, SettingName, SettingValue)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.UserName, p.SettingName, p.SettingValue
-FROM be_Profiles p;
-
-DROP TABLE be_Profiles;
-ALTER TABLE be_ProfilesNew RENAME TO be_Profiles;
-
-CREATE INDEX idx_be_Profiles_BlogID
-ON be_Profiles (BlogID);
-
---
--- Update be_Pages
---
-CREATE TABLE be_PagesNew (
-[PageRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[PageID] VARCHAR(36) NOT NULL,
-[Title] VARCHAR(255) NOT NULL,
-[Description] TEXT NOT NULL,
-[PageContent] TEXT NOT NULL,
-[Keywords] TEXT NOT NULL,
-[DateCreated] DATETIME NOT NULL,
-[DateModified] DATETIME NOT NULL,
-[IsPublished] BOOLEAN NOT NULL,
-[IsFrontPage] BOOLEAN NOT NULL,
-[Parent] VARCHAR(36) NOT NULL,
-[ShowInList] BOOLEAN NOT NULL,
-[Slug] VARCHAR(255) NOT NULL,
-[IsDeleted] BOOLEAN NOT NULL
-);
-
-INSERT INTO be_PagesNew
- (BlogID, PageID, Title, Description, PageContent, Keywords,
- DateCreated, DateModified, IsPublished, IsFrontPage, Parent,
- ShowInList, Slug, IsDeleted)
-SELECT
- '27604f05-86ad-47ef-9e05-950bb762570c', p.PageID, p.Title, p.Description, p.PageContent, p.Keywords,
- p.DateCreated, p.DateModified, p.IsPublished, p.IsFrontPage, p.Parent,
- p.ShowInList, coalesce(p.Slug, ''), p.IsDeleted
-FROM be_Pages p;
-
-DROP TABLE be_Pages;
-ALTER TABLE be_PagesNew RENAME TO be_Pages;
-
-CREATE INDEX idx_be_Pages_BlogID
-ON be_Pages (BlogID);
-
---
--- Update be_Categories
---
-CREATE TABLE be_CategoriesNew (
-[CategoryRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[CategoryID] VARCHAR(36) NOT NULL,
-[CategoryName] VARCHAR(50) NOT NULL,
-[Description] VARCHAR(200) NOT NULL,
-[ParentID] VARCHAR(36) NULL
-);
-
-INSERT INTO be_CategoriesNew (BlogID, CategoryID, CategoryName, Description, ParentID)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', c.CategoryID, c.CategoryName, coalesce(c.Description, ''), c.ParentID
-FROM be_Categories c;
-
-DROP TABLE be_Categories;
-ALTER TABLE be_CategoriesNew RENAME TO be_Categories;
-
-CREATE INDEX idx_be_Categories_BlogID
-ON be_Categories (BlogID);
-
---
--- Update be_PostCategory
---
-CREATE TABLE be_PostCategoryNew (
-[PostCategoryID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[PostID] VARCHAR(36) NOT NULL,
-[CategoryID] VARCHAR(36) NOT NULL
-);
-
-INSERT INTO be_PostCategoryNew (BlogID, PostID, CategoryID)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.CategoryID
-FROM be_PostCategory p;
-
-DROP TABLE be_PostCategory;
-ALTER TABLE be_PostCategoryNew RENAME TO be_PostCategory;
-
-CREATE INDEX idx_be_PostCategory_BlogID_PostID
-ON be_PostCategory (BlogID, PostID);
-
---
--- Update be_PostNotify
---
-CREATE TABLE be_PostNotifyNew (
-[PostNotifyID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[PostID] VARCHAR(36) NOT NULL,
-[NotifyAddress] VARCHAR(255) NOT NULL
-);
-
-INSERT INTO be_PostNotifyNew (BlogID, PostID, NotifyAddress)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.NotifyAddress
-FROM be_PostNotify p;
-
-DROP TABLE be_PostNotify;
-ALTER TABLE be_PostNotifyNew RENAME TO be_PostNotify;
-
-CREATE INDEX idx_be_PostNotify_BlogID_PostID
-ON be_PostNotify (BlogID, PostID);
-
---
--- Update be_PostTag
---
-CREATE TABLE be_PostTagNew (
-[PostTagID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[PostID] VARCHAR(36) NOT NULL,
-[Tag] VARCHAR(50) NOT NULL
-);
-
-INSERT INTO be_PostTagNew (BlogID, PostID, Tag)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.Tag
-FROM be_PostTag p;
-
-DROP TABLE be_PostTag;
-ALTER TABLE be_PostTagNew RENAME TO be_PostTag;
-
-CREATE INDEX idx_be_PostTag_BlogID_PostID
-ON be_PostTag (BlogID, PostID);
-
---
--- Update be_PostComment
---
-CREATE TABLE be_PostCommentNew (
-[PostCommentRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[PostCommentID] VARCHAR(36) NOT NULL,
-[PostID] VARCHAR(36) NOT NULL,
-[ParentCommentID] VARCHAR(36) NOT NULL,
-[CommentDate] DATETIME NOT NULL,
-[Author] VARCHAR(255) NOT NULL,
-[Email] VARCHAR(255) NOT NULL,
-[Website] VARCHAR(255) NOT NULL,
-[Comment] TEXT NOT NULL,
-[Country] VARCHAR(255) NOT NULL,
-[Ip] VARCHAR(50) NOT NULL,
-[IsApproved] BOOLEAN NOT NULL,
-[ModeratedBy] VARCHAR(100) NOT NULL,
-[Avatar] VARCHAR(255) NOT NULL,
-[IsSpam] BOOLEAN NOT NULL,
-[IsDeleted] BOOLEAN NOT NULL
-);
-
-INSERT INTO be_PostCommentNew
- (BlogID, PostCommentID, PostID, ParentCommentID, CommentDate, Author,
- Email, Website, Comment, Country, Ip, IsApproved, ModeratedBy, Avatar,
- IsSpam, IsDeleted)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostCommentID, p.PostID, p.ParentCommentID, p.CommentDate, p.Author,
- p.Email, p.Website, p.Comment, p.Country, p.Ip, p.IsApproved, coalesce(p.ModeratedBy,''),coalesce(p.Avatar, ''), p.IsSpam, p.IsDeleted
-FROM be_PostComment p;
-
-DROP TABLE be_PostComment;
-ALTER TABLE be_PostCommentNew RENAME TO be_PostComment;
-
-CREATE INDEX idx_be_PostComment_BlogID_PostID
-ON be_PostComment (BlogID, PostID);
-
---
--- Update be_Posts
---
-CREATE TABLE be_PostsNew (
-[PostRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[PostID] VARCHAR(36) NOT NULL,
-[Title] VARCHAR(255) NOT NULL,
-[Description] TEXT NOT NULL,
-[PostContent] TEXT NOT NULL,
-[DateCreated] DATETIME NOT NULL,
-[DateModified] DATETIME NOT NULL,
-[Author] VARCHAR(50) NOT NULL,
-[IsPublished] BOOLEAN NOT NULL,
-[IsCommentEnabled] BOOLEAN NOT NULL,
-[Raters] INTEGER NOT NULL,
-[Rating] REAL NOT NULL,
-[Slug] VARCHAR(255) NOT NULL,
-[IsDeleted] BOOLEAN NOT NULL
-);
-
-INSERT INTO be_PostsNew
- (BlogID, PostID, Title, Description, PostContent, DateCreated,
- DateModified, Author, IsPublished, IsCommentEnabled, Raters,
- Rating, Slug, IsDeleted)
-SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.Title, p.Description, p.PostContent, p.DateCreated,
- p.DateModified, p.Author, p.IsPublished, p.IsCommentEnabled, p.Raters,
- p.Rating, p.Slug, p.IsDeleted
-FROM be_Posts p;
-
-DROP TABLE be_Posts;
-ALTER TABLE be_PostsNew RENAME TO be_Posts;
-
-CREATE INDEX idx_be_Posts_BlogID_PostID
-ON be_Posts (BlogID, PostID);
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.5To2.6.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.5To2.6.txt
deleted file mode 100644
index 12a70842d..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.5To2.6.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-
---
--- dbo.be_Packages
---
-CREATE TABLE be_Packages (
-[PackageId] VARCHAR(128) NOT NULL PRIMARY KEY,
-[Version] VARCHAR(128) NOT NULL);
-
---
--- be_PackageFiles
---
-CREATE TABLE be_PackageFiles (
-[PackageId] VARCHAR(128) NOT NULL,
-[FileOrder] INTEGER NOT NULL,
-[FilePath] VARCHAR(255) NOT NULL,
-[IsDirectory] BOOLEAN NOT NULL,
-PRIMARY KEY ([PackageId], [FileOrder]));
-
---
--- be_QuickNotes
---
-CREATE TABLE be_QuickNotes (
-[QuickNoteID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[NoteID] VARCHAR(36) NOT NULL,
-[BlogID] VARCHAR(36) NOT NULL,
-[UserName] VARCHAR(100) NOT NULL,
-[Note] TEXT NOT NULL,
-[Updated] DATETIME NULL);
-
-CREATE INDEX idx_be_NoteId_BlogId_UserName
-ON be_QuickNotes (NoteID, BlogID, UserName);
-
---
--- be_QuickSettings
---
-CREATE TABLE be_QuickSettings (
-[QuickSettingID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
-[BlogID] VARCHAR(36) NOT NULL,
-[UserName] VARCHAR(100) NOT NULL,
-[SettingName] VARCHAR(255) NOT NULL,
-[SettingValue] VARCHAR(255) NULL);
-
---
--- be_FileStoreDirectory
---
-CREATE TABLE be_FileStoreDirectory (
-[Id] VARCHAR(36) NOT NULL PRIMARY KEY,
-[ParentID] VARCHAR(36) NOT NULL,
-[BlogID] VARCHAR(36) NOT NULL,
-[Name] VARCHAR(255) NOT NULL,
-[FullPath] VARCHAR(1000) NOT NULL,
-[CreateDate] DATETIME NOT NULL,
-[LastAccess] DATETIME NOT NULL,
-[LastModify] DATETIME NOT NULL);
-
---
--- be_FileStoreFiles (No Casade delete)
---
-CREATE TABLE be_FileStoreFiles (
-[FileID] VARCHAR(36) NOT NULL PRIMARY KEY,
-[ParentDirectoryID] VARCHAR(36) NOT NULL,
-[Name] VARCHAR(255) NOT NULL,
-[FullPath] VARCHAR(1000) NOT NULL,
-[Contents] BLOB NOT NULL,
-[Size] INTEGER NOT NULL,
-[CreateDate] DATETIME NOT NULL,
-[LastAccess] DATETIME NOT NULL,
-[LastModify] DATETIME NOT NULL);
-
---
--- be_FileStoreFileThumbs (No Casade delete)
---
-CREATE TABLE be_FileStoreFileThumbs (
-[thumbnailId] VARCHAR(36) NOT NULL PRIMARY KEY,
-[FileId] VARCHAR(36) NOT NULL,
-[Contents] BLOB NOT NULL,
-[Size] INTEGER NOT NULL);
-
---
--- be_Blogs
---
-ALTER TABLE be_Blogs
-ADD IsSiteAggregation BOOLEAN NOT NULL DEFAULT 0;
-
-
-
-
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.6To3.0.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.6To3.0.txt
deleted file mode 100644
index 32a3366e1..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.6To3.0.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-
---
--- dbo.be_CustomFields
---
-CREATE TABLE be_CustomFields(
- [CustomType] [varchar](100) NOT NULL,
- [ObjectId] [varchar](250) NOT NULL,
- [BlogId] VARCHAR(36) NOT NULL,
- [Key] [varchar](250) NOT NULL,
- [Value] TEXT NOT NULL,
- [Attribute] [varchar](250) NULL
-);
-
-
-
-
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom3.0To3.1.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom3.0To3.1.txt
deleted file mode 100644
index 3e267b031..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom3.0To3.1.txt
+++ /dev/null
@@ -1,43 +0,0 @@
---
--- be_Pages SortOrder
---
-ALTER TABLE be_Pages
-ADD SortOrder INTEGER NOT NULL DEFAULT 0;
-
---
--- add new rights to administrators
---
-INSERT INTO be_RightRoles (BlogId, RightName, Role)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ViewDashboard', 'Administrators');
-
-INSERT INTO be_RightRoles (BlogId, RightName, Role)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageExtensions', 'Administrators');
-
-INSERT INTO be_RightRoles (BlogId, RightName, Role)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageThemes', 'Administrators');
-
-INSERT INTO be_RightRoles (BlogId, RightName, Role)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManagePackages', 'Administrators');
-
-
-INSERT INTO be_Rights (BlogId, RightName)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ViewDashboard');
-
-INSERT INTO be_Rights (BlogId, RightName)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageExtensions');
-
-INSERT INTO be_Rights (BlogId, RightName)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageThemes');
-
-INSERT INTO be_Rights (BlogId, RightName)
-VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManagePackages');
-
-
-
-
-
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeTo1.5.0From1.4.5.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeTo1.5.0From1.4.5.txt
deleted file mode 100644
index f3ff964a1..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeTo1.5.0From1.4.5.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-ALTER TABLE be_PostComment
-ADD [ParentCommentID] VARCHAR(36) NULL DEFAULT '00000000-0000-0000-0000-000000000000';
-
-UPDATE be_PostComment
-SET ParentCommentID = '00000000-0000-0000-0000-000000000000'
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/BlogEngine.s3db b/BlogEngine/BlogEngine.NET/setup/SQLite/BlogEngine.s3db
deleted file mode 100644
index 6ba933507..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLite/BlogEngine.s3db and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/ReadMe.txt
deleted file mode 100644
index 514e34898..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/ReadMe.txt
+++ /dev/null
@@ -1,94 +0,0 @@
-Running BlogEngine.NET using SQLite:
-
-If you wish to use SQLite to store all your blog data, this is the guide for you.
-Included in this folder is a default SQLite database, that you can use to get you
-started with your blog. In addition, you will find a sample web.config file with
-the needed changes to use SQLite and an upgrade scripts for current SQLite users
-who wish to upgrade from previous version.
-
-Instructions for new setup:
-
-1. Copy System.Data.SQLite.DLL from the /setup/SQLite to your blog's bin folder.
-2. Copy BlogEngine.s3db from the SQLite folder to your App_Data folder.
-3. Rename SQLiteWeb.Config to Web.config and copy it to your blog folder. (This will
-overwrite your existing web.config file. If this is not a new installation, make sure
-you have a backup).
-4. Surf out to your Blog and see the welcome post.
-5. Login with the username Admin and password admin. Change the password. Note: This
-data is case sensitive.
-
-Upgrading from 2.6
-
-1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite
-Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/)
-2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db
-file from your web server, perform the update, and copy it back out after these changes
-depending on your setup.)
-3. Execute the upgrade script for 2.6 to 3.0 against the database.
-
-Upgrading from 2.5
-
-1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite
-Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/)
-2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db
-file from your web server, perform the update, and copy it back out after these changes
-depending on your setup.)
-3. Execute the upgrade script for 2.5 to 2.6 against the database.
-4. The web.config file has changed in 2.7. It will likely be easiest to start
-with the sample web.config file as described above, but if you have other changes in it,
-you'll need to merge them.
-
-Upgrading from 2.0
-
-1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite
-Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/)
-2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db
-file from your web server, perform the update, and copy it back out after these changes
-depending on your setup.)
-3. Execute the upgrade script for 2.0 to 2.5 against the database.
-4. The web.config file has changed in 2.5. It will likely be easiest to start
-with the sample web.config file as described above, but if you have other changes in it,
-you'll need to merge them.
-
-Upgrading from 1.6
-
-1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite
-Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/)
-2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db
-file from your web server, perform the update, and copy it back out after these changes
-depending on your setup.)
-3. Execute the upgrade script for 1.6 to 2.0 against the database.
-4. The web.config file has changed in 2.0. It will likely be easiest to start
-with the sample web.config file as described above, but if you have other changes in it,
-you'll need to merge them.
-
-Upgrading from 1.5
-
-1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite
-Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/)
-2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db
-file from your web server, perform the update, and copy it back out after these changes
-depending on your setup.)
-3. Execute the upgrade script for 1.5 to 1.6 against the database.
-4. You will need to manually edit the be_PostComments table. Change the field
-"ParentCommentID" to have the field constraint of NOT NULL.
-5. The web.config file has changed in 1.6.0. It will likely be easiest to start
-with the sample web.config file as described above, but if you have other changes in it,
-you'll need to merge them.
-
-Upgrading from 1.4.5
-
-1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite
-Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/)
-2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db
-file from your web server, perform the update, and copy it back out after these changes
-depending on your setup.)
-3. Execute the upgrade script for 1.4.5 to 1.5 against the database.
-4. Execute the upgrade script for 1.5 to 1.6 against the database.
-5. You will need to manually edit the be_PostComments table. Change the field
-"ParentCommentID" to have the field constraint of NOT NULL.
-6. The web.config file has changed in 1.6.0. It will likely be easiest to start
-with the sample web.config file as described above, but if you have other changes in it,
-you'll need to merge them.
-
-Additional information can be found at http://dotnetblogengine.net
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/SQLiteWeb.Config b/BlogEngine/BlogEngine.NET/setup/SQLite/SQLiteWeb.Config
deleted file mode 100644
index a920230ff..000000000
--- a/BlogEngine/BlogEngine.NET/setup/SQLite/SQLiteWeb.Config
+++ /dev/null
@@ -1,278 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/System.Data.SQLite.dll b/BlogEngine/BlogEngine.NET/setup/SQLite/System.Data.SQLite.dll
deleted file mode 100644
index b6e2d0742..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/SQLite/System.Data.SQLite.dll and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.flv b/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.flv
deleted file mode 100644
index 799d137e6..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.flv and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.png b/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.png
deleted file mode 100644
index bdd4bdf56..000000000
Binary files a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.png and /dev/null differ
diff --git a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.txt b/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.txt
deleted file mode 100644
index 4aa5f8f48..000000000
--- a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.txt
+++ /dev/null
@@ -1 +0,0 @@
-This is a sample text file.
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/Web.config b/BlogEngine/BlogEngine.NET/setup/Web.config
deleted file mode 100644
index 2e1c58729..000000000
--- a/BlogEngine/BlogEngine.NET/setup/Web.config
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx b/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx
deleted file mode 100644
index 348b34e04..000000000
--- a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx
+++ /dev/null
@@ -1,763 +0,0 @@
-<%@ WebService Language="C#" Class="Updater" %>
-using System;
-using System.Collections.Generic;
-using System.Web.Script.Services;
-using System.Web.Services;
-using System.Web.Hosting;
-using System.Web;
-using System.IO;
-using ICSharpCode.SharpZipLib.Core;
-using ICSharpCode.SharpZipLib.Zip;
-using System.Collections.Specialized;
-using System.Net;
-using BlogEngine.Core;
-
-[WebService(Namespace = "http://tempuri.org/")]
-[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
-[ScriptService]
-public class Updater : WebService {
-
- private StringCollection _ignoreDirs;
- private List _installed;
- private string _root;
- private string _newZip;
- private string _oldZip;
- private static string _upgradeReleases = BlogConfig.GalleryFeedUrl.Replace("nuget", "/Releases/");
- //private static string _upgradeReleases = "http://dnbe.net/v01/Releases/";
- private string _downloadUrl = _upgradeReleases + "{0}.zip";
- private string _versionsTxt = _upgradeReleases + "versions.txt";
- private bool _test = false; // when set to "true" will run in test mode without actually updating site
- private int _tries;
-
- public Updater()
- {
- _root = HostingEnvironment.MapPath("~/");
- if (_root.EndsWith("\\")) _root = _root.Substring(0, _root.Length - 1);
-
- _newZip = _root + "\\setup\\upgrade\\backup\\new.zip";
- _oldZip = _root + "\\setup\\upgrade\\backup\\old.zip";
-
- _ignoreDirs = new StringCollection();
- _ignoreDirs.Add(_root + "\\Custom");
- _ignoreDirs.Add(_root + "\\setup\\upgrade");
-
- _installed = new List();
- }
-
- [WebMethod]
- public string Check(string version)
- {
- try
- {
- WebClient client = new WebClient();
- Stream stream = client.OpenRead(_versionsTxt);
- StreamReader reader = new StreamReader(stream);
- string line = "";
-
- while (reader.Peek() >= 0)
- {
- line = reader.ReadLine();
- if (!string.IsNullOrEmpty(version) && line.Contains("|"))
- {
- var iCurrent = int.Parse(version.Replace(".", ""));
- var iFrom = int.Parse(line.Substring(0, line.IndexOf("|")).Replace(".", ""));
- var iTo = int.Parse(line.Substring(line.LastIndexOf("|") + 1).Replace(".", ""));
-
- if (iCurrent >= iFrom && iCurrent < iTo)
- {
- return line.Substring(line.LastIndexOf("|") + 1);
- }
- }
- }
- return "";
- }
- catch (Exception)
- {
- return "";
- }
- }
-
- [WebMethod]
- public string Download(string version)
- {
- if (_test)
- {
- System.Threading.Thread.Sleep(2000);
- return "";
- }
- try
- {
- if (!Directory.Exists(_root + "\\setup\\upgrade\\backup"))
- Directory.CreateDirectory(_root + "\\setup\\upgrade\\backup");
-
- if (File.Exists(_newZip))
- File.Delete(_newZip);
-
- var startTime = DateTime.UtcNow;
- var request = WebRequest.Create(string.Format(_downloadUrl, version.Replace(".", "")));
- var response = request.GetResponse();
- using (Stream responseStream = response.GetResponseStream())
- {
- using (Stream fileStream = File.OpenWrite(_newZip))
- {
- byte[] buffer = new byte[4096];
- int bytesRead = responseStream.Read(buffer, 0, 4096);
- while (bytesRead > 0)
- {
- fileStream.Write(buffer, 0, bytesRead);
- DateTime nowTime = DateTime.UtcNow;
- if ((nowTime - startTime).TotalMinutes > 5)
- {
- throw new ApplicationException(
- "Download timed out");
- }
- bytesRead = responseStream.Read(buffer, 0, 4096);
- }
- }
- }
- Utils.Log(string.Format("Upgrade: downloaded version {0} by {1}", version, Security.CurrentUser.Identity.Name));
- return "";
- }
- catch (Exception ex)
- {
- return ex.Message;
- }
- }
-
- [WebMethod]
- public string Extract()
- {
- if (_test)
- {
- System.Threading.Thread.Sleep(2000);
- return "";
- }
-
- ZipFile zf = null;
- string outFolder = _root + "\\setup\\upgrade\\backup\\be";
- try
- {
- if (!Directory.Exists(outFolder))
- Directory.CreateDirectory(outFolder);
-
- FileStream fs = File.OpenRead(_newZip);
- zf = new ZipFile(fs);
-
- foreach (ZipEntry zipEntry in zf)
- {
- if (!zipEntry.IsFile)
- {
- continue;
- }
- String entryFileName = zipEntry.Name;
-
- byte[] buffer = new byte[4096];
- Stream zipStream = zf.GetInputStream(zipEntry);
-
- String fullZipToPath = Path.Combine(outFolder, entryFileName);
- string directoryName = Path.GetDirectoryName(fullZipToPath);
- if (directoryName.Length > 0)
- Directory.CreateDirectory(directoryName);
-
- using (FileStream streamWriter = File.Create(fullZipToPath))
- {
- StreamUtils.Copy(zipStream, streamWriter, buffer);
- }
- }
- return "";
- }
- catch(Exception ex)
- {
- return ex.Message;
- }
- finally
- {
- if (zf != null)
- {
- zf.IsStreamOwner = true;
- zf.Close();
- }
- }
- }
-
- [WebMethod]
- public string Backup()
- {
- if (_test)
- {
- System.Threading.Thread.Sleep(2000);
- return "";
- }
-
- try
- {
- var backupDir = HostingEnvironment.MapPath("~/setup/upgrade/backup");
- var blogDir = HostingEnvironment.MapPath("~/");
-
- if (!Directory.Exists(backupDir))
- Directory.CreateDirectory(backupDir);
-
- if (File.Exists(_oldZip))
- File.Delete(_oldZip);
-
- var fsOut = File.Create(_oldZip);
- var zipStream = new ZipOutputStream(fsOut);
-
- zipStream.SetLevel(3);
- int folderOffset = blogDir.Length + (blogDir.EndsWith("\\") ? 0 : 1);
-
- CompressFolder(blogDir, zipStream, folderOffset);
-
- zipStream.IsStreamOwner = true;
- zipStream.Close();
-
- return "";
- }
- catch (Exception ex)
- {
- return ex.Message;
- }
- }
-
- [WebMethod]
- public string Delete()
- {
- if (_test)
- {
- System.Threading.Thread.Sleep(2000);
- return "";
- }
- try
- {
- DeleteDir("\\api");
- DeleteDir("\\editors");
- DeleteDir("\\Modules");
- DeleteDir("\\pics");
-
- // in version 3.3.0.0 widgets framework updated
- // and no longer compatible. delete for lesser versions
- int version = int.Parse(BlogSettings.Instance.Version().Replace(".", ""));
- if (version < 3300)
- {
- DeleteDir("\\App_Data\\datastore\\widgets");
- }
-
- ReplaceDir("\\Account");
- ReplaceDir("\\admin");
- ReplaceDir("\\fonts");
-
- ReplaceDir("\\setup\\Mono");
- ReplaceDir("\\setup\\MySQL");
- ReplaceDir("\\setup\\SQL_CE");
- ReplaceDir("\\setup\\SQLite");
- ReplaceDir("\\setup\\SQLServer");
-
- ReplaceDir("\\App_GlobalResources");
- ReplaceDir("\\Scripts");
- ReplaceDir("\\Content");
- ReplaceDir("\\Custom\\Themes\\Standard");
- ReplaceDir("\\Custom\\Widgets");
-
- return "";
- }
- catch (Exception ex)
- {
- return ex.Message;
- }
- }
-
- [WebMethod]
- public string Install()
- {
- if (_test)
- {
- CopyWebConfig();
-
- System.Threading.Thread.Sleep(2000);
- return "";
- }
- try
- {
- ReplaceFile("archive.aspx");
- ReplaceFile("contact.aspx");
- ReplaceFile("default.aspx");
- ReplaceFile("error.aspx");
- ReplaceFile("error404.aspx");
- ReplaceFile("page.aspx");
- ReplaceFile("post.aspx");
- ReplaceFile("search.aspx");
- ReplaceFile("web.sitemap");
- ReplaceFile("wlwmanifest.xml");
-
- ReplaceFilesInDir("bin");
-
- ReplaceLabelsFile();
-
- CopyWebConfig();
-
- ReplaceFile("Global.asax");
-
- FixSH();
-
- // add few new custom controls
- string from = "{0}\\setup\\upgrade\\backup\\be\\Custom\\Controls\\{1}";
- string to = "{0}\\Custom\\Controls\\{1}";
- CopyFile(string.Format(from, _root, "CommentList.ascx"), string.Format(to, _root, "CommentList.ascx"));
- CopyFile(string.Format(from, _root, "PostList.ascx"), string.Format(to, _root, "PostList.ascx"));
- CopyFile(string.Format(from, _root, "Defaults\\CommentView.ascx"), string.Format(to, _root, "Defaults\\CommentView.ascx"));
- CopyFile(string.Format(from, _root, "Defaults\\PostView.ascx"), string.Format(to, _root, "Defaults\\PostView.ascx"));
-
- Directory.Delete(_root + "\\setup\\upgrade\\backup", true);
- Utils.Log(string.Format("Upgrade completed by {0}", Security.CurrentUser.Identity.Name));
-
- return "";
- }
- catch (Exception ex)
- {
- return ex.Message;
- }
- }
-
- public void CopyWebConfig()
- {
- string webConfig = _root + "\\web.config";
- StreamReader reader = new StreamReader(webConfig);
- string content = reader.ReadToEnd();
- reader.Close();
-
- if (content.Contains("defaultProvider=\"DbBlogProvider"))
- {
- ReplaceDbConfig(content);
- }
- else
- {
- ReplaceXMLConfig(content);
- }
- }
-
- void ReplaceLabelsFile()
- {
- string sourceFile = _root + "\\setup\\upgrade\\backup\\be\\App_Data\\labels.txt";
- string targetFile = _root + "\\App_Data\\labels.txt";
-
- if (File.Exists(sourceFile) && File.Exists(targetFile))
- {
- File.Delete(targetFile);
- File.Copy(sourceFile, targetFile);
- }
- }
-
- void ReplaceXMLConfig(string content)
- {
- string targetFile = _root + "\\Web.config";
- DeleteFile(targetFile);
-
- content = UpdateWebConfig(content);
-
- var writer = new StreamWriter(targetFile);
- writer.Write(content);
- writer.Close();
- }
-
- void ReplaceDbConfig(string content)
- {
- string oldCon = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["BlogEngine"].ConnectionString;
- string conPrv = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["BlogEngine"].ProviderName;
- string sourceFile = _root + "\\setup\\upgrade\\backup\\be\\web.config";
- string defCon = "";
-
- if (conPrv.StartsWith("System.Data.SqlServerCe"))
- {
- sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\SQL_CE\\SQL_CE_Web.Config";
- defCon = @"Data Source=|DataDirectory|BlogEngine.sdf;";
- }
- else if (conPrv.StartsWith("MySql.Data.MySqlClient"))
- {
- sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\MySQL\\MySQLWeb.Config";
- defCon = @"Server=localhost;Database=blogengine;Uid=beUser;Pwd=password;";
- }
- else if (conPrv.StartsWith("System.Data.SQLite"))
- {
- sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\SQLite\\SQLiteWeb.Config";
- defCon = @"Data Source=|DataDirectory|\BlogEngine.s3db;Version=3;BinaryGUID=False;";
- }
- else if (conPrv == "System.Data.SqlClient")
- {
- sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\SQLServer\\DbWeb.Config";
- defCon = @"Server=.\SQLEXPRESS;Database=BlogEngine;Trusted_Connection=True;";
- }
-
- string targetFile = _root + "\\Web.config";
-
- DeleteFile(targetFile);
- CopyFile(sourceFile, targetFile);
-
- // replace connection string
- StreamReader reader = new StreamReader(targetFile);
- string webContent = reader.ReadToEnd();
- reader.Close();
-
- webContent = webContent.Replace(defCon, oldCon);
- webContent = UpdateWebConfig(webContent);
-
- StreamWriter writer = new StreamWriter(targetFile);
- writer.Write(webContent);
- writer.Close();
- }
-
- string UpdateWebConfig(string content)
- {
- var defaultValidationKey = "D9F7287EFDE8DF4CAFF79011D5308643D8F62AE10CDF30DAB640B7399BF6C57B0269D60A23FBCCC736FC2487ED695512BA95044DE4C58DC02C2BA0C4A266454C";
- var defaultDecryptionKey = "BDAAF7E00B69BA47B37EEAC328929A06A6647D4C89FED3A7D5C52B12B23680F4";
-
- string validationKey = CreateKey(Convert.ToInt32(64));
- string decryptionKey = CreateKey(Convert.ToInt32(24));
-
- content = content.Replace(defaultValidationKey, validationKey);
- content = content.Replace(defaultDecryptionKey, decryptionKey);
-
- // replace old editor path in web.config
- content = content.Replace("~/editors", "~/admin/editors");
-
- // replace runtime tag in web.config
- var newWebConfig = _root + "\\setup\\upgrade\\backup\\be\\Web.Config";
- try
- {
- StreamReader reader = new StreamReader(newWebConfig);
- string newContent = reader.ReadToEnd();
- reader.Close();
-
- var oldRuntimeTag = content.Substring(content.IndexOf(""), (content.IndexOf ("") - content.IndexOf("") + 11));
- var newRuntimeTag = newContent.Substring(newContent.IndexOf(""), (newContent.IndexOf ("") - newContent.IndexOf("") + 11));
-
- if(oldRuntimeTag.Length > 0 && newRuntimeTag.Length > 0)
- {
- content = content.Replace(oldRuntimeTag, newRuntimeTag);
- }
- }
- catch (Exception)
- {
- }
- return content;
- }
-
- static String CreateKey(int numBytes)
- {
- var rng = new System.Security.Cryptography.RNGCryptoServiceProvider();
- byte[] buff = new byte[numBytes];
-
- rng.GetBytes(buff);
- return BytesToHexString(buff);
- }
-
- static String BytesToHexString(byte[] bytes)
- {
- var hexString = new System.Text.StringBuilder(64);
-
- for (int counter = 0; counter < bytes.Length; counter++)
- {
- hexString.Append(String.Format("{0:X2}", bytes[counter]));
- }
- return hexString.ToString();
- }
-
- [WebMethod]
- public string Rollback()
- {
- try
- {
- foreach (var item in _installed)
- {
- if (item.IsDirectory)
- {
- var source = new DirectoryInfo(item.To);
- var target = new DirectoryInfo(item.From);
-
- //Log(source.FullName, target.FullName, true);
- CopyRecursive(source, target);
- }
- else
- {
- File.Copy(item.To, item.From, true);
- }
- }
- return "";
- }
- catch (Exception ex)
- {
- return ex.Message;
- }
- }
-
- //----------------------------------------------
-
- void ReplaceDir(string dir)
- {
- try
- {
- DeleteDir(dir);
- CopyDir(dir);
- _tries = 0;
- Utils.Log(string.Format("Updater: replaced directory {0}", dir));
- }
- catch (Exception ex)
- {
- // wait 2 seconds then repeat
- System.Threading.Thread.Sleep(2000);
- _tries++;
-
- if (_tries == 3)
- {
- _tries = 0;
- throw new ApplicationException(string.Format("Failed to replace directory {0}; error: {1}", dir, ex.Message));
- }
-
- if (_tries < 4)
- {
- ReplaceDir(dir);
- }
- }
- }
-
- void DeleteDir(string dir)
- {
- if (Directory.Exists(_root + dir))
- {
- Directory.Delete(_root + dir, true);
- }
- }
-
- void CopyDir(string dir)
- {
- var source = new DirectoryInfo(_root + "\\setup\\upgrade\\backup\\be\\" + dir);
- var target = new DirectoryInfo(_root + "\\" + dir);
-
- //Log(source.FullName, target.FullName, true);
- CopyRecursive(source, target);
- }
-
- //------------------------------------------------
-
- void ReplaceFile(string file)
- {
- string sourceFile = _root + "\\setup\\upgrade\\backup\\be\\" + file;
- string targetFile = _root + "\\" + file;
-
- try
- {
- DeleteFile(targetFile);
- }
- catch (Exception ex)
- {
- Utils.Log(string.Format("Updater: failed to delete file {0}; error: {1}", file, ex.Message));
- }
-
- if (!File.Exists(targetFile))
- {
- CopyFile(sourceFile, targetFile);
- }
- }
-
- void DeleteFile(string file)
- {
- if (File.Exists(file))
- File.Delete(file);
- }
-
- void CopyFile(string from, string to)
- {
- File.Copy(from, to, true);
- }
-
- void ReplaceFilesInDir(string dir)
- {
- string sourceDir = _root + "\\setup\\upgrade\\backup\\be\\" + dir;
- string[] files = Directory.GetFiles(sourceDir);
-
- foreach (string sourceFile in files)
- {
- string fileName = sourceFile.Substring(sourceFile.LastIndexOf(@"\") + 1);
- ReplaceFile(dir + "\\" + fileName);
- }
- }
-
- //---------------------------------------------------
-
- void CompressFolder(string path, ZipOutputStream zipStream, int folderOffset)
- {
- if (IgnoredDirectory(path))
- return;
-
- string[] files = Directory.GetFiles(path);
-
- foreach (string filename in files)
- {
- FileInfo fi = new FileInfo(filename);
- string entryName = filename.Substring(folderOffset);
- entryName = ZipEntry.CleanName(entryName);
- ZipEntry newEntry = new ZipEntry(entryName);
- newEntry.DateTime = fi.LastWriteTime;
- newEntry.Size = fi.Length;
- zipStream.PutNextEntry(newEntry);
-
- byte[] buffer = new byte[4096];
- using (FileStream streamReader = File.OpenRead(filename))
- {
- StreamUtils.Copy(streamReader, zipStream, buffer);
- }
- zipStream.CloseEntry();
- }
- string[] folders = Directory.GetDirectories(path);
- foreach (string folder in folders)
- {
- CompressFolder(folder, zipStream, folderOffset);
- }
- }
-
- void ExtractZipFile(string archiveFilenameIn, string outFolder)
- {
- ZipFile zf = null;
- try
- {
- FileStream fs = File.OpenRead(archiveFilenameIn);
- zf = new ZipFile(fs);
-
- foreach (ZipEntry zipEntry in zf)
- {
- if (!zipEntry.IsFile)
- continue;
-
- String entryFileName = zipEntry.Name;
-
- byte[] buffer = new byte[4096];
- Stream zipStream = zf.GetInputStream(zipEntry);
-
- String fullZipToPath = Path.Combine(outFolder, entryFileName);
- string directoryName = Path.GetDirectoryName(fullZipToPath);
- if (directoryName.Length > 0)
- Directory.CreateDirectory(directoryName);
-
- using (FileStream streamWriter = File.Create(fullZipToPath))
- {
- StreamUtils.Copy(zipStream, streamWriter, buffer);
- }
- }
- }
- finally
- {
- if (zf != null)
- {
- zf.IsStreamOwner = true;
- zf.Close();
- }
- }
- }
-
- static void CopyRecursive(DirectoryInfo source, DirectoryInfo target)
- {
- var rootPath = HttpContext.Current.Server.MapPath(BlogEngine.Core.Utils.RelativeWebRoot);
-
- if (!Directory.Exists(target.FullName))
- Directory.CreateDirectory(target.FullName);
-
- foreach (var dir in source.GetDirectories())
- {
- var dirPath = Path.Combine(target.FullName, dir.Name);
- var relPath = dirPath.Replace(rootPath, "");
-
- CopyRecursive(dir, Directory.CreateDirectory(dirPath));
- }
-
- foreach (var file in source.GetFiles())
- {
- var filePath = Path.Combine(target.FullName, file.Name);
-
- var relPath = filePath.Replace(rootPath, "");
-
- file.CopyTo(filePath);
- }
- }
-
- bool IgnoredDirectory(string item)
- {
- return _ignoreDirs.Contains(item) ? true : false;
- }
-
- //----------------------------------------------------
- void FixSH()
- {
- var themesPath = HttpContext.Current.Server.MapPath(BlogEngine.Core.Utils.RelativeWebRoot + "Custom/Themes");
-
- if (!Directory.Exists(themesPath))
- return;
-
- var themes = new DirectoryInfo(themesPath);
-
- foreach (var dir in themes.GetDirectories())
- {
- if (dir.Name != "RazorHost")
- {
- System.Diagnostics.Debug.WriteLine(dir.Name);
-
- foreach (var file in dir.GetFiles())
- {
- if (file.Name.Contains(".cs") ||
- file.Name.Contains(".ascx") ||
- file.Name.Contains(".cshtml") ||
- file.Name.Contains(".master"))
- {
- ReplaceInFile(file.FullName, "editors/tiny_mce_3_5_8/plugins", "Scripts");
- }
- }
- }
- }
- }
- static void ReplaceInFile(string filePath, string searchText, string replaceText)
- {
- var cnt = 0;
- StreamReader reader = new StreamReader(filePath);
- string content = reader.ReadToEnd();
- cnt = content.Length;
- reader.Close();
-
- content = System.Text.RegularExpressions.Regex.Replace(content, searchText, replaceText);
-
- if (cnt > 0 && cnt != content.Length)
- {
- Utils.Log(string.Format("Updater: replacing in {0} from {1} to {2}", filePath, searchText, replaceText));
- }
-
- StreamWriter writer = new StreamWriter(filePath);
- writer.Write(content);
- writer.Close();
- }
- //----------------------------------------------------
-
- //void Log(string from, string to = "", bool directory = false, Operation action = Operation.Copy)
- //{
- // _installed.Add(new InstalledLog { IsDirectory = directory, Action = action, From = from, To = to });
-
- // string s = action == Operation.Copy ? "UPGRADE: Copy " : "UPGRADE: Delete ";
- // s = s + (directory ? "directory " : "file ");
-
- // if (action == Operation.Copy)
- // BlogEngine.Core.Utils.Log(string.Format("{0} from {1} to {2}", s, from, to));
- // else
- // BlogEngine.Core.Utils.Log(string.Format("{0} from {1}", s, from));
- //}
-}
-
-public class InstalledLog
-{
- public InstalledLog(){}
- public Operation Action { get; set; }
- public bool IsDirectory { get; set; }
- public string From { get; set; }
- public string To { get; set; }
-}
-
-public enum Operation
-{
- Copy,
- Delete
-}
\ No newline at end of file
diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.js b/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.js
deleted file mode 100644
index fb888b552..000000000
--- a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.js
+++ /dev/null
@@ -1,254 +0,0 @@
-$(document).ready(function () {
- Check();
-});
-
-var newVersion = "";
-
-function Check() {
- // CurrentVersion
- CheckVersion();
-
- if (!newVersion) { newVersion = ""; }
-
- if (newVersion.length > 0) {
- $("#spin1").hide();
- $("#spin2").hide();
- $("#spin3").hide();
- $("#spin4").hide();
- $("#spin5").hide();
- $("#spin9").hide();
- $("#step9").hide();
- $('#msg-success').hide();
- $('#spnNewVersion').html(newVersion);
- }
- else {
- $("#frm").hide();
- $("#btnRun").hide();
- $("h2").html("Looks like you already running latest version!");
- }
-}
-
-function CheckVersion() {
- $("#spin1").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Check",
- data: "{ version: '" + CurrentVersion + "' }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- async: false,
- success: function (result) {
- newVersion = result.d; // "3.2.0.0";
- }
- });
-}
-
-var upgrade = function () {
- $("#btnRun").prop("disabled", true);
- $("#btnHome").prop("disabled", true);
- $("#btnBack").prop("disabled", true);
- Download();
-}
-
-// returns version to which blog can be upgrated
-function Download() {
- $("#spin1").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Download",
- data: "{ version: '" + newVersion + "' }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- var rt = result.d;
- if (rt.length > 0) {
- $("#spin1").hide();
- ShowError("1", rt);
- }
- else {
- ShowSuccess("1");
- Extract();
- }
- }
- });
-}
-
-function Extract() {
- $("#spin2").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Extract",
- data: "{ }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- var rt = result.d;
- if (rt.length > 0) {
- $("#spin2").hide();
- ShowError("2", rt);
- }
- else {
- ShowSuccess("2");
- Backup();
- }
- }
- });
-}
-
-function Backup() {
- $("#spin3").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Backup",
- data: "{ }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- var rt = result.d;
- if (rt.length > 0) {
- $("#spin3").hide();
- ShowError("3", rt);
- }
- else {
- ShowSuccess("3");
- Delete();
- }
- }
- });
-}
-
-function Delete() {
- $("#spin4").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Delete",
- data: "{ }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- var rt = result.d;
- if (rt.length > 0) {
- $("#spin4").hide();
- ShowError("4", rt);
- }
- else {
- ShowSuccess("4");
- Install();
- }
- }
- });
-}
-
-function Install() {
- $("#spin5").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Install",
- data: "{ }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- var rt = result.d;
- if (rt.length > 0) {
- $("#spin5").hide();
- ShowError("5", rt);
- }
- else {
- ShowSuccess("5");
- $('#msg-success').show();
- $("#btnHome").prop("disabled", false);
- $("#btnBack").prop("disabled", false);
- }
- }
- });
-}
-
-function Rollback() {
- $("#step9").show();
- $("#spin9").show();
- $.ajax({
- url: AppRoot + "setup/upgrade/Updater.asmx/Rollback",
- data: "{ }",
- type: "POST",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- success: function (result) {
- var rt = result.d;
- if (rt.length > 0) {
- $("#step9").html("Sorry, roll back failed: " + rt + ". Please check our forum for solution.");
- $("#spin9").hide();
- }
- else {
- var rt = result.d;
- $("#step9").html("Installation has ben rolled back. Please try again and, if it does not work, check our forum for solution.");
- $("#step9").removeClass("alert-danger");
- $("#step9").addClass("alert-success");
-
- $("#btnHome").prop("disabled", false);
- $("#btnBack").prop("disabled", false);
- }
- }
- });
-}
-
-function ShowSuccess(item) {
- if ($("#spin" + item)) {
- $("#spin" + item).hide();
- }
- $("#step" + item).removeClass("alert-info");
- $("#step" + item).addClass("alert-success");
-
- // clean up if error in the step fixed by restart
- $("#step" + item).removeClass("alert-danger");
- if (item === "4") {
- $("#step4").html('4 Replace old files with new version');
- }
- if (item === "5") {
- $("#step5").html('5 Configuration and cleanup');
- }
-}
-
-function ShowError(item, msg) {
- if ($("#spin" + item)) {
- $("#spin" + item).hide();
- }
- $("#step" + item).removeClass("alert-info");
- $("#step" + item).addClass("alert-danger");
- $("#step" + item).find("strong").html(msg);
- $("#btnHome").prop("disabled", false);
- $("#btnBack").prop("disabled", false);
- // TODO:
- //Rollback();
- $("#btnRun").prop("disabled", false);
- $("#btnRun").html('Restart');
-}
-
-function CheckPermissions() {
- $("#msgList").empty();
- CheckPermission("trust");
- CheckPermission("root");
- CheckPermission("data");
- CheckPermission("Custom");
-}
-
-function CheckPermission(p) {
- $.ajax({
- url: AppRoot + "api/tools/" + p,
- type: "GET",
- contentType: "application/json; charset=utf-8",
- dataType: "json",
- async: false,
- success: function (result) {
- addMsg(result);
- }
- });
-}
-
-addMsg = function (data) {
- if (data.success === true) {
- $("#msgList").append('