(very) Detailed Installation:

  • MSSQL or MSSQL Express 2011 or higher
  • SQL Management Studio
  • IIS 7 or higher
  • Basic understanding of SQL, IIS, and Service accounts
  1. Download KBVault from the home pageInstallStep1.jpg
  2. Locate the downloaded file and extract the contents InstallStep2.jpg InstallStep3.jpg
  3. Browse to the Install folder and double click on the default_kbvault script this will open SQL Management studioInstallStep4.jpg
  4. Create a new database by right clicking on Databases and selecting New Database InstallStep5.jpg
  5. Name the database kbvault, and click OK InstallStep6.jpg
  6. Click on the new kbvault database to highlight it, then select the script on the right side and click Execute this will populate the default tables for the database InstallStep7.jpg
  7. These are the default tables created InstallStep8.jpg
  8. Execute update-version-0.31 InstallStep8.jpg
  9. Execute update-version-0.40 InstallStep10.jpg You may get the following error ExpectedError1.jpg
  10. Copy the contents of the downloaded kbvault folder InstallStep11.jpg
  11. Paste the contents into c:\inetpub\wwwroot InstallStep12.jpg
  12. Edit the Web.config file InstallStep13.jpg
  13. Locate the section that says <connectionString> and then scroll to the right InstallStep14.jpg
  14. Find the part that says source=.\sqlexpress; (where .\ represents localhost and sqlexpress represents the SQL database instance name InstallStep15.jpg
  15. To idintify your SQL instance name load services.msc and locate the SQL Server service (in this example the Instance name is DEV) InstallStep16.jpg
  16. Change the source=.\ to match your environment InstallStep17.jpg
  17. In IIS Manager create a new website by right clicking on Sites and choosing Add Website InstallStep18.jpg
  18. Name the website kbvault and point it to the c:\inetpub\wwwroot folder then click OK InstallStep19.jpg
  19. If an application pool wasnt previously created in step 19, then create a new Application Pool named kbvault InstallStep20.jpg
  20. Create a new local user called kbvault, this account will be used as a service account giving the Application Pool access to the kbvault database InstallStep21.jpg
  21. Edit the kbvault Application Pool and choose Custom account. InstallStep22.jpg
  22. Input kbvault as the user name and type the password then click OK. Recycle IIS by running iisreset from the command prompt InstallStep23.jpg
  23. Using SQL Management Studio Give the user kbvault access to the kbvault SQL database InstallStep24.jpg
  24. Open your browser and type in http://localhost to testInstallStep25.jpg
  25. Go to http://localhost/dashboard and login using admin for the username and admin for the password
  • You may get an error when trying to search if so edit the kbvault SQL database dbo.Setting table. In the ArticlePrefix column remove the NULL value. You can put nothing, but it cant be NULL.

Last edited Apr 28, 2015 at 6:52 PM by DetroitTechno, version 6