Upgrade to 2.1 Gallery Problem

rated by 0 users
This post has 3 Replies | 1 Follower

Top 500 Contributor
Posts 97
Points 445
michael Posted: Tue, Jul 25 2006 12:21 PM

I ran a local upgrade of my 2.0 to 2.1b1 and most everything seems to be working fine, except in the Gallery, photos of just one Album don't work anymore resulting in an error:

 

Server Error in '/cs21' Application.

Index and length must refer to a location within the string.
Parameter name: length

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length]
   System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) +2848567
   Telligent.CommunityServer.MetadataExtractor.Iptc.IptcReader.ProcessTag(Directory directory, Int32 directoryType, Int32 tagType, Int32 offset, Int32 tagByteCount) +384
   Telligent.CommunityServer.MetadataExtractor.Iptc.IptcReader.Extract(Metadata metadata) +355
   Telligent.CommunityServer.MetadataExtractor.Imaging.Jpeg.JpegMetadataReader.ExtractMetadataFromJpegSegmentReader(JpegSegmentReader segmentReader) +212
   Telligent.CommunityServer.MetadataExtractor.Imaging.Jpeg.JpegMetadataReader.ReadMetadata(Stream ins) +47
   CommunityServer.Galleries.Controls.ExifListing.BindExifProperties() +300
   CommunityServer.Galleries.Controls.ExifListing.BindData() +57
   CommunityServer.Galleries.Controls.ExifListing.DataBind() +17
   CommunityServer.Galleries.Controls.ExifListing.OnLoad(EventArgs e) +19
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +2065621
   System.Web.UI.ControlCollection.Add(Control child) +146
   CommunityServer.Galleries.Controls.GalleryThemedControl.LoadThemedControl() +112
   CommunityServer.Controls.TemplatedWebControl.CreateChildControls() +58
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +41
   System.Web.UI.Control.PreRenderRecursiveInternal() +161
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 

All other photos work well and I am getting this when I click on the Thumbnail (wich gets generated just fine) to view details.

Anyone has an idea why this one Album only is acting up?

Top 500 Contributor
Posts 97
Points 445
michael replied on Tue, Jul 25 2006 12:51 PM

OK, I got a little further. In the cs_PostAttachments Table the Filename Value was 'IMG_1178', in the Storage Folder though it's filename is '1000.7.62.IMG_1178'

When I rename the FileName value in the cs_PostAttachments to 1000.7.62.IMG_1178 I don't get the error thus a red X instead of the Medium Size Image. Clicking on Original Size does not show the picture, renaming  it back in SQL to IMG_1178 it show the Original Size Picture but not the Medium Size one.....

I know a bit confusing, but really not sure how this could have happened.

Works fine on 2.0, the only difference this Album has to any other, is that it has a parent Album...

  • | Post Points: 5
Top 500 Contributor
Posts 97
Points 445
michael replied on Thu, Jul 27 2006 9:20 AM

Noone has an idea? This problem is really urking me as one complete shoot is not working... I couild re-post all of them but that would sure be a huge hassle to do.

  • | Post Points: 5
Top 500 Contributor
Posts 97
Points 445
michael replied on Fri, Jul 28 2006 9:43 AM
Well I figured it out, for some reason the IPTC Image information for "Created Date" must have been bad data or in a format Community Server does not like. When I updated the value in Adobe Bridge the page displayed fine in cs
  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com