mojoPortal FAQ

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 mojoPortal

How do I install mojoPortal?

To install mojoPortal, use the following steps:

  1. Open WebMatrix and select Site from Web Gallery.
  2. Select the CMS category on the left-hand side.
  3. Find mojoPortal in the list and install it.
  4. 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.
  5. Follow the instructions to complete installation.

How do I publish my mojoPortal website?

To publish a mojoPortal website, use the following steps:

  1. In any workspace, on the Home tab, in the Site group, click Publish.
  2. On the Publishing Settings dialog, enter the server info you received from your web host.
  3. Click Validate Connection to ensure that the settings are correct.
  4. Click Publish.
  5. If you have not published your database before, select the Database checkbox.
  6. After previewing the changes, click Continue.

Common Issues

Why do I get a "We're sorry but a server error has occurred while processing..." message when browsing to my website?

If you are publishing to a server where your website is running in Medium trust (most hosting providers run in Medium trust), you will see this error message.

To resolve this issue, use the following steps:

  1. Go to the Files workspace.
  2. Copy and paste the web.config file to create a copy.
  3. Rename the web - Copy.config file to web.config.bak.
  4. Renane web.mediumtrust.config to web.config.
  5. Publish your website again.

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.

image1

To resolve this issue, use the following steps:

  1. Use your hosting control panel to set your .NET framework version to 2.0 or 3.5.

  2. Alternately, using WebMatrix, you can convert the application to use .NET 4:

    1. Go to the Site workspace.
    2. Open "Site Settings" by selecting the site node in the navigation pane.
    3. Set the Framework version to .NET 4.
    4. Click Save on the Quick Access Toolbar or press Ctrl + S.
    5. Go to the Files workspace.
    6. Rename web.config to web.config.bak.
    7. Rename web.net4.config to web.config.
    8. Click Run or press F12 to verify that the application works.
    9. Publish again.