cannot add duplicate collection entry TinyMceHttpHandler

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
9/17/2010 8:45:15 PM
Gravatar
Total Posts 2

cannot add duplicate collection entry TinyMceHttpHandler

Just finished installing and after a couple of authorization issues I tried to run the default page and I get HTTP Error 500 with detailed error info:

Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'TinyMceHttpHandler'

if I comment it out of web.config I just get an error from the subsequent entry SubkismetCaptchaHandler.

Thanks for any suggestions!

Michael

9/18/2010 7:51:28 AM
Gravatar
Total Posts 18439

Re: cannot add duplicate collection entry TinyMceHttpHandler

what version of mojoPortal?

what version of ASP.NET?

what version of IIS web server?

what operating system?

9/19/2010 11:14:41 AM
Gravatar
Total Posts 2

Re: cannot add duplicate collection entry TinyMceHttpHandler

mojoPortal version: 

I just recently downloaded and installed using the MS Web installer so it's either
mojoPortal 2.3.5.1 8/12/2010
mojoPortal 2.3.5.2 9/17/2010
I can't remember exactly what day I installed. There's no readme file with version number and obviously I can't load the admin page to see what it reports.

ASP.NET 4.0
MSSQL 2008 Express
IIS 7
Windows 7 Professional 

Thanks!

9/20/2010 1:04:15 AM
Gravatar
Total Posts 45

Re: cannot add duplicate collection entry TinyMceHttpHandler

If you are installing by using the MS Web Platform Installer and just selecting the "Web Applications" tab, then "mojoPortal" from the list, you will be installing the .NET 3.5 version and if you have your website setup for .NET 4.0 you will get a 500 error.  As of a few hours ago this method was still installing the 2.3.5.1 version, which doesn't contain the latest security releases that are in 2.3.5.2.

There are two ways to fix this:

  • First way is to set your website to the "Default App Pool" which will set it back to run the .NET 3.5 version.  This will still leave you with a .NET 3.5 version and an older 2.3.5.1 that contains security vulnerabilities.
  • Second way is to start over if this is your first mojoPortal install, if not be sure to back everything up first.  Start out by removing all the files you installed to your website, remove the database and user that was created in MSSQL Express.  Then follow the instructions at http://www.mojoportal.com/easy-installation-using-the-ms-web-deployment-tool.aspx using the MS Web Deployment Tool to install the mojoportal-2-3-5-2-mssql-net40-deploymentfiles.zip file from the CodePlex Download page.  This way you will know exactly what you are installing.
You must sign in to post in the forums. This thread is closed to new posts.