I receive the following error message when trying to install a skin to my portal. After reading the error message the Tech Support for HostingLeader.Com (my Host) had this reply. Any help would be appreciated.
Tech Reply: I'm not sure how or why you're getting this error, since the "ASP.NET Machine Account" user (ASPNET) has Full Permissions on your entire web space. This is the default set of permissions as described in the MSDN. Please research this error on the forums for DotNetNuke for an answer to this issue. I'm not sure which users on the server need to be given extra permissions. Maybe you could find the answer to that question on the forums. Let me know if you find anything.
Error Message is below.
Installing Resources
> Install Resources Status Report
> 00:00:00.015 - Installing Container File
> D:\www\e\x\exposed-media.com\www\Install\Container\X-CHRON C BLACK.zip:
> Server Error in '/' Application.
> Access to the path
> "D:\www\e\x\exposed-media.com\www\Portals\_default\Containers\X-CHRON
> C BLACK\X.Content.R4_C1.jpg" 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:\www\e\x\exposed-media.com\www\Portals\_default\Containers\X-CHRON C BLACK\X.Content.R4_C1.jpg" 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 <identity
> impersonate="true"/>, the identity will be the anonymous user
> (typically
> IUSR_MACHINENAME) or the authenticated request user.
>
> To grant ASP.NET write 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:\www\e\x\exposed-media.com\www\Portals\_default\Containers\X-CHRON
> C BLACK\X.Content.R4_C1.jpg" is denied.]
> System.IO.__Error.WinIOError(Int32 errorCode, String str) +363
> System.IO.File.Delete(String path) +155
> DotNetNuke.UI.Skins.SkinController.UploadSkin(String RootPath,
> String SkinRoot, String SkinName, Stream objInputStream) +1518
>
> DotNetNuke.Modules.Admin.ResourceInstaller.ResourceInstaller.Install(B
> oolean
> status, Int32 indent) +1249
> DotNetNuke.Framework.Install.InstallResources() +100
> DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) +294
> System.Web.UI.Control.OnLoad(EventArgs e) +67
> System.Web.UI.Control.LoadRecursive() +35
> System.Web.UI.Page.ProcessRequestMain() +750
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300