Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




'GeminiHttpModule' is already in the application and cannot be added again - Error message

web-app

We have been using Gemin as a virtual directory off of the root folder (e.g., http://machine1/group1/). I have added other Gemini instances under the folder without any issues (e.g., http://machine1/group1/inst1 and http://machine1/group1/inst2).

I have recently attempted to 'install' Gemini at the root folder by copying the files from the group1 folder to the folder's root directory (i.e., copy from C:\Inetpub\wwwroot\group1\ to C:\Inetpub\wwwroot). For the root instance, using IIS Mgr, I changed the default document to be default.aspx. In the web.config of the root instance, I updated the URL & changed the name parameter under the authentication/form section. The top level instance of Gemini works with no problems. All the instances in the virtual folders no longer work though, and now have the following error (note: we did not actually use 'group1' as the virtual dir name -- I replaced it so that it would match the naming convention I used above):

Server Error in '/Gemini-Test' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The module 'GeminiHttpModule' is already in the application and cannot be added again

Source Error:

Line 233:        </httpHandlers>
Line 234:       <httpModules>
Line 235:           <add name="GeminiHttpModule" type="Gemini.GeminiHttpModule, CounterSoft.Gemini" />
Line 236:        </httpModules>
Line 237:       <!-- This allows HTML text to be entered into Gemini -->

Source File: c:\inetpub\wwwroot\Gemini-Test\web.config    Line: 235

Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

bygate
· 1
bygate
Replies (3)
helpful
0
not helpful

Hi - I updated httpModules section of the root folder's web.config. I changed the name from GeminiHttpModule to GeminiHttpModule1: 

  <httpModules>
   <add name="GeminiHttpModule1" type="Gemini.GeminiHttpModule, CounterSoft.Gemini" />
  </httpModules>

The sites under the virtual folders are no longer erroring out. Does this mean everything is going to work properly now?

Thx.


bygate
· 1
bygate
helpful
0
not helpful

This might work. However, you are loading the module globally as it is in the root dir, so you can remove the <httpModules> completely from the other web.config(s) that are under the root.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Is this applicable even if the other folders have been setup with high isolation (i.e., are running in their own application space)? Thx.


bygate
· 1
bygate