Return to gallery

An error occurred.

We are sorry, but Gallery Server Pro encountered an error. It has been logged and, if error reporting is enabled, an email describing the problem has been sent to the administrator.

Error: Failed to compare two elements in the array.

Error Summary

Url

https://mediagallery.peddie.org/default.aspx?moid=84

Timestamp

6/21/2026 4:29:15 AM

Exception Type

System.InvalidOperationException

Message

Failed to compare two elements in the array.

Source

mscorlib

Target Site

Void Sort(T[], Int32, Int32, System.Collections.Generic.IComparer`1[T])

Stack Trace

at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
at System.Collections.Generic.List`1.Sort(Int32 index, Int32 count, IComparer`1 comparer)
at GalleryServerPro.Business.GalleryObjectCollection.Sort()
at GalleryServerPro.Business.Album.GetChildGalleryObjects(Boolean sortBySequence, Boolean excludePrivateObjects)
at GalleryServerPro.Business.Album.GetChildGalleryObjects(GalleryObjectType galleryObjectType, Boolean sortBySequence, Boolean excludePrivateObjects)
at GalleryServerPro.Web.Controls.mediaobjectview.RenderMediaObject()
at GalleryServerPro.Web.Controls.mediaobjectview.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Inner Ex Type

System.InvalidOperationException

Inner Ex Message

This gallery object is already inflated. It cannot be inflated again.

Inner Ex Source

GalleryServerPro.Business

Inner Ex Target Site

Void set_IsInflated(Boolean)

Inner Ex Stack Trace

at GalleryServerPro.Business.GalleryObject.set_IsInflated(Boolean value)
at GalleryServerPro.Business.Factory.LoadAlbumInstance(IAlbum album, Boolean inflateChildMediaObjects)
at GalleryServerPro.Business.Album.Inflate(Boolean inflateChildMediaObjects)
at GalleryServerPro.Business.GalleryObject.VerifyObjectIsInflated(Int32 propertyValue)
at GalleryServerPro.Business.GalleryObject.CompareTo(Object other)
at System.Collections.Generic.ArraySortHelper`1.SwapIfGreater(T[] keys, IComparer`1 comparer, Int32 a, Int32 b)
at System.Collections.Generic.ArraySortHelper`1.DepthLimitedQuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)
at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)

App Error ID

-2147483648

Gallery ID

1

HTTP User Agent

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

Form Variables

<none>

Cookies

ASP.NET_SessionId

rxg5y43v2idqv2xxnqaly2mo

Session Variables

ReferringUrl

https://mediagallery.peddie.org/default.aspx?moid=84

Server Variables

ALL_HTTP

HTTP_CONNECTION:close
HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br, zstd, deflate
HTTP_HOST:mediagallery.peddie.org
HTTP_USER_AGENT:Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

ALL_RAW

Connection: close
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Host: mediagallery.peddie.org
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)

APPL_MD_PATH

/LM/W3SVC/6/ROOT

APPL_PHYSICAL_PATH

E:\Data\MediaGallery\

AUTH_TYPE

AUTH_USER

AUTH_PASSWORD

LOGON_USER

REMOTE_USER

CERT_COOKIE

CERT_FLAGS

CERT_ISSUER

CERT_KEYSIZE

256

CERT_SECRETKEYSIZE

2048

CERT_SERIALNUMBER

CERT_SERVER_ISSUER

C=US, S=Arizona, L=Scottsdale, O="GoDaddy.com, Inc.", OU=http://certs.godaddy.com/repository/, CN=Go Daddy Secure Certificate Authority - G2

CERT_SERVER_SUBJECT

CN=*.peddie.org

CERT_SUBJECT

CONTENT_LENGTH

0

CONTENT_TYPE

GATEWAY_INTERFACE

CGI/1.1

HTTPS

on

HTTPS_KEYSIZE

256

HTTPS_SECRETKEYSIZE

2048

HTTPS_SERVER_ISSUER

C=US, S=Arizona, L=Scottsdale, O="GoDaddy.com, Inc.", OU=http://certs.godaddy.com/repository/, CN=Go Daddy Secure Certificate Authority - G2

HTTPS_SERVER_SUBJECT

CN=*.peddie.org

INSTANCE_ID

6

INSTANCE_META_PATH

/LM/W3SVC/6

LOCAL_ADDR

10.10.21.145

PATH_INFO

/default.aspx

PATH_TRANSLATED

E:\Data\MediaGallery\default.aspx

QUERY_STRING

moid=84

REMOTE_ADDR

216.73.217.22

REMOTE_HOST

216.73.217.22

REMOTE_PORT

16381

REQUEST_METHOD

GET

SCRIPT_NAME

/default.aspx

SERVER_NAME

mediagallery.peddie.org

SERVER_PORT

443

SERVER_PORT_SECURE

1

SERVER_PROTOCOL

HTTP/1.1

SERVER_SOFTWARE

Microsoft-IIS/10.0

URL

/default.aspx

HTTP_CONNECTION

close

HTTP_ACCEPT

*/*

HTTP_ACCEPT_ENCODING

gzip, br, zstd, deflate

HTTP_HOST

mediagallery.peddie.org

HTTP_USER_AGENT

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)