Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Having serious issues with DNN on an IIS serverHaving serious issues with DNN on an IIS server
Previous
 
Next
New Post
5/8/2008 9:31 AM
 

Hello,

I was recently building a site in Visual Studio using the starter kit and everything worked fine.  When i attempted to do the same with an IIS server, I ran into a ton of problems.  I got past the initial installation but I am still having problems.

Error #1

When i attempt to parse a skin, i recieve the error message:

Access to the path 'c:\inetpub\wwwroot\dotnetnuke\portals\_default\skins\myfirstskin\myFirstSkin.ascx' is denied.

This isn't so bad, since i can still apply a skin, i just can't parse it.  Just means i have to parse it in visual studio or just edit the ascx file. 

Error # 2

When attempting to install a new module i received this error:

 

ExceptionSystem.UnauthorizedAccessException: Access to the path 'C:\Inetpub\wwwroot\DotNetNuke\bin\DotNetNuke.Modules.Calendar.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFile(String FullFileName, Byte[] Buffer) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateBinFile(PaFile File) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.CreateFiles(PaFolder Folder) at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnInstallerBase.Install(PaFolderCollection folders) at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()

Error # 3

When attempting to create a new portal i receive this error:

 

Error configuring Child PortalAccess to the path 'C:\Inetpub\wwwroot\DotNetNuke\Portals\16\' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity) at DotNetNuke.Entities.Portals.PortalController.CreatePortal(String PortalName, String FirstName, String LastName, String Username, String Password, String Email, String Description, String KeyWords, String TemplatePath, String TemplateFile, String HomeDirectory, String PortalAlias, String ServerPath, String ChildPath, Boolean IsChildPortal)

 

I have checked my permissions on the application folder and the NETWORK SERVICE account has full permissions.  In IIS manager, the virtual directory permissions are set to FULL PERMISSIONS (all boxes checked).  The permissions are also inherited by child folders within the application directory.  I am running this on a Microsoft Windows 2003 Server machine. 

 

I have read countless forum threads, non of which have resolved my problems.  Has anyone had this same issue, and if so, how did you resolve it?

Any help would be much appreciated. 

 

 
New Post
5/8/2008 8:33 PM
 

Hi Rod,

I expect that you're not using the NS account somewhere sneaky.  What is the identify used for the application pool in which DNN is operating?  If this has changed to something other than the default NETWORK SERVICE, you would see this error.

Assuming that this is still NS, I think that you can identify what account is triggering the error in your event viewer.  Is it being thrown by the NS account, or someone else?

What happens when you assign full control to the IIS_WPG group to the entire DNN directory (and have it inherited)?  Does this rectify the problem?

 Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
5/9/2008 10:22 AM
 

Another common cause of this issue is to not have the option set that FORCES the permissions set on all child folders.  If you have validated that the Application Pool is using the Network Service account, re-apply the permissions, but ensure that it is set to replace child object permissions.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Having serious issues with DNN on an IIS serverHaving serious issues with DNN on an IIS server


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out