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.




v3.1.0: Unexpected Row Count error after clicking the SAVE button

web-app

I made a change on "General" under Security Settings, clicked SAVE button, i got this error:

Unexpected row count: 0; expected: 1

        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

        <b> Description: </b>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.

        <b> Exception Details: </b>NHibernate.StaleStateException: Unexpected row count: 0; expected: 1<br><br>

        <b>Source Error:</b> <br><br>

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code>

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.

              </td>
           </tr>
        </tbody></table>

        <br>

        <b>Stack Trace:</b> <br><br>

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code></code><pre>[StaleStateException: Unexpected row count: 0; expected: 1]<br>   CounterSoft.Gemini.DataProvider.x73a34067f4cd229a.x097cc82acf165ae9(BaseEN x6fcb9c1c812a0558) +61<br>   CounterSoft.Gemini.DataProvider.x99c4b1798e19cb2e.x5610346bc9c12420(ApplicationSettingEN x0764245edd1c2f50) +7<br>   CounterSoft.Gemini.Business.ApplicationSettings.UpdateSetting(ApplicationSettingEN aseData) +34<br>   CounterSoft.Gemini.Business.ApplicationSettings.UpdateSetting(String settingName, String newValue) +39<br>   CounterSoft.Gemini.SecuritySettings.btnUpdate_Click(Object sender, EventArgs e) +95<br>   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105<br>   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107<br>   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7<br>   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11<br>   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33<br>   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746<br></pre>

              </td>
           </tr>
        </tbody></table>

        <br>

        <hr color="silver" size="1" width="100%">

        <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

        </font><br>
kha
· 1
kha
Replies (3)
helpful
0
not helpful

Is this an upgrade? If so, did you run the upgrade 3-1.sql script?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

This is an upgrade.  I did ran upgrade 3-1.sql script


kha
· 1
kha
helpful
0
not helpful

Can you please check the count of recods in the gemini_applicationsettings table?

Also, make sure the setting CaptchaEnabled exists.


Saar Cohen
· 5000
Saar Cohen