by Faith A
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 Sitefinity Community Edition
How do I install Sitefinity Community Edition?
To install Sitefinity Community Edition, use the following steps:
- Open WebMatrix and select Site from Web Gallery.
- Select the CMS category on the left-hand side.
- Find Sitefinity Community Edition 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.
Note: If you choose MySQL during the browser installation process, you will need to update the web.config:
Go to the Files workspace.
Find the following entry:
<connectionStrings><add name="Sitefinity" connectionString="..." providerName="" /></connectionStrings>
Modify the providerName to work with MySQL:
<connectionStrings><add name="Sitefinity" connectionString="..." providerName="MySQL.Data.MySQLClient" /></connectionStrings>
How do I publish my Sitefinity Community Edition website?
To publish a Sitefinity Community Edition 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.
- For the connection string, you need to copy the connection string from web.config (it will be pointing to a .mdf file in your website) and paste it into the dialog, otherwise publishing will fail.
- Click Validate Connection to ensure that the settings are correct.
- Click Publish.
- After previewing the changes, click Continue.
Common Issues
Why do I get a "500 Internal Server Error" when browsing to my website?
If you are publishing to a server where the web site is configured to run in a .NET 4 application pool, you will receive this error because the application requires .NET 2.0. You will also see the following error message displayed:
Error: The requested page cannot be accessed because the related configuration data for the page is invalid.
To resolve this issue, use your hosting control panel to set your .NET framework version to 2.0 or 3.5.