I have been trying for the last couple of days to install 4.0.2 and SQL 2K. I've read the other threads here, and it appears that this issue has never been resolved...or answered at least (ie. it's possible someone helps someone else, the person gets DNN to work but never returns and posts success or not). Has anyone been able to get this to work and give instructions that also work for someone else?
I first tried the 'Package' and since 4.0.2 is defaulted to 2K5 Express, well, for whatever reason, reading the documentation letter by letter, it did not install even close to correct.
So I figured I'd do it the old way, by unzipping to a folder, creating the correct permissions (see below please) and then by reading mssr. blantons instructions, realize I also needed to set ASPNET as a SQL user (that's new from 3.x!), and assign as user in the dnn database also.
I had installed many copies of 2.x and 3.x, but have been away for a while on other projects. Obviously experience installing 2x and 3x doesn't do much good in this case. :)
Anyway, (using W2K3 Server, DNN 4.0.2, IIS 6.0), I noticed I rec'd an error which said it was an error because it didn't know if the VirtualDirectory was running as an application. So I added 'DotNetNuke' to the application name. ASP.NET 2.05yada is set. All the steps you mentioned for ASPNET on SQL and file permissions on the dotnetnuke folder (it just used dotnetnuke instead of your name). Everything else I did was exactly the same.
Here is the error I rec'd:
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.
Here's the list of the permissions I have set (I know I don't need to have both of the ASPNET and NETWORK SERVICE accounts (though I thought I did with 3.x, but don't remember!):
ASPNET Modify control
NETWORK SERVICE Full control (I know i don't need this but I tried w/just modify and rec'd same error)
CREATOR OWNER (Full control)
Administrators (Full control) (meaningless I know)
System (Full control).
I even went into advanced security and forced these permissions on all child folders and files. Yet I still receive the above message? I used to get this back in my neophyte days w/DNN 2.0--never thought I'd have to go through this again!
Any ideas of what I am missing? This is obviously a permissions issue, correct? The specific error I rec'd (below the above error) was:
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
Well, NETWORK SERVER has complete control. At least on the c:\dotnetnuke\ folder and all files and subfolders. Also see the same permissions when I right-click on the Virtual Directory (named DotNetNuke, which was always the fallback easiest way to get DNN running).
Any ideas of what I and other people seem to be missing? Any help would be much appreciated. It's got to have *something* to do with ASP.NET 2.0 and NETWORK SERVICE and permissions. Is there some part of the documentation (the Install documentation), that I've missed or something? Thanks for your help.