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.




System log page gives an error since I upgraded Gemini 3.5.3 to 3.6

web-app

Hi,

I upgraded Gemini 3.5.3 to 3.6 and I'm testing it.  I get an error in the system log page:

 

Server Error in '/' Application.

The given key was not present in the dictionary.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[KeyNotFoundException: The given key was not present in the dictionary.]
   System.ThrowHelper.ThrowKeyNotFoundException() +28
   System.Collections.Generic.Dictionary`2.getItem(TKey key) +7452124
   CounterSoft.Gemini.DataProvider.x73a34067f4cd229a.x2916a57a4b290521() +110
   CounterSoft.Gemini.DataProvider.xda48b22fffb4ce02.xb0ecec6c267e8f8e() +33
   CounterSoft.Gemini.Business.LogManager.GetLatestMessages() +13
   CounterSoft.Gemini.Web.Admin.ErrorLog.PageLoad(Object sender, EventArgs e) +98
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

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

 

Can you help me with this error?

 

Thanks

mtrudeau
· 1
mtrudeau
Replies (4)
helpful
0
not helpful

Please make sure you have used the new web.config from 3.6 and that you have amended the connection string in the connection strings sectrion.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi,

 

The application work just fine. I only have an error on the system log page.  I use the new web.Config and I updated the connection string:

 

<!-- ****************** -->
 <!-- CounterSoft Gemini: Database Connection String -->
 <!-- ****************** -->
 <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
   <property name="connection.connectionstring">data source=xxxxx;initial catalog=Gemini;user id=xxxxx;password=xxxxx</property>
   <property name="connection.driver
class">NHibernate.Driver.SqlClientDriver</property>
   <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property>
   <property name="proxyfactory.factoryclass">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
   <property name="show
sql">false</property>
   <property name="useouterjoin">true</property>
   <!--property name="adonet.batchsize">0</property-->
   <!--property name="command
timeout">60</property-->
   <!--property name="defaultschema">GeminiSample.dbo</property-->
   <!--property name="prepare
sql">true</property-->
   <!--property name="connection.isolation">ReadUncommitted</property-->
   <!--property name="generate_statistics">false</property-->
   <property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
  </session-factory>
 </hibernate-configuration>
 <connectionStrings>
  <add name="Gemini" connectionString="Server=xxxxx; Initial Catalog=xxxxx; uid=sa; pwd=xxxxx"/>
 </connectionStrings>

Is there anything else I should update?


mtrudeau
· 1
mtrudeau
helpful
0
not helpful

You need to use:

   <property name="connection.connectionstringname">Gemini</property> in the NHibernate section instead of <property name="connection.connection_string">data source=xxxxx;initial catalog=Gemini;user id=xxxxx;password=xxxxx</property>


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi,

 

I made the change and it works now. 

 

 

Thanks


mtrudeau
· 1
mtrudeau