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

Timestamp

5/18/2025 11:56:32 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_debnhb_4.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

F9QS-Wz-2wEkAAAAZTFkZjI4ODEtODRhOC00NDllLTlkNDctN2IzYTdiMGVjOWI4YTRR8zDx uCQPKDqgRTyY47ReQJ01

ASP.NET_SessionId

4dgxzk55ak4awlvzljmyfb45

Session Variables

<none>

Server Variables

ALL_HTTP

HTTP_CACHE_CONTROL:no-cache
HTTP_CONNECTION:keep-alive
HTTP_PRAGMA:no-cache
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,image/ avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q =0.7
HTTP_ACCEPT_ENCODING:gzip, 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_UPGRADE_INSECURE_REQUESTS:1

ALL_RAW

Cache-Control: no-cache
Connection: keep-alive
Pragma: no-cache
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/w ebp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate
Host: www.ricanskemaliny.cz
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Upgrade-Insecure-Requests: 1

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

REMOTE_ADDR

18.221.228.143

REMOTE_HOST

18.221.228.143

REMOTE_PORT

1308

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

no-cache

HTTP_CONNECTION

keep-alive

HTTP_PRAGMA

no-cache

HTTP_ACCEPT

text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/w ebp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7

HTTP_ACCEPT_ENCODING

gzip, 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_UPGRADE_INSECURE_REQUESTS

1