Solved

dnn installation

Posted on 2014-04-29
8
460 Views
Last Modified: 2014-06-09
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
0
Comment
Question by:ITsolutionWizard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 18

Expert Comment

by:dj_alik
ID: 40032771
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
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 40032856
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
 
LVL 1

Author Comment

by:ITsolutionWizard
ID: 40033175
Ok. Now it is redirected me to localhost/int and I don't even know what it is. pain pain
0
Stressed Out?

Watch some penguins on the livecam!

 
LVL 83

Expert Comment

by:CodeCruiser
ID: 40037501
Adding

<clear />

at the start of handlers and modules works usually.
0
 
LVL 1

Author Comment

by:ITsolutionWizard
ID: 40037868
CodeCruiser,

I don't understand what you mean. Can you tell me more?
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 40038113
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
 
LVL 1

Author Comment

by:ITsolutionWizard
ID: 40038530
Got it but I do not know where I should put the <clear/>.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 40038539
Example:

<modules>
<clear />
<add .../>
<add .../>
...
</modules>
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question