|
|
|
Joined: 12/7/2006
Posts: 5
|
|
|
I have the same problem and get this errormessage after setting Custom Errors to Off: Server Error in '/' Application. Access to the path 'D:\hshome\jivanoff\dkub.ivanoff.info\App_Data\ClientDependency\WSW7-07fa1f98ec6b31923e7aa148e2e4ee25-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 'D:\hshome\jivanoff\dkub.ivanoff.info\App_Data\ClientDependency\WSW7-07fa1f98ec6b31923e7aa148e2e4ee25-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) that is used if the application is not impersonating. If the application is impersonating via , 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 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 'D:\hshome\jivanoff\dkub.ivanoff.info\App_Data\ClientDependency\WSW7-07fa1f98ec6b31923e7aa148e2e4ee25-map.xml' is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714255 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) +1162 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +66 System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) +117 System.Xml.Linq.XDocument.Save(String fileName, SaveOptions options) +142 System.Xml.Linq.XDocument.Save(String fileName) +6 ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.CreateNewXmlFile() +204 ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.EnsureXmlFile() +114 ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.Initialize(HttpContextBase http) +139 ClientDependency.Core.Config.ClientDependencySettings.LoadDefaultFileMapConfig(ClientDependencySection section, HttpContextBase http) +124 ClientDependency.Core.Config.ClientDependencySettings.LoadProviders(ClientDependencySection section, HttpContextBase http) +411 ClientDependency.Core.Config.ClientDependencySettings..ctor() +94 ClientDependency.Core.Config.ClientDependencySettings.get_Instance() +78 ClientDependency.Core.Module.ClientDependencyModule.LoadFilterTypes() +37 ClientDependency.Core.Module.ClientDependencyModule.System.Web.IHttpModule.Init(HttpApplication app) +55 System.Web.HttpApplication.InitModulesCommon() +65 System.Web.HttpApplication.InitModules() +43 System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729 System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3618
|
|
|
|
| |
|
|
Joined: 12/7/2006
Posts: 5
|
|
|
I have the same problem with a new installation of DNN 6.1, I get this errormessage when trying to set the properties for the database ( SQL Server ): Server Error in '/' Application. Access to the path 'D:\hshome\jivanoff\dkub.ivanoff.info\App_Data\ClientDependency\WSW7-07fa1f98ec6b31923e7aa148e2e4ee25-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 'D:\hshome\jivanoff\dkub.ivanoff.info\App_Data\ClientDependency\WSW7-07fa1f98ec6b31923e7aa148e2e4ee25-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) that is used if the application is not impersonating. If the application is impersonating via , 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 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 'D:\hshome\jivanoff\dkub.ivanoff.info\App_Data\ClientDependency\WSW7-07fa1f98ec6b31923e7aa148e2e4ee25-map.xml' is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7714255 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) +1162 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +66 System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) +117 System.Xml.Linq.XDocument.Save(String fileName, SaveOptions options) +142 System.Xml.Linq.XDocument.Save(String fileName) +6 ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.CreateNewXmlFile() +204 ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.EnsureXmlFile() +114 ClientDependency.Core.CompositeFiles.Providers.XmlFileMapper.Initialize(HttpContextBase http) +139 ClientDependency.Core.Config.ClientDependencySettings.LoadDefaultFileMapConfig(ClientDependencySection section, HttpContextBase http) +124 ClientDependency.Core.Config.ClientDependencySettings.LoadProviders(ClientDependencySection section, HttpContextBase http) +411 ClientDependency.Core.Config.ClientDependencySettings..ctor() +94 ClientDependency.Core.Config.ClientDependencySettings.get_Instance() +78 ClientDependency.Core.Module.ClientDependencyModule.LoadFilterTypes() +37 ClientDependency.Core.Module.ClientDependencyModule.System.Web.IHttpModule.Init(HttpApplication app) +55 System.Web.HttpApplication.InitModulesCommon() +65 System.Web.HttpApplication.InitModules() +43 System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +729 System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +298 System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +107 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +289
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3618
|
|
|
|
| |
|
|
|
Joined: 7/7/2004
Posts: 20
|
|
|
Here is a screencast of the problem.
http://dl.dropbox.com/u/3505824/dnn6-...
im not sure why the cursor was jumping around so much, sorry about that :)
Im in discussion with my ISP RedFoxHosting who is excellent and goes the extra mile with solving issues, He has advised that the ACL's are just right to be secure yet functional and it is strange if nothing has change between the versions 6.0.2 and 6.1 in this area as I can install 6.0.2 without any problems.
|
|
|
|
| |
|
|
Joined: 12/7/2006
Posts: 5
|
|
|
I would like to add that I have had DNN sites from version 4.8 up to 6.0.2 running on this host and account and directory without any problems before. I do also have about 8 sites running right now with 6.0.2. I will try do to an upgrade of one of them to see what happens... And as it is mentioned above it is when configuring the database the error occurs.
/Jari
|
|
|
|
| |
|
|
Joined: 12/7/2006
Posts: 5
|
|
|
I have also been in contact with my ISP Surftown, and they say that the ACLs are correct. I have also now performed an upgrade on a 6.0.2 site to 6.1.0 without issues (that I have noticed so far, no errors in the upgrade process).
|
|
|
|
| |