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 ...DotNetNuke Configuration ErrorDotNetNuke Configuration Error
Previous
 
Next
New Post
3/2/2006 1:12 AM
 

DotNetNuke Configuration Error

Object reference not set to an instance of an object.

DotNetNuke has extensive file upload capabilities for content, modules, and skins. These features require custom security settings so that the application is able to create and remove files in your website.

Using Windows Explorer, browse to the root folder of the website ( C:\DotNetNuke by default ). Right-click the folder and select Sharing and Security from the popup menu ( please note that if you are using Windows XP you may need to Enable Simple File Sharing before these options are displayed ). Select the Security tab. Add the appropriate User Account and set the Permissions.
...

If using Windows 2003 - IIS6
- the NT AUTHORITY\NETWORK SERVICE User Account must have Read, Write, and Change Control of the virtual root of your website

------------------------------------------------------------------------------------------

I got the above error when trying to run DNN on a fresh install. I have win2003 and IIS6. I have triple checked the permissions, and the "Network Service" account has 'god' permission on the folders containing DNN.

I'm not sure why the error message says that the root folder of the website is "C:\DotNetNuke by default". I certainly hope it isn't, and I know I didn't install it there. It is in a subfolder of a test website on a different drive entirely.

I believe I have made all the suggested changes to the web.config file, the SQL should be set up properly, and I've copied siteurls.config. What the heck am I missing?

 

 
New Post
3/2/2006 6:53 AM
 

The account that needs to have Modify rights on the root of your dnn install is the account that is used to run the asp.net worker process in, by default that is the NT AUTHORITY\NETWORK SERVICE user account, however, you can check which account it is exactly by checking which application pool your dnn site is configured to run in (in iis you can see that by going to site > properties > home directory), and next by checking which account is used by the pool (right click the pool used by your site, properties, identity tab). You have to make sure that that account has modify rights on the directory you installed dnn in.

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
3/29/2006 7:28 PM
 
I am running IIS 6.0 on Server 2003sp1 with SQL server 2000sp4.

I have enabled Modify for the entire folder tree of my site, the DNN_2 folder sits outside the the default html folder and is a virtual directory as recommended in the install docs. Both the Root\DNN_2 and Root\html folders have NETWORK SERVICE security settings with Modify applied. And I verified in IIS manager that the ASP2.0 web pool has NETWORK SERIVE as security account on the identity tab.

I am still seeing the same error, is it possible another user needs access?


While attempting to test different users, I granted access to the Guests group, which simply gave me an different (more specific) error that it could not access web.config. I also tried granting access to the IIS_WPG group, but no luck.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke Configuration ErrorDotNetNuke Configuration Error


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