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: Error in GalleryObjectCollection.Contains method: One of the objects in the Items property is null. Items.Count = 23

Error Summary

Url

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

Timestamp

8/24/2026 12:52:09 AM

Exception Type

GalleryServerPro.ErrorHandler.CustomExceptions.BusinessException

Message

Error in GalleryObjectCollection.Contains method: One of the objects in the Items property is null. Items.Count = 23

Source

GalleryServerPro.Business

Target Site

Boolean Contains(GalleryServerPro.Business.Interfaces.IGalleryObject)

Stack Trace

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

AuYL3uNp3QEkAAAAODRlZTJiMGUtNjJlNy00MDU3LTg5YWQtOTFjNzFjNWZhYmZkWCSgkzO9 VtkZsm7UbNiU52gqWOE1

ASP.NET_SessionId

0jduve55aez5pc55sbwfkhe5

Session Variables

ReferringUrl

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

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-5b96dc6d46-wh782 (squid/6.13)
HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br, zstd, deflate
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.3.248.143

ALL_RAW

Cache-Control: max-age=0
Connection: keep-alive
Via: 1.1 squid-proxy-5b96dc6d46-wh782 (squid/6.13)
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
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.3.248.143

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

REMOTE_ADDR

216.73.217.153

REMOTE_HOST

216.73.217.153

REMOTE_PORT

52344

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-5b96dc6d46-wh782 (squid/6.13)

HTTP_ACCEPT

*/*

HTTP_ACCEPT_ENCODING

gzip, br, zstd, deflate

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.3.248.143