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: Collection was modified; enumeration operation may not execute.

Error Summary

Url

http://ddvny.com/default.aspx?moid=542

Timestamp

4/9/2025 3:16:00 PM

Exception Type

System.InvalidOperationException

Message

Collection was modified; enumeration operation may not execute.

Source

mscorlib

Target Site

Void ThrowInvalidOperationException(System.ExceptionResource)

Stack Trace

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at GalleryServerPro.Business.GalleryObjectCollection.Contains(IGalleryObject item)
at GalleryServerPro.Business.Album.DoAdd(IGalleryObject galleryObject)
at GalleryServerPro.Business.GalleryObject.set_Parent(IGalleryObject value)
at GalleryServerPro.Business.Image..ctor(Int32 id, IAlbum parentAlbum, String title, String hashKey, String thumbnailFilename, Int32 thumbnailWidth, Int32 thumbnailHeight, Int32 thumbnailSizeKb, String optimizedFilename, Int32 optimizedWidth, Int32 optimizedHeight, Int32 optimizedSizeKb, String originalFilename, Int32 originalWidth, Int32 originalHeight, Int32 originalSizeKb, Int32 sequence, String createdByUsername, DateTime dateAdded, String lastModifiedByUsername, DateTime dateLastModified, Boolean isPrivate, Boolean isInflated, FileInfo imageFile)
at GalleryServerPro.Business.Factory.LoadMediaObjectInstance(MediaObjectDto moDto, IAlbum parentAlbum)
at GalleryServerPro.Business.Factory.AddChildObjects(IAlbum album)
at GalleryServerPro.Business.Factory.LoadAlbumInstance(IAlbum album, Boolean inflateChildMediaObjects)
at GalleryServerPro.Business.Album.Inflate(Boolean inflateChildMediaObjects)
at GalleryServerPro.Business.Album.GetChildGalleryObjects()
at GalleryServerPro.Business.Album.GetChildGalleryObjects(Boolean sortBySequence, Boolean excludePrivateObjects)
at GalleryServerPro.Business.Album.GetChildGalleryObjects(GalleryObjectType galleryObjectType, Boolean sortBySequence, Boolean excludePrivateObjects)
at GalleryServerPro.Business.Album.GetChildGalleryObjects(GalleryObjectType galleryObjectType, Boolean sortBySequence)
at GalleryServerPro.Web.Controls.mediaobjectview.RenderMediaObject()
at GalleryServerPro.Web.Controls.mediaobjectview.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(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)

App Error ID

-2147483648

Gallery ID

1

HTTP User Agent

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])

Form Variables

<none>

Cookies

ASP.NET_SessionId

lv2r5pztb0vukgyibaf13ykh

Session Variables

ReferringUrl

http://ddvny.com/default.aspx?moid=542

Server Variables

ALL_HTTP

HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br
HTTP_HOST:ddvny.com
HTTP_USER_AGENT:Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_X_FORWARDED_FOR:52.14.115.102
HTTP_CF_RAY:92dc58ae996ecadd-DUS
HTTP_X_FORWARDED_PROTO:https
HTTP_CDN_LOOP:cloudflare; loops=1
HTTP_CF_CONNECTING_IP:52.14.115.102
HTTP_CF_IPCOUNTRY:US
HTTP_CF_VISITOR:{"scheme":"https"}

ALL_RAW

Accept: */*
Accept-Encoding: gzip, br
Host: ddvny.com
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
x-forwarded-for: 52.14.115.102
cf-ray: 92dc58ae996ecadd-DUS
x-forwarded-proto: https
cdn-loop: cloudflare; loops=1
cf-connecting-ip: 52.14.115.102
cf-ipcountry: US
cf-visitor: {"scheme":"https"}

APPL_MD_PATH

/LM/W3SVC/21541999/Root

APPL_PHYSICAL_PATH

C:\Inetpub\www.ddvny.com\

AUTH_TYPE

AUTH_USER

AUTH_PASSWORD

LOGON_USER

REMOTE_USER

CERT_COOKIE

CERT_FLAGS

CERT_ISSUER

CERT_KEYSIZE

CERT_SECRETKEYSIZE

CERT_SERIALNUMBER

CERT_SERVER_ISSUER

CERT_SERVER_SUBJECT

CERT_SUBJECT

CONTENT_LENGTH

0

CONTENT_TYPE

GATEWAY_INTERFACE

CGI/1.1

HTTPS

off

HTTPS_KEYSIZE

HTTPS_SECRETKEYSIZE

HTTPS_SERVER_ISSUER

HTTPS_SERVER_SUBJECT

INSTANCE_ID

21541999

INSTANCE_META_PATH

/LM/W3SVC/21541999

LOCAL_ADDR

67.55.88.235

PATH_INFO

/default.aspx

PATH_TRANSLATED

C:\Inetpub\www.ddvny.com\default.aspx

QUERY_STRING

moid=542

REMOTE_ADDR

172.71.160.35

REMOTE_HOST

172.71.160.35

REMOTE_PORT

19432

REQUEST_METHOD

GET

SCRIPT_NAME

/default.aspx

SERVER_NAME

ddvny.com

SERVER_PORT

80

SERVER_PORT_SECURE

0

SERVER_PROTOCOL

HTTP/1.1

SERVER_SOFTWARE

Microsoft-IIS/6.0

URL

/default.aspx

HTTP_ACCEPT

*/*

HTTP_ACCEPT_ENCODING

gzip, br

HTTP_HOST

ddvny.com

HTTP_USER_AGENT

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])

HTTP_X_FORWARDED_FOR

52.14.115.102

HTTP_CF_RAY

92dc58ae996ecadd-DUS

HTTP_X_FORWARDED_PROTO

https

HTTP_CDN_LOOP

cloudflare; loops=1

HTTP_CF_CONNECTING_IP

52.14.115.102

HTTP_CF_IPCOUNTRY

US

HTTP_CF_VISITOR

{"scheme":"https"}