Hi everybody,
I am presently trying to upgrade one of my Dotnetnuke version 7 websites to the latest version and I am getting the following error;
Access to the path 'C:\HostingSpaces\forro\forrestitservices.org\wwwroot\App_Data\ClientDependency\50d2278b5b0752ec382c95fb35a11e6cea3243d8d8dae2e47fe98f4f41a2be49-map.xml' 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:\HostingSpaces\forro\forrestitservices.org\wwwroot\App_Data\ClientDependency\50d2278b5b0752ec382c95fb35a11e6cea3243d8d8dae2e47fe98f4f41a2be49-map.xml' 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:\HostingSpaces\forro\forrestitservices.org\wwwroot\App_Data\ClientDependency\LOTUS-50d2278b5b0752ec382c95fb35a11e6cea3243d8d8dae2e47fe98f4f41a2be49-map.xml' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10760710
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +1352
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +60
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync) +54
System.Xml.XmlWriterSettings.CreateWriter(String outputFileName) +155
System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) +23
System.Xml.Linq.XDocument.Save(String fileName, SaveOptions options) +118
ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.CreateNewXmlFile() +273
ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.EnsureXmlFile() +166
ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.Initialize(HttpContextBase http) +137
ClientDependency.Core.Config.ClientDependencySettings.LoadDefaultFileMapConfig(ClientDependencySection section, HttpContextBase http) +125
ClientDependency.Core.Config.ClientDependencySettings.LoadProviders(ClientDependencySection section, HttpContextBase http) +478
ClientDependency.Core.Config.ClientDependencySettings..ctor() +129
ClientDependency.Core.Config.ClientDependencySettings.get_Instance() +107
ClientDependency.Core.Module.ClientDependencyModule.LoadFilterTypes() +31
ClientDependency.Core.Module.ClientDependencyModule.System.Web.IHttpModule.Init(HttpApplication app) +79
System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +418
System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
[HttpException (0x80004005): Access to the path 'C:\HostingSpaces\forro\forrestitservices.org\wwwroot\App_Data\ClientDependency\LOTUS-50d2278b5b0752ec382c95fb35a11e6cea3243d8d8dae2e47fe98f4f41a2be49-map.xml' is denied.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9873912
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
From my prospective nothing has changed on the hosting server to my knowledge and all previous upgrades have gone without a hitch.
I was wondering whether or not anybody else had come across to sort of problem.
I have been able to successfully upgrade 2 development sites with no problems but this one production sites has caught me off guard.
Any help would be appreciated
thanks in anticipation
regards
Trevor