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.




Sudden Error!

web-app

Hello. I used Gemini for approximately 6 month. About 2 weeks ago i relocated a server, on wich Gemini was hosted,  to another place (different IP and different Router) and it stoped working.
It gives me this error.

Any help would be greately appreciated. Thank you.

Server Error in '/Gemini' Application.

        <h2> <i>Runtime Error</i> </h2></span>

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

        <b> Description: </b>An

application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

        <b>Details:</b> To enable the

details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code></code><pre>&lt;!-- Web.Config Configuration File --&gt;<br><br>&lt;configuration&gt;<br>    &lt;system.web&gt;<br>        &lt;customErrors mode="Off"/&gt;<br>    &lt;/system.web&gt;<br>&lt;/configuration&gt;</pre>

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

        <br>

        <b>Notes:</b>

The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

        <table bgcolor="#ffffcc" width="100%">
           <tbody><tr>
              <td>
                  <code></code><pre>&lt;!-- Web.Config Configuration File --&gt;<br><br>&lt;configuration&gt;<br>    &lt;system.web&gt;<br>        &lt;customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/&gt;<br>    &lt;/system.web&gt;<br>&lt;/configuration&gt;</pre>

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

        </font><br>
alexdev
· 1
alexdev
Replies (5)
helpful
0
not helpful

Please set customErrors to "Off" in the web.config file, this will give us the exception.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thanks. After seting custom errors to OFF i was finally ble to see error. However still have no idea how to solve it. And why it was caused.
Thank you.

Server Error in '/Gemini' Application.

        <h2> <i>An

error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

        <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>System.Data.SqlClient.SqlException:

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

        <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>[SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]<br>   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +437<br>   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82<br>   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105<br>   System.Data.SqlClient.SqlConnection.Open() +111<br>   CounterSoft.Gemini.Commons.GeminiHelper.LogEx(Exception ex, String strOtherInfo) +104<br><br>[ADOException: cannot open connection]<br>   CounterSoft.Gemini.DataProvider.x73a34067f4cd229a.xdd71a6c437ce97cd(Type x86c43ef36e14f2a3, Object[] xdbd7e0681bb13f72) +161<br>   CounterSoft.Gemini.DataProvider.x73a34067f4cd229a.xc5a6238415274e6d(Type x86c43ef36e14f2a3, Object[] xdbd7e0681bb13f72) +14<br>   CounterSoft.Gemini.DataProvider.x99c4b1798e19cb2e.x1a95834709519378(String x2335cd6458013014) +89<br>   CounterSoft.Gemini.Business.ApplicationSettings.GetGeminiConfiguration() +3259<br>   CounterSoft.Gemini.Business.ApplicationSettings.get_Config() +74<br>   CounterSoft.Gemini.Default.Page_Load(Object sender, EventArgs e) +294<br>   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15<br>   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34<br>   System.Web.UI.Control.OnLoad(EventArgs e) +99<br>   System.Web.UI.Control.LoadRecursive() +47<br>   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061<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.832; ASP.NET Version:2.0.50727.832</font><br>

alexdev
· 1
alexdev
helpful
0
not helpful

Please check your connection strings in the web.config file.

Do you have a firewall that may prevent connections?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thank you for your help. But i don't think it is firewall. When i go to IIS Menager, i can't browse it from there ither. Also nothing was changed on my antivirus(firewall), and Gemini was working with it before.

I did change windows Administrator password. May that create some prorblems?


alexdev
· 1
alexdev
helpful
0
not helpful

Did you check the connection string? Are you using windows authentication?


Saar Cohen
· 5000
Saar Cohen