server error, An application error occurred on the server
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 |
|
Friday, April 18, 2008, 5:26:33 PM |
0
|
Please set the customErrors tags to Off in the web.config file. This will give us the exception. Did you configure the connection string? |
||||
|
0
|
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 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:
Source File: C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config Line: 0
|
||||
|
0
|
Please give the asp.net worker process access to the virtual folder. |
||||
|
0
|
I give the corresponding access and still have the same error message _________________________ Server Error in '/Gemini' Application. Configuration Error 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:
Source File: C:\Program Files\CounterSoft\Gemini Project Issue Tracking\Gemini Web Application\web.config Line: 0
|
||||
|
0
|
See if this post helps: http://forums.asp.net/t/950561.aspx |
||||
|
0
|
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? |
||||
|
0
|
Not sure about moving the folder, but the issue is permissions. |
||||
|
0
|
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'. 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:
[ADOException: cannot open connection]
|
||||
|
0
|
You are using windows based connection string and need to give the user (OSCARVPC\ASPNET) access. Or use user name + password authentication. |
||||
|