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

Timestamp

8/31/2025 8:20:43 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

yECjNtFQ3AEkAAAAYmNiOWMxNTYtMTkzYi00MjEwLTk0MDYtZmNkNGQ5MDM2NDA2kfJsO59f 8cmaZV0Rb10bD8Gsil41

ASP.NET_SessionId

dn1deh45oxhcbw452ew5pgbz

Session Variables

ReferringUrl

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

HostUrl

http://www.ricanskemaliny.cz

Server Variables

ALL_HTTP

HTTP_CACHE_CONTROL:max-age=0
HTTP_CONNECTION:keep-alive
HTTP_VIA:1.1 squid-proxy-5b5d847c96-b8kmf (squid/6.10)
HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br, zstd, deflate
HTTP_COOKIE:.ASPXANONYMOUS=yECjNtFQ3AEkAAAAYmNiOWMxNTYtMTkzYi00MjEwLTk0M DYtZmNkNGQ5MDM2NDA2kfJsO59f8cmaZV0Rb10bD8Gsil41; ASP.NET_SessionId=dn1deh45oxhcbw452ew5pgbz
HTTP_HOST:www.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.144.44

ALL_RAW

Cache-Control: max-age=0
Connection: keep-alive
Via: 1.1 squid-proxy-5b5d847c96-b8kmf (squid/6.10)
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Cookie: .ASPXANONYMOUS=yECjNtFQ3AEkAAAAYmNiOWMxNTYtMTkzYi00MjEwLTk0MDYtZmNkNGQ5M DM2NDA2kfJsO59f8cmaZV0Rb10bD8Gsil41; ASP.NET_SessionId=dn1deh45oxhcbw452ew5pgbz
Host: www.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.144.44

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=37

REMOTE_ADDR

216.73.216.97

REMOTE_HOST

216.73.216.97

REMOTE_PORT

11990

REQUEST_METHOD

GET

SCRIPT_NAME

/galleryserverpro/default.aspx

SERVER_NAME

www.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 squid-proxy-5b5d847c96-b8kmf (squid/6.10)

HTTP_ACCEPT

*/*

HTTP_ACCEPT_ENCODING

gzip, br, zstd, deflate

HTTP_COOKIE

.ASPXANONYMOUS=yECjNtFQ3AEkAAAAYmNiOWMxNTYtMTkzYi00MjEwLTk0MDYtZmNkNGQ5M DM2NDA2kfJsO59f8cmaZV0Rb10bD8Gsil41; ASP.NET_SessionId=dn1deh45oxhcbw452ew5pgbz

HTTP_HOST

www.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.144.44