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:
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: lengthSource Error:
[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?
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...
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.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com