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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Network Service Permissions Error on InstallNetwork Service Permissions Error on Install
Previous
 
Next
New Post
1/18/2008 7:46 PM
 

Hello, I've been trying to install DotNetNuke on a Windows 2003 server running IIS6 but I keep seeing the same issue repeatedly.  On some occasions the install warns me that the Network Service user account needs to have full permissions on the virtual root. On other occasions, the install goes through and fails to install modules as well as a default portal (see the stack trace below).  The problem with all these issues is that the network service user account has been set with full permissions on the virtual directory folder as well as its subfolders.    One of the differences i've noticed from other servers that had successful installs is a .Net Framework  Security Update that has been installed.  I sincerely doubt that the dotnet framework is corrupt on the server.  When the modules are installed are they downloaded off the net?  Perhaps there may be a firewall issue.  Any help would be greatly appreciated. Thanks in advance.

Error: Error configuring Child PortalRequest for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'failed at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark & stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() 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) 

 
New Post
1/19/2008 9:33 AM
 

i'm not sure what your error is. On windows 2003 you need to have MODIFY permissions for both the networkservice user and the aspnet user. Also, if your website is to be browsed by anonymous users you need to add permissions for the IUSR_machinename user. Please note, if your windows 2003 box is a domain controller , you need to do additional work -http://msdn2.microsoft.com/en-us/library/aa579070.aspx

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/21/2008 11:15 AM
 

Are you sure the aspnet user account must be setup for Windows 2003/IIS6?  The installation guide explicity specifies the network service and aspnet user accounts as mutually exclusive depending on which OS dnn is being installed on. Is it possible that other user accounts inherited from parent folders can interfere with an installation?  We have verified that there is nothing wrong with the .Net framework.  Is there something specific in terms of the application pool dnn is deployed to that I may be forgetting?  There are no security policies or permissions issues on the server I'm testing on.  Below is a stack trace in full:

00:00:00.109 - Installing Version: 4.4.0
00:00:00.109 -   Executing Script: DotNetNuke.SetUp.SqlDataProvider Success
00:00:00.187 -   Executing Script: DotNetNuke.Schema.SqlDataProvider Success
00:00:05.609 -   Executing Script: DotNetNuke.Data.SqlDataProvider Success
00:00:10.328 - Installing MemberRole Provider:
00:00:10.328 -   Executing Script: InstallCommon.sql
00:00:10.812 -   Executing Script: InstallMembership.sql
00:00:11.578 -   Executing Script: InstallProfile.sql
00:00:11.718 -   Executing Script: InstallRoles.sql
00:00:12.109 - Upgrading to Version: 4.5.3
00:00:12.109 -   Executing Script: 04.04.01.SqlDataProvider Success
00:00:12.281 -   Executing Script: 04.05.00.SqlDataProvider Success
00:00:13.203 -   Executing Script: 04.05.01.SqlDataProvider Success
00:00:14.421 -   Executing Script: 04.05.02.SqlDataProvider Success
00:00:15.359 -   Executing Script: 04.05.03.SqlDataProvider Success
00:00:15.515 - Performing General Upgrades
00:00:15.765 - Loading Host Settings:
00:00:15.890 - Configuring SuperUser:
00:00:16.312 - Installing Modules:
00:00:16.328 -   Installing Module File HTML_04.05.00_Install:  Error!
00:00:16.796 -   Installing Module File Links_03.03.07_Install:  Error!
00:00:17.031 - Executing Additional Scripts:
00:00:17.046 -   Creating Portal: My Website
00:00:17.812 -   Error: Error configuring Child PortalRequest for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() 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)
00:00:17.812 -   Portal failed to install:Error!
00:00:17.812 - Installing Optional Resources:

 
New Post
1/22/2008 2:12 PM
 

Okay.  I have a much more direct question.  Do permissions for the Network Service need to be set on the root of the install path or the install folder?  For instance, if the application is installed to C:\dotnet\applications\dnn should the permissions be set on the dnn folder or the dotnet folder?   I must have had a misinterpretation with the installation guide because I believe it is indeed the dotnet folder that requires permission and not dnn which should just inherit them.  Any confirmation or clarification would be greatly appreciated.  Thanks in advance.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Network Service Permissions Error on InstallNetwork Service Permissions Error on Install


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