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://ricanskemaliny.cz/galleryserverpro/default.aspx?moid=12207

Timestamp

4/23/2025 8:32:06 AM

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 GalleryServerPro.Business.GalleryObjectCollection.Contains(IGalleryObject galleryObject)
at GalleryServerPro.Business.Album.DoAdd(IGalleryObject galleryObject)
at GalleryServerPro.Business.GalleryObject.set_Parent(IGalleryObject value)
at GalleryServerPro.Business.Image..ctor(Int32 id, Int32 parentId, 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(IDataRecord dr, 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.Web.Pages.GalleryPage.GetMediaObjectHtml(IGalleryObject mediaObject, DisplayObjectType displayType, Boolean isCallBack)
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; +claudebot@anthropic.com)

Form Variables

<none>

Cookies

.ASPXANONYMOUS

zILPRKvq2wEkAAAAY2I1ZDJhNzYtMjY5NC00OGQ5LTkzMGItOGMwNDFlZTQ5ZTRlfuZJgNUb t_XuXDzreDhrOSE45EU1

ASP.NET_SessionId

4gcraj45porsgc55p20cvla0

Session Variables

ReferringUrl

http://ricanskemaliny.cz/galleryserverpro/default.aspx?moid=12207

HostUrl

http://ricanskemaliny.cz

Server Variables

ALL_HTTP

HTTP_CACHE_CONTROL:max-age=0
HTTP_CONNECTION:keep-alive
HTTP_VIA:1.1 ip-10-7-24-225.us-east-2.compute.internal (squid/6.10)
HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br, zstd, deflate
HTTP_HOST:ricanskemaliny.cz
HTTP_USER_AGENT:Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR:10.1.238.176

ALL_RAW

Cache-Control: max-age=0
Connection: keep-alive
Via: 1.1 ip-10-7-24-225.us-east-2.compute.internal (squid/6.10)
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Host: ricanskemaliny.cz
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
X-Forwarded-For: 10.1.238.176

APPL_MD_PATH

/LM/W3SVC/136/ROOT/galleryserverpro

APPL_PHYSICAL_PATH

e:\web\sites\ARI0000027561\wwwroot\galleryserverpro\

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

136

INSTANCE_META_PATH

/LM/W3SVC/136

LOCAL_ADDR

217.198.114.18

PATH_INFO

/galleryserverpro/default.aspx

PATH_TRANSLATED

e:\web\sites\ARI0000027561\wwwroot\galleryserverpro\default.aspx

QUERY_STRING

moid=12207

REMOTE_ADDR

160.79.111.165

REMOTE_HOST

160.79.111.165

REMOTE_PORT

40380

REQUEST_METHOD

GET

SCRIPT_NAME

/galleryserverpro/default.aspx

SERVER_NAME

ricanskemaliny.cz

SERVER_PORT

80

SERVER_PORT_SECURE

0

SERVER_PROTOCOL

HTTP/1.1

SERVER_SOFTWARE

Microsoft-IIS/10.0

URL

/galleryserverpro/default.aspx

HTTP_CACHE_CONTROL

max-age=0

HTTP_CONNECTION

keep-alive

HTTP_VIA

1.1 ip-10-7-24-225.us-east-2.compute.internal (squid/6.10)

HTTP_ACCEPT

*/*

HTTP_ACCEPT_ENCODING

gzip, br, zstd, deflate

HTTP_HOST

ricanskemaliny.cz

HTTP_USER_AGENT

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

HTTP_X_FORWARDED_FOR

10.1.238.176