dnn installation

I am working for a company that using dnn 5.4
And I try to install the whole dnn application on my pc's IIS 7.0
I already given all permission to network, network service, iis_user and etc.
to the folder.

And when it is opened in IIS. I have the following issues

1.      Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'LogoffHandler*'

2. When I try to browse on default.aspx, it is redirect me to http://localhost/Install/UnderConstruction.htm


It is point to 'add' <> that I attached in webconfig.
And I have no idea how to fix it.
error.txt
LVL 1
ITsolutionWizardAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CodeCruiserConnect With a Mentor Commented:
Example:

<modules>
<clear />
<add .../>
<add .../>
...
</modules>
0
 
dj_alikCommented:
1. The best way to install DNN CE is to use the Web Platform Installer as it handles all the permissions and set up for you.  Try it out here http://www.dotnetnuke.com/Development...

2. As the error message indicates , there are duplicate collection entry. You can try add the following section at the beginning of the handler section:
 <remove name="ScriptHandlerFactory">

The website will inherits the settings form parent level . This should be the reason of this issue. You can check if there is a web.config file in the parent web content folder(e.g. C:\inetpub\wwwroot\...\ or C:\inetpub\wwwroot ) and an duplicate collection entry in it.

 in handlers tag of web.config
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="LogoffHandler*" />

Check if  Application was created in IIS. (not just Folder)
Create a Web Application (IIS 7)
http://technet.microsoft.com/en-us/library/cc772042(v=ws.10).aspx
0
 
David Johnson, CD, MVPOwnerCommented:
you have to go to the installation folder.. Did you use the web platform installer? (I'm guessing not)
I added a line to get rid of the logoff handler error
  <remove name="LogoffHandler" />
How to install DNN
http://www.dnnsoftware.com/wiki/page/install_dotnetnuke
web.config
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ITsolutionWizardAuthor Commented:
Ok. Now it is redirected me to localhost/int and I don't even know what it is. pain pain
0
 
CodeCruiserCommented:
Adding

<clear />

at the start of handlers and modules works usually.
0
 
ITsolutionWizardAuthor Commented:
CodeCruiser,

I don't understand what you mean. Can you tell me more?
0
 
CodeCruiserCommented:
That line clears all the previous entries picked up from other config files such as machine.config and ensures you don't add duplicate entries.
0
 
ITsolutionWizardAuthor Commented:
Got it but I do not know where I should put the <clear/>.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.