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.




server error, An application error occurred on the server

web-app

I have a clean installation of the gemini and have no errors on the installation, but when i try to run the iis service i have the following error

OS: Windows XP Pro

SQL Server 2000

IIS 5.1 with ASP.Net 2.0

WSE 3.0

_________________________

Server Error in '/Gemini' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: 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.

Details: To enable the details of this specific error message to be viewable on the local server machine, 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 "RemoteOnly". To enable the details to be viewable on remote machines, please set "mode" to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly"/>
    </system.web>
</configuration>
 

Notes: 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.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="On" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 

 

odalence
· 1
odalence
Replies (9)
helpful
0
not helpful

Please set the customErrors tags to Off in the web.config file.

This will give us the exception. Did you configure the connection string?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I already put the customErrord tags into Off and I receive the following error.

 

The configuration of the connection string was correct, the installer saved all the correct informatin on the we.config file

 

________________________

Server Error in '/Gemini' 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: An error occurred loading a configuration file: Access to the path 'C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config' is denied.

Source Error:


[No relevant source lines]
 

Source File: C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config    Line: 0


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

 


odalence
· 1
odalence
helpful
0
not helpful

Please give the asp.net worker process access to the virtual folder.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I give the corresponding access and still have the same error message

_________________________

Server Error in '/Gemini' 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: An error occurred loading a configuration file: Access to the path 'C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config' is denied.

Source Error:


[No relevant source lines]
 

Source File: C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config    Line: 0


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


odalence
· 1
odalence
helpful
0
not helpful

See if this post helps: http://forums.asp.net/t/950561.aspx


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

According to the forum i have to move the folder to the root directory, is that correct, i was following the manual settings and it doesn't says that, is that fix the error?


odalence
· 1
odalence
helpful
0
not helpful

Not sure about moving the folder, but the issue is permissions.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I follow the sugestions of the link, and also made a clean installation and give the permission to the virtual directory to the users ASP, INterbet Guess Account, and Network Service, and now i have the following error.

________________________

Server Error in '/Gemini' Application.
--------------------------------------------------------------------------------

Error de inicio de sesión del usuario 'OSCARVPC\ASPNET'.
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.Data.SqlClient.SqlException: Error de inicio de sesión del usuario 'OSCARVPC\ASPNET'.

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:


[SqlException (0x80131904): Error de inicio de sesión del usuario 'OSCARVPC\ASPNET'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   CounterSoft.Gemini.Commons.GeminiHelper.LogEx(Exception ex, String strOtherInfo) +104

[ADOException: cannot open connection]
   CounterSoft.Gemini.DataProvider.x73a34067f4cd229a.xdd71a6c437ce97cd(Type x86c43ef36e14f2a3, Object[] xdbd7e0681bb13f72) +161
   CounterSoft.Gemini.DataProvider.x73a34067f4cd229a.xc5a6238415274e6d(Type x86c43ef36e14f2a3, Object[] xdbd7e0681bb13f72) +14
   CounterSoft.Gemini.DataProvider.x99c4b1798e19cb2e.x1a95834709519378(String x2335cd6458013014) +89
   CounterSoft.Gemini.Business.ApplicationSettings.GetGeminiConfiguration() +3259
   CounterSoft.Gemini.Business.ApplicationSettings.get
Config() +74
   CounterSoft.Gemini.Default.Page_Load(Object sender, EventArgs e) +276
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


odalence
· 1
odalence
helpful
0
not helpful

You are using windows based connection string and need to give the user (OSCARVPC\ASPNET) access. Or use user name + password authentication.


Mark Wing
· 9108
Mark Wing