WebMatrix supports installing open source community applications from the Web Application Gallery, and publishing to hosting providers, including a set of Beta partner hosting providers. This FAQ contains information about installing and publishing, as well as any issues that may occur after publishing.
Installing and Publishing Kooboo CMS
Q: How do I install Kooboo CMS?
A: To install Kooboo CMS, use the following steps:
- Open WebMatrix and select Site from Web Gallery.
- Select the CMS category on the left-hand side.
- Find Kooboo CMS in the list and install it.
- In any workspace, on the Home tab, in the Site group, click Run or press F12 to open the site in your default web browser.
- Follow the instructions to complete installation.
Q: How do I publish my Kooboo CMS website?
A: To publish a Kooboo CMS website, use the following steps:
- In any workspace, on the Home tab, in the Site group, click Publish.
- On the Publishing Settings dialog, enter the server info you received from your web host.
- Click Validate Connection to ensure that the settings are correct.
- Click Publish.
- If you have not published your database before, select the Database checkbox.
- After previewing the changes, click Continue.
Issue: You see a "Server Error" when browsing to the site
The application has 4 connection strings, but only 1 will be updated when publishing.
Workaround: To resolve this issue, use the following steps:
- Using WebMatrix, create a copy of the web.config that will be used for the remote web site:
- Go to the Files workspace.
- Copy and paste the web.config to create a copy.
- Rename Web - Copy.config to web.config.local.
- Open web.config and make sure all connection strings use the same remote database server.
- Click Save on the Quick Access Toolbar or press Ctrl + S.
- Publish again.
- After publishing, browse to your remote web site to verify that the application works.
- To switch to the local web.config so that the application works on your client machine:
- Rename web.config to web.config.remote.
- Rename web.config.local to web.config.
- Click Run or press F12 to open the site in your default web browser.
- You will need to switch these files every time you publish.
Issue: “Download published site…” fails with a database error
If you try to download an application from a server and you have administrator credentials in the database connection string in the Publish Settings dialog, you may see this error in the publish log:
1:28:29 PM: An error occurred during execution of the database script. The approximate location of the error was between lines '3260' and '3262' of the script. The verbose log may have more information about the error. The command started with :
1:28:29 PM: CREATE LOGIN [MACHINE\Administrator] FROM WINDOW
1:28:29 PM: http://go.microsoft.com/fwlink/?LinkId=178587
Workaround: Publish the site in the first place using non-administrator credentials for the database in Publish Settings.
Discuss in IIS Forums