Hello, I am trying to install the source version of dnn 4.4.0 and running into problems. I have installed the Installation version with no problems but the Source version is perplexing. I think it is my lack of experience with Framework 2.0.
Here's the questions.
When I unzip the DotNetNuke_4.4.0_Source.zip file, I see two folders, Library and Website and DotNetNuke.sln. I simply unzipped the file to wwwroot and set up my web.config file with a connection to my database as I did in the install version. I am running Windows 2000 Server so I gave ASPNET full rights to the folder. I opened the solution and it told me that the site was set up for framework 1.0 and asked if I wanted it configured for 2.0. I said yes. I understand you have to build the solution before it can run so I noticed that the DotNetNuke solution was not set to build so I added it..
It is also called DotnetNuke_2. Is that normal?
Now I build the solution and it takes a while. There are 34 project to build. Is that correct? All built with no problems.
So now I am ready to go and open it in a web browser for the 5th+ time.
I get this error:
Parser Error Message: Unrecognized attribute 'requirePermission'.
It looks like I am running Framework 1.1 so I go to IIS and see that the site is not an application directory or running frmaework 2.0 so I change it.
Now I get this error
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Line 53: <machineKey validationKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" decryption="3DES" validation="SHA1"/>
Ok, I used the web.config from the installation version so now I am going to rename the release.config to web.config and copy the sql code into this web.config.
Ok, did that and now I get this
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Line 57: </system.codedom>
Line 58: <system.web>
Line 59: <machineKey
Line 60: validationKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902"
Line 61: decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC"
|
So I look back into IIS and see I set the DotNetNuke_4.4.0_Source folder to an application directory but not the WebSite directory so I set the WebSite directory to an application directory.
HOLY COW, IT'S WORKING!!! WHAT THE HECK CHANGED TO MAKE THIS WORK THIS TIME.
I think the only thing I did different was copy the source zip file to the wwwroot directory and didn't rename it or change anything. That must be it.
So the question is, what if you want it in another directory - where do you change it.
I guess this is a good little tutorial for those running into some problems. I wrote this as I was doing it so you benefit from my time. Good luck?
Rich