Server Error in '/' Application.

Access to the path 'C:\Sites\hirsoluciones\App_Data\umbraco.config' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\Sites\hirsoluciones\App_Data\umbraco.config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UnauthorizedAccessException: Access to the path 'C:\Sites\hirsoluciones\App_Data\umbraco.config' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +435
   System.IO.File.InternalDelete(String path, Boolean checkHost) +14434145
   umbraco.content.DeleteXmlCache() +248
   umbraco.content.LoadContent() +272
   umbraco.content.CheckXmlContentPopulation() +333
   umbraco.content..cctor() +219

[TypeInitializationException: The type initializer for 'umbraco.content' threw an exception.]
   umbraco.content.get_Instance() +40
   umbraco.presentation.UmbracoContext.GetXml() +252
   umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +1750
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Page.OnPreInit(EventArgs e) +11691640
   System.Web.UI.Page.PerformPreInit() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0

Request Details

Session Id:nwgvirpnwswwkl5embta0tegRequest Type:GET
Time of Request:28/03/2024 03:23:09 p. m.Status Code:500
Request Encoding:Unicode (UTF-8)Response Encoding:Unicode (UTF-8)

Trace Information

CategoryMessageFrom First(s)From Last(s)
umbracoGlobalsettingsreserverd urls: '/config/splashes/booting.aspx,/config/splashes/nonodes.aspx,/install/,/umbraco/,/vsenterprisehelper.axd,'
aspx.pageBegin PreInit0.0004420.000442
umbracoInithandling request0.0004710.000030
Unhandled Execution Error
The type initializer for 'umbraco.content' threw an exception.
  at umbraco.content.get_Instance()
  at umbraco.presentation.UmbracoContext.GetXml()
  at umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e)
  at System.EventHandler.Invoke(Object sender, EventArgs e)
  at System.Web.UI.Page.OnPreInit(EventArgs e)
  at System.Web.UI.Page.PerformPreInit()
  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
0.0006180.000146

Control Tree

Control UniqueIDTypeRender Size Bytes (including children)ViewState Size Bytes (excluding children)ControlState Size Bytes (excluding children)
__PageASP.default_aspx000

Session State

Session KeyTypeValue

Application State

Application KeyTypeValue
umbracoUrlSystem.Stringhirsoluciones.com:80/umbraco
umbracoNeedConfigurationSystem.BooleanFalse

Request Cookies Collection

NameValueSize

Response Cookies Collection

NameValueSize

Headers Collection

NameValue
Accept*/*
Hostwww.hirsoluciones.com
User-Agentclaudebot

Response Headers Collection

NameValue
X-AspNet-Version4.0.30319
Cache-Controlprivate
Content-Typetext/html

Form Collection

NameValue

Querystring Collection

NameValue

Server Variables

NameValue
ALL_HTTPHTTP_ACCEPT:*/* HTTP_HOST:www.hirsoluciones.com HTTP_USER_AGENT:claudebot
ALL_RAWAccept: */* Host: www.hirsoluciones.com User-Agent: claudebot
APPL_MD_PATH/LM/W3SVC/7/ROOT
APPL_PHYSICAL_PATHC:\Sites\hirsoluciones\
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_LENGTH0
CONTENT_TYPE 
GATEWAY_INTERFACECGI/1.1
HTTPSoff
HTTPS_KEYSIZE 
HTTPS_SECRETKEYSIZE 
HTTPS_SERVER_ISSUER 
HTTPS_SERVER_SUBJECT 
INSTANCE_ID7
INSTANCE_META_PATH/LM/W3SVC/7
LOCAL_ADDR172.24.64.7
PATH_INFO/sucursales/satelite.aspx
PATH_TRANSLATEDC:\Sites\hirsoluciones\sucursales\satelite.aspx
QUERY_STRING 
REMOTE_ADDR3.81.221.121
REMOTE_HOST3.81.221.121
REMOTE_PORT51764
REQUEST_METHODGET
SCRIPT_NAME/sucursales/satelite.aspx
SERVER_NAMEwww.hirsoluciones.com
SERVER_PORT80
SERVER_PORT_SECURE0
SERVER_PROTOCOLHTTP/1.1
SERVER_SOFTWAREMicrosoft-IIS/8.5
URL/sucursales/satelite.aspx
HTTP_ACCEPT*/*
HTTP_HOSTwww.hirsoluciones.com
HTTP_USER_AGENTclaudebot

Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4494.0