Hi
I get the following error when I click on a thumbnail in my gallery, so the bigger picture never shows up. I am not a programmer so do not really know what this means. I would appreciate it if someone could tell me in plain language what is wrong. I've tried to change the settings of the gallery but this doesn't solve the problem. I've also deleted the whole gallery and uploaded it again but it still gives the following error message. I would really appreciate any help.
Server Error in '/' Application.--------------------------------------------------------------------------------
Tag '36867' cannot be cast to a DateTime. It is of type 'System.String'. 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: Telligent.CommunityServer.MetadataExtractor.MetadataException: Tag '36867' cannot be cast to a DateTime. It is of type 'System.String'.
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:
[MetadataException: Tag '36867' cannot be cast to a DateTime. It is of type 'System.String'.] Telligent.CommunityServer.MetadataExtractor.Directory.GetDate(Int32 tagType) +482 Telligent.CommunityServer.MetadataExtractor.Exif.ExifDescriptor.GetDateTime(Int32 tagType) +57 Telligent.CommunityServer.MetadataExtractor.Exif.ExifDescriptor.GetDescription(Int32 tagType) +659 Telligent.CommunityServer.MetadataExtractor.Directory.GetDescription(Int32 tagType) +16 Telligent.CommunityServer.MetadataExtractor.Tag.GetDescription() +15 CommunityServer.Galleries.Controls.GalleryPostExifData.GetPropertyValue(String property) +299 CommunityServer.Controls.ObjectDataBase.BindDefaultContent(Control control, IDataItemContainer dataItemContainer) +89 CommunityServer.Controls.WrappedControlItemTemplate.WrappedControlItemTemplate_DataBinding(Object sender, EventArgs e) +58 System.Web.UI.Control.OnDataBinding(EventArgs e) +99 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206 System.Web.UI.Control.DataBind() +12 System.Web.UI.Control.DataBindChildren() +216 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216 System.Web.UI.Control.DataBind() +12 System.Web.UI.Control.DataBindChildren() +216 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216 System.Web.UI.Control.DataBind() +12 CommunityServer.Controls.WrappedContentBase.DataBind() +101 CommunityServer.Controls.ObjectDataBase.DataBind() +37 System.Web.UI.Control.DataBindChildren() +216 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216 System.Web.UI.Control.DataBind() +12 System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +130 System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454 CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource) +142 CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource) +369 System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53 CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e) +11 System.Web.UI.WebControls.Repeater.DataBind() +72 CommunityServer.Controls.WrappedRepeater.DataBind() +101 CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind() +12 CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +28 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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
Has this issue been resolved yet? I also have the same error occurring on both a local dev server and remote hosted server (both Win2003, SQL2K5)
cheers
Andy
This looks like bad EXIF information on your image... do you mind posting a link to the original image file so we can take a look.
Dan
Wow, I am really happy that you answered!!!
Anyway, the link to the photos is: http://www.oppikoppi.co.za/photos/ and it is just "Carina Laubsher's" photos that gives the problems the others for some reason are working just fine
This is not likely to be something related to photo data.
I have the same issue and all I could find is that the globalization setting in the webconfig changes this.If you set the culture to "en-us" the error goes away but the date/time settings of all your site will be in the US format (so, basically, screwed up for everybody else).
At this point I don't have any other workaround...
Bye.Dodo.
Running CS 2008 (v4.0.30417.1769) on Windows Server 2008 RTM and SQL2005 w/SP2.
I get this error when I upload an image originally taken with the camera on my PocketPC phone. It puts a record in the cs_PostMetaData table with values of "Telligent.CommunityServer.MetadataExtractor.Exif.ExifDirectory:36867" for MetaKey, "System.String" for MetaType and "2005: 5:31 8:39:23" (in my case) for MetaValue.
The proper format for the EXIF 36867 tag is YYYY:MMD HH:MM:SS. In my case, the camera reports this data in the wrong format (i.e. data for month is 5, not 05, as it should be). When I went into my test database and corrected the value the page displayed correctly.
(Note: the smiley face is caused by two consecutive capital D's. I didn't know how to correct it.)
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com