Hello all. Well, I cannot seem to get 4.0.2 to install on SQL2K5, named instance (though that really isn't an issue), using the source install. This is a new install, not an upgrade, with IIS 6.0.
Here's *exactly* what I did. If someone could tell me what I did wrong, I will write up exact steps to Install using the above configuration (so we don't have a zillion threads asking the same thing. . I spent the last 1 1/2 hours looking for a similar thread, went back 300 threads--and nothing about the above scenario, so I figured I'd start a thread and finish it with something useful for others).
1. Downloaded 4.0.2 Install Source.
2. Unzipped the file to C:\websites\DNN\ folder I created
3. Went to IIS 6, created a Virtual Directory under the Default Web Site, pointed to C:\websites\DNN\website\.
4. In IIS, Allowed Read access and execute 'Scripts and Executables'.
5. In IIS, Changed to ASP.NET 2.0
6. In IIS, Named the application DNN4Test
7. Went to the c:\websites\DNN\ folder. Right clicked on the folder and selected 'Security'. Selected 'Advanced' and 'Find Now' to get a list of all roles. Selected 'NETWORK SERVICE' as this is a W2K3 Box (all the latest updates), gave complete control to the NETWORK SERVICE (just to be sure...I read the documentation, at least twice. Not easy going back and forth from 4.0 instructions to 3.x instructions, but I've installed many 3.x apps, so perhaps not as difficult for me as for someone new to DNN), to the DNN folder and ALL children.
8. Opened SQL2K5 Management Studio, created a new database. Called it DNN4. Added a user and gave it ownership if the DNN4 database.
9. Opened release.config. Added object qualifier of 'doodoo' (not really, but I gave it a name ). Removed the two references to SQLExpress connection and added this connection string:
<!-- Connection String for SQL Server 2000/2005
<add
name="SiteSqlServer"
connectionString="Server=MACHINENAME\INSTANCE;Database=DNN4;uid=UserX;pwd=PWXXXX;"
providerName="System.Data.SqlClient" />
and here:
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
<add key="SiteSqlServer" value="Server=MACHINENAME\INSTANCE;Database=DNN4;uid=UserX;pwd=PWXXXX;"/>
That's it. Went to http://localhost/DNN4Test/ and got the following error:
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
The above, from my experience, tells me I have a permissions problem, but I followed the docs, EXACTLY. Yet, I cannot get DNN 4.0.2 to install. Can someone tell me what step I must have missed? Thanks...