Troubleshooting

2 Dec, 2016

Customer post-mortem: Issue with AD groups

By | 2016-12-02T15:03:44+00:00 December 2nd, 2016|Troubleshooting|0 Comments

Today I wrapped up one of the most challenging customer support issues we've ever had. In the end, the solution was ridiculously simple (as solutions often are), but it took many hours and misleading clues to get there (as it often does). Here's the story, along with the twists and turns. Gallery Server has supported Active Directory authentication for many years but until recently it hasn't supported integration with AD groups. This is really nice to have in corporate environments because you don't have to manage a separate set of roles, especially the addition and removal of AD accounts to/from roles. Gallery Server recognizes your AD groups, including their members, and uses them to secure your gallery access. We couldn't fit this feature into the initial 4.0 release but we announced on our website that it would be available by the third quarter of 2016. In June 2016, a customer from Norway approached us [...]

23 Jun, 2016

Can’t edit titles/captions or create an album? We have a fix for that

By | 2016-06-30T14:46:26+00:00 June 23rd, 2016|Troubleshooting|0 Comments

[Update June 29, 2016: 4.0.1 is now released and contains a fix for this issue.] User n8huntsman reported having trouble creating an album with a new 4.0.0 gallery. The message received was "Could not find album with ID = 0". After a bit of investigation the user discovered a missing directory at \Scripts\tinymce\plugins. Turns out the version of Gallery Server we published to Microsoft's Web Application Gallery omitted this directory. This caused the tinyMCE text editor to fail, which ultimately caused the album creation process to fail. Who is affected? You installed Gallery Server 4.0.0 through Microsoft's Web Platform Installer, the Azure Gallery, or your web hosting company's control panel And You are within the 30-day trial or you entered a license key for one of the commercial editions. If you registered a key for Gallery Server Free, you are not affected. If you installed or upgraded your gallery by downloading it directly from galleryserverpro.com, you are [...]

27 Jan, 2016

Troubleshooting SQL Server “The wait operation timed out”

By | 2016-12-01T16:37:38+00:00 January 27th, 2016|Troubleshooting|0 Comments

Today I helped a customer troubleshoot a SQL Server timeout error in their gallery. It took quite a while to get to the root cause, but once we found it, the fix was ridiculously simple. I'm sharing it here in case it helps others with the issue, since it's related to SQL Server and is not really a Gallery Server issue. This is the error they kept getting: Error: An error occurred while executing the command definition. See the inner exception for details. Event Summary Url http://[redacted]/default.aspx?aid=14 Timestamp 1/27/2016 6:13:54 PM Exception Type System.Data.Entity.Core.EntityCommandExecutionException Message An error occurred while executing the command definition. See the inner exception for details. Source EntityFramework Target Site System.Data.Common.DbDataReader ExecuteStoreCommands(System.Data.Entity.Core.EntityClient.EntityCommand, System.Data.CommandBehavior) at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior) at System.Data.Entity.Core.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues) at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) at System.Data.Entity.Core.Objects.ObjectQuery`1.<>c__DisplayClass7.<GetResults>b__5() at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation) at System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) at System.Data.Entity.Core.Objects.ObjectQuery`1.<System.Collections.Generic.IEnumerable<T>.GetEnumerator>b__0() at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext() at GalleryServerPro.Business.Factory.AddChildObjects(IAlbum album) at [...]

10 May, 2011

jQuery 1.6 introduces breaking change

By | 2016-12-01T16:37:50+00:00 May 10th, 2011|Troubleshooting|2 Comments

On May 3, jQuery introduced a new version that breaks some of the functionality of Gallery Server Pro 2.4.6 and higher. Earlier versions are not affected. Also not affected is the Gallery Server Pro DotNetNuke Module, *unless* you explicitly changed the default jQuery settings. The good news is there is an easy fix I describe at the end of this post. Background Gallery Server Pro uses jQuery to provide a rich user experience. Starting with 2.3.3750, a default installation of GSP uses the Google hosted versions of the jQuery library rather than a locally stored copy of the .js file. This allows the browser to use a previously cached copy of jquery, resulting in a faster loading page. There are a number of ways one can construct the URL to point to Google’s copy of jQuery. Here are a few examples of how I’ve tinkered with the URL: 2.3.3750: http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js [...]