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.




upgrade 3.5.4 to 3.6 error "The name 'US English' contains characters that are not valid"

web-app

Trying to upgrade our sandbox Gemini from 3.5.4 to v3.6.  I get redirected to http://abweldonvm1/geminiv3-sandbox/Error.aspx?aspxerrorpath=/geminiv3-sandbox/Main.aspx which comes up with a message

=====

Server Error in '/Gemini_v3-SANDBOX' Application.

        <h2> <font size="3"><i>The name 'US English' contains characters that are not valid for a Culture or Region.<br>Parameter name: name</i></font> </h2></span></font>

        <font face="Courier New" size="2">

        <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>System.ArgumentException: The name 'US English' contains characters that are not valid for a Culture or Region.<br>Parameter name: name<br><br>

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

        <table width="100%" bgcolor="#ffffcc">
           <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 width="100%" bgcolor="#ffffcc">
           <tbody><tr>
              <td>
                  <code></code><pre>[ArgumentException: The name 'US English' contains characters that are not valid for a Culture or Region.<br>Parameter name: name]<br>   System.Globalization.CultureTableRecord.ValidateCulturePieceToLower(String testString, String paramName, Int32 maxLength) +7484131<br>   System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride) +81<br>   System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) +45<br>   CounterSoft.Gemini.Commons.Extensions.DateTimeExtensions.GetFirstDayOfWeekSetting(DateTime dt, String languageCode) +44<br>   CounterSoft.Gemini.Commons.Extensions.DateTimeExtensions.GetFirstDayOfWeekSettingForSQL(DateTime dt, String languageCode) +21<br>   CounterSoft.Gemini.DataProvider.xd40904422a043a04.x7dfb354afb7dc87e(UserEN xfd92dbe2fa4bcb5a) +544<br>   CounterSoft.Gemini.Business.xa37334733da24461.x7dfb354afb7dc87e(UserEN xfd92dbe2fa4bcb5a) +15<br>   CounterSoft.Gemini.Web.Controls.TabProjects.Page_Load(Object sender, EventArgs e) +343<br>   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14<br>   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43<br>   System.Web.UI.Control.OnLoad(EventArgs e) +91<br>   System.Web.UI.Control.LoadRecursive() +74<br>   System.Web.UI.Control.LoadRecursive() +163<br>   System.Web.UI.Control.LoadRecursive() +163<br>   System.Web.UI.Control.LoadRecursive() +163<br>   System.Web.UI.Control.LoadRecursive() +163<br>   System.Web.UI.Control.LoadRecursive() +163<br>   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2603<br></pre>

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

        <br>

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

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

        </font><a id="ctl00_Main_lnkView" href="http://abweldonvm1/gemini_v3-sandbox/admin/ErrorLog.aspx"></a><p><font face="Courier New" size="2">=====</font></p><p>One thing I've been trying to figure out and I might have wrong is how to transfer the idea of a "trusted connection" in the database part of the web.config from 3.5.4 to 3.6.&nbsp; <br></p><p><font face="Courier New" size="2">&lt;connectionStrings&gt;<br>&nbsp;&nbsp; &lt;add name="Gemini" connectionString="Server=localhost; Initial Catalog=Gemini_v3-sandbox; trusted_connection=true"/&gt;<br>&lt;/connectionStrings&gt;</font></p><p>Other than changing that line, I'm using the stock 3.6 Web.config file.<br></p>
horatio
· 1
horatio
Replies (2)
helpful
0
not helpful

Please check under Administration -> General that in your installed languages US English is followed by |en-US

Should read: US English|en-US|UK English|en-GB|German|de-DE|Spanish|es-ES|Italian|it-IT|French|fr-FR|Japanese|ja-JP|Portuguese|pt-PT|Chinese Simplified|zh-CHS|Chinese Traditional|zh-TW|Russian|ru-RU|Greek|el-GR|Dutch|nl-NL|Polish|pl-PL|Brazilian Portuguese|pt-BR|Czech|cs-CZ|Slovak|sk-SK|Swedish|se-SE|Hindi|hi-IN|Danish|da-DK

In the same page, make sure that the default language is set to en-US.

If you can't login at all check these values in the gemini_applicationsettings table (InstalledLanguages and DefaultCultureName).


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

As usual, good call.  The default was set to "US English" and wasn't letting me even get to a login page.  Editing the database value and setting it to "en-US" was the trick.

thanks!


horatio
· 1
horatio