PDA

View Full Version : DotNetNuke From Control Panel Failure


kengc2
08-21-2010, 04:42 PM
I've attempted to install DotNetNuke into it's own directory on my site from within the Control Panel Web App Gallery.

The install seemed to proceed without any issues. When I try and go the directory, I receive the following error:

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.

Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptHandlerFactory'
Config File \\?\E:\web\worldcoinsa\htdocs\dotnetnuke\web.confi g
Requested URL http://www.worldcoinsales.com:80/dotnetnuke
Physical Path E:\web\worldcoinsa\htdocs\dotnetnuke
Logon Method Not yet determined
Logon User Not yet determined

I've searched these forums and DNN forums without any success as of yet.

I have tried to go to the "Web Application Tool" and have verified that the install directory is considered a Web Application, my only choice here is to "Remove Application".

Did I miss something?

Thanks,
Ken

Ramses
08-23-2010, 05:58 AM
The error you're getting is because the DNN web.config is having problems and is inheriting some settings settings from the root folder. Try doing a 'remove' in the web.config of the setting you're having problems with, or you can check your root application and disable the inheriting of settings

kengc2
08-23-2010, 07:43 AM
Jose:
Thanks for the reply.
How would I do a 'remove' in the web.config? Do you mean that I should just edit this file and remove or comment out the line?
How do I disable the inheriting of settings in my root application?
I went through the Control Panel app and cannot see where I am to do this.

Thanks,
Ken

kengc2
08-25-2010, 06:21 AM
Or anyone else... Could you take a look at Jose's reply and help me out?
Thanks!

kengc2
08-25-2010, 06:46 AM
Found out what to do...
If you are having the same problem, you need to either:
1. Turn off inheritance in your root application web.config, or
2. Use a "remove" or "clear" command in the web.config of the DNN install folder.

(As Jose said...)

Here is a link to help you with either of these solutions:

http://www.aspdotnetfaq.com/Faq/how-to-disable-web-config-inheritance-for-child-applications-in-subfolders-in-asp-net.aspx

Ramses
08-25-2010, 07:22 AM
Sorry about that. I was off and didn't have a chance to reply, but glad you were able to figure it out!