Gallery Server Pro 3.0.1 Now Available in Web Application Gallery and Azure Gallery

Gallery Server Pro 3.0.1 Now Available in Web Application Gallery and Azure Gallery

By | 2016-12-01T16:37:46+00:00 July 5th, 2013|Announcements|7 Comments

On July 3 Microsoft updated its version of Gallery Server Pro in the Web Application Gallery and Azure Gallery to the latest 3.0.1 version. These versions make it easy to get up and running with a gallery without having to think about IIS settings, databases or other technical details.

Web Application Gallery

There are three ways to install a gallery from the Web Application Gallery:

IIS Manager

When you have access to IIS Manager, I recommend this approach. Open IIS Manager, navigate to your website, then select Install Application From Gallery in the right pane:

wag1

If you don’t see the link, install the Web Platform Installer.

Select the Applications tab, click Galleries from the left pane, then select Gallery Server Pro. Click Add, then Install.

wag2

Follow the prompts to finish the installation. Pretty easy.

 

Web host control panel

Many hosting companies are integrated with the Web Application Gallery, which offers an easy way to install Gallery Server Pro that avoids having to FTP the files to your site and configure permissions. For example, the Arvixe Control Panel has a Hosting Spaces section with a link to the WAG:

wag3

Click it and follow the wizard to install a new gallery instance to your website.

Note: I have seen cases where the hosting control panel defaults the application pool to Classic Mode. Gallery Server Pro requires Integrated Mode, so if you have any trouble, check this setting. Go into the Web Sites section, select your website, then check the Extensions tab:

wag4

 

Web Application Gallery website

The Web Application Gallery website lets you install Gallery Server Pro using the Web Platform Installer, which you will be prompted to install if necessary.

wag5

When you install through the Web Application Gallery website, Microsoft also installs WebMatrix and configures the gallery to run in local-only mode. The idea is that you can configure the gallery and then use the deploy feature in WebMatrix to push it to its final destination, which can be Azure, an FTP site, your web hosting company, or any other IIS destination.

This option has caused confusion with users who wonder why the gallery they just installed isn’t publicly available. Just remember that you have to publish it somewhere, even if it’s just pushing it to IIS on the same server.

Azure Gallery

Getting a gallery up and running in Azure takes just a few clicks. From the Azure Portal, click New in the lower left corner:

azure1

Then select WEB SITE and FROM GALLERY:

azure2

Select the Galleries category on the left, then Gallery Server Pro:

azure3

Click the next arrow, then enter your desired URL. Change the region if desired and finally select the checkbox to create the gallery:

azure4

After a few moments, your gallery is created:

azure5

Click the URL to view the gallery and set up the admin account:

azure6

Once the admin account is created, your gallery is ready to use.

Switch to SQL Server

The Web Application Gallery of GSP uses SQL CE as the database, but you can easily switch to SQL Server if you wish. Any time after installation, open web.config in a text editor (found in the root directory of the gallery). Update the connection strings section so that a connection named GalleryDb points to SQL Server. The easiest way to do this is to comment out the SQL CE connection, uncomment the SQL Server example, and edit it to point to your SQL Server. When you are done, it will look something like this:

<connectionStrings>
 <clear />
 <!--<add name="GalleryDb" providerName="System.Data.SqlServerCe.4.0" connectionString="data source=|DataDirectory|GalleryData.sdf" />—>
 <add name="GalleryDb" providerName="System.Data.SqlClient" connectionString="server=(local);uid=;pwd=;Trusted_Connection=yes;database=GalleryServerPro;Application Name=Gallery Server Pro;MultipleActiveResultSets=True" />
</connectionStrings>

The <!– … –> around the first connection tells ASP.NET to ignore it, while the second connection instructs the gallery to store data in a SQL Server instance on the local machine in a database named GalleryServerPro, connecting with Windows Authentication. Save your changes.

Now go to the App_Data directory and add an empty text file named install.txt. If there already is one, you can skip this step. Gallery Server Pro detects this file and allows the creation of an admin account when present.

Use your browser to navigate to the gallery. Startup code will add the necessary tables and seed data to the SQL Server database and a message will appear instructing you to create an admin account. At this point the gallery is using SQL Server. The old SQL CE database at App_DataGalleryData.sdf is no longer used and can be deleted.

These steps won’t migrate any data from SQL CE. There is a way to do that – consult the Admin Guide for details.

There you have it – several new ways to easily install a gallery!

About the Author:

Founder and Lead Developer of Gallery Server

7 Comments

  1. Edwin January 7, 2016 at 4:20 pm

    I have read everything on the 500.19 error. I have looked at all the blogs, forums, etc. I finally arrived at this page and thought, “Hmmm, maybe that’s what I did wrong – I should’ve used the Web Platform Installer.” Nope. I still get the same error. I have verified – bunches of times – the permissions in the security settings, the application pool settings – to no avail. I am running IIS 7.5 on a Windows Server 2008 R2. It’s running SharePoint services just fine. I happened to run port 8081 for my Gallery Server – I’ve changed this around a few times to make sure the port isn’t the issue. I’m at a loss. I like the software – from the demos I’ve seen, this is exactly what my company needs. They were ready to purchase the best package, but I told them to hold on. I wanted to see if I would be able to get the basic software to work. I’ve been in IT for 30 years – this shouldn’t be rocket science. But, no matter what I do, or how many times I de-install and re-install, I get the same results. So, I suppose my only option then would be to hire you to install something that is supposedly very easy to do. Please advise. They really want to see if this will work for them. Thank you for taking the time to read this “griping” post. I’ve just been at this for 2 straight days, and I’m out of steam. Thanks again.

  2. Edwin January 7, 2016 at 5:07 pm

    Follow-up – There must have been something wrong with the server configuration I was attempting to install. I opted to try the installation on a new server, and everything worked – just as you advertise – first try. That doesn’t mean I’m giving up on the old server. I will continue to troubleshoot until I figure out what is wrong – once I do, I will post my findings here.

  3. skraj November 18, 2016 at 12:32 pm

    Hi Roger,

    Will the new version 4.2 will be available in Microsoft Azure? I am thinking of moving from Arvixe to Azure as I am having few issues with that service provider. I just signed up for the free trail in MS Azure and want to move to the latest release of GSP.

    Thanks,
    Sundar

  4. Roger Martin November 18, 2016 at 1:42 pm

    Sundar – Microsoft controls the timing of when 4.2 will be available on Azure. I already published it to the Web App Gallery, so I’m surprised Azure hasn’t picked up any of the recent versions. As a workaround, you can create an empty web app and manually install the latest version of Gallery Server to it. Or you can install the Azure version and then do an upgrade you download from this site. If you stick with the free version there isn’t any cost.

  5. skraj November 18, 2016 at 4:01 pm

    Thanks Roger for your quick response.

  6. Chris January 11, 2017 at 1:42 pm

    Any update on 4.2 being available in Azure? I recently downloaded and built it but it is running 4.0.1 I tried to apply an upgrade license key but ut was for a newer version (4.2.1) but it will only accept a 4.0.1 license key.

    • Roger Martin January 11, 2017 at 1:49 pm

      Azure controls the timing of when they move to more recent versions of Gallery Server. I’ve given them the latest version and I’m not sure why there is a delay. The good news is that you can update to the latest version yourself by grabbing the desired edition on this page (including the free edition).

Leave A Comment