Gallery Server Pro FAQ

By Faith A

July 6, 2010

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 Gallery Server Pro

Q: How do I install Gallery Server Pro?

A: To install Gallery Server Pro, use the following steps:

  1. Open WebMatrix and select Site from Web Gallery.
  2. Select the Galleries category on the left-hand side.
  3. Find Gallery Server Pro 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.

Q: How do I publish my Gallery Server Pro website?

A: To publish a Gallery Server Pro 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

Q: Why do I get a "500 Internal Server Error" when browsing to my website?

A: 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.

Note: For security reasons, this error will contain less information when you browse to your web site on a remote machine.

To resolve this issue, use your hosting control panel to set your .NET framework version to 2.0 or 3.5.

Q: Why do I get a JavaScript error when trying to browse my website?

A: If your web site's application pool is configured to run in Classic mode, you will receive this error because Gallery Server Pro requires Integrated mode. You will also see the following error message displayed:

Error: JavaScript error 'dgLogin' is undefined.

To resolve this issue, use your hosting control panel to set your application pool to Integrated mode.



Discuss in IIS Forums