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: The type initializer for 'GalleryServerPro.Web.Pages.GalleryPage' threw an exception.

Error Summary

Url

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

Timestamp

6/21/2026 10:07:05 AM

Exception Type

System.TypeInitializationException

Message

The type initializer for 'GalleryServerPro.Web.Pages.GalleryPage' threw an exception.

Source

GalleryServerPro.Web

Target Site

Void .ctor()

Stack Trace

at GalleryServerPro.Web.Pages.GalleryPage..ctor()
at GalleryServerPro.Web.gs.pages.mediaobject..ctor()
at ASP.gs_pages_mediaobject_ascx..ctor()
at __ASP.FastObjectFactory_app_web_csp78_t4.Create_ASP_gs_pages_mediaobject_ascx()
at System.Web.Compilation.BuildResultCompiledType.CreateInstance()
at System.Web.UI.TemplateControl.LoadControl(IWebObjectFactory objectFactory, VirtualPath virtualPath, Type t, Object[] parameters)
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at System.Web.UI.TemplateControl.LoadControl(String virtualPath)
at GalleryServerPro.Web.Gallery.LoadRequestedPage()
at GalleryServerPro.Web.Gallery.Gallery_Init(Object sender, EventArgs e)
at System.Web.UI.Control.OnInit(EventArgs e)
at System.Web.UI.UserControl.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Inner Ex Type

GalleryServerPro.ErrorHandler.CustomExceptions.CannotWriteToDirectoryException

Inner Ex Message

Gallery Server Pro cannot write to the directory "e:\web\sites\ARI0000027561\wwwroot\galleryserverpro\gs\mediaobjects". This may be due to insufficient permissions. Check that the directory exists and that the web application has read, write and modify permission to it. If the application is running at less than Full Trust, the path must be within the web application. By default, the IIS worker process runs under the ASPNET user in IIS 5 and 5.1, Network Service in IIS 6 and 7, and IIS AppPool\DefaultAppPool in IIS 7.5. NOTE: You may need to restart the IIS application pool to force your changes to take effect.

Inner Ex Source

GalleryServerPro.Business

Inner Ex Target Site

Void ValidatePhysicalPathExistsAndIsReadWritable(System.String)

Inner Ex Stack Trace

at GalleryServerPro.Business.HelperFunctions.ValidatePhysicalPathExistsAndIsReadWritable(String fullPhysicalPath)
at GalleryServerPro.Business.AppSetting.set_MediaObjectPhysicalPath(String value)
at GalleryServerPro.Business.AppSetting.Initialize(ApplicationTrustLevel trustLevel, String physicalAppPath, String appName)
at GalleryServerPro.Web.Util.InitializeBusinessLayer()
at GalleryServerPro.Web.Util.InitializeApplication()
at GalleryServerPro.Web.Pages.GalleryPage..cctor()

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

2cjwyOY33QEkAAAAZDY5NGRkMTEtNjI5ZS00NmI3LWI1M2EtY2RlNGU5MzgzODg5WQGGqOBa 9jcWdys5qDc56VvcW501

ASP.NET_SessionId

zyae3sieovdixm55233uc545

Session Variables

<none>

Server Variables

ALL_HTTP

HTTP_CACHE_CONTROL:max-age=0
HTTP_CONNECTION:keep-alive
HTTP_VIA:1.1 squid-proxy-5b96dc6d46-9drmt (squid/6.13)
HTTP_ACCEPT:*/*
HTTP_ACCEPT_ENCODING:gzip, br, zstd, deflate
HTTP_COOKIE:.ASPXANONYMOUS=2cjwyOY33QEkAAAAZDY5NGRkMTEtNjI5ZS00NmI3LWI1M 2EtY2RlNGU5MzgzODg5WQGGqOBa9jcWdys5qDc56VvcW501
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.66.12

ALL_RAW

Cache-Control: max-age=0
Connection: keep-alive
Via: 1.1 squid-proxy-5b96dc6d46-9drmt (squid/6.13)
Accept: */*
Accept-Encoding: gzip, br, zstd, deflate
Cookie: .ASPXANONYMOUS=2cjwyOY33QEkAAAAZDY5NGRkMTEtNjI5ZS00NmI3LWI1M2EtY2RlNGU5M zgzODg5WQGGqOBa9jcWdys5qDc56VvcW501
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.66.12

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

REMOTE_ADDR

216.73.216.122

REMOTE_HOST

216.73.216.122

REMOTE_PORT

31023

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 squid-proxy-5b96dc6d46-9drmt (squid/6.13)

HTTP_ACCEPT

*/*

HTTP_ACCEPT_ENCODING

gzip, br, zstd, deflate

HTTP_COOKIE

.ASPXANONYMOUS=2cjwyOY33QEkAAAAZDY5NGRkMTEtNjI5ZS00NmI3LWI1M2EtY2RlNGU5M zgzODg5WQGGqOBa9jcWdys5qDc56VvcW501

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