Configure the web. config file before running.
<Add key = "connString" value = "Persist Security Info = False; server = (local); database = database name; uid = username; pwd = password"/>
<Add key = "LocalPath" value = "physical path of the virtual directory"/>
The database script is as follows:
/***** Object: Table [dbo]. [AdminUser] Script Date: 16:26:46 ******/
If exists (select * from dbo. sysobjects where id = object_id (n' [dbo]. [AdminUser] ') and OBJECTPROPERTY (id, N 'isusertable') = 1) drop table [dbo]. [AdminUser] GO
/***** Object: Table [dbo]. [Article] Script Date: 16:26:46 ******/
If exists (select * from dbo. sysobjects where id = object_id (n' [dbo]. [Article] ') and OBJECTPROPERTY (id, n'isusertable') = 1)
Drop table [dbo]. [Article]
GO
/***** Object: Table [dbo]. [ArticleGroup] Script Date: 16:26:46 ******/
If exists (select * from dbo. sysobjects where id = object_id (n' [dbo]. [ArticleGroup] ') and OBJECTPROPERTY (id, n'isusertable') = 1)
Drop table [dbo]. [ArticleGroup]
GO
/***** Object: Table [dbo]. [GroupPurview] Script Date: 16:26:46 ******/
If exists (select * from dbo. sysobjects where id = object_id (n' [dbo]. [GroupPurview] ') and OBJECTPROPERTY (id, n'isusertable') = 1)
Drop table [dbo]. [GroupPurview]
GO
/***** Object: Table [dbo]. [ImageArticle] Script Date: 16:26:46 ******/