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

Timestamp

6/13/2026 7:45:18 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

CCBot/2.0 (https://commoncrawl.org/faq/)

Form Variables

<none>

Cookies

.ASPXANONYMOUS

0FB4p4kx3QEkAAAAYjAzMWJlOGYtNzU0MC00M2M0LTg1NjgtMWFlMjcxMzgyOTE19TXY8iQT c0xasiT2eY1hFw-asTc1

ASP.NET_SessionId

c3z3uxrrkryb2mizesdbb0zz

Session Variables

<none>

Server Variables

ALL_HTTP

HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q= 0.8
HTTP_ACCEPT_LANGUAGE:en-US,en;q=0.5
HTTP_HOST:ricanskemaliny.cz
HTTP_USER_AGENT:CCBot/2.0 (https://commoncrawl.org/faq/)

ALL_RAW

Connection: Keep-Alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Host: ricanskemaliny.cz
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)

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

2a00:19a0:3:72:0:d9c6:7212:1

PATH_INFO

/galleryserverpro/default.aspx

PATH_TRANSLATED

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

QUERY_STRING

moid=358

REMOTE_ADDR

2600:1f28:365:80b0:d10a:e62b:abcd:c8ce

REMOTE_HOST

2600:1f28:365:80b0:d10a:e62b:abcd:c8ce

REMOTE_PORT

42642

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_CONNECTION

Keep-Alive

HTTP_ACCEPT

text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

HTTP_ACCEPT_LANGUAGE

en-US,en;q=0.5

HTTP_HOST

ricanskemaliny.cz

HTTP_USER_AGENT

CCBot/2.0 (https://commoncrawl.org/faq/)