mtxit
asked on
Problem with Companyweb - Server Error in '/' Application. - runtime error
Hi
We've starting having a problem with our companyweb intranet site in SBS2003.
when we try and open it we get the following.
Server Error in '/' 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="mycustomp age.htm"/>
</system.web>
</configuration>
Many thanks for your help
We've starting having a problem with our companyweb intranet site in SBS2003.
when we try and open it we get the following.
Server Error in '/' 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="mycustomp
</system.web>
</configuration>
Many thanks for your help
ASKER
Hi
Details below
Server Error in '/' 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: Unrecognized attribute 'processRequestInApplicati onTrust'.
Source Error:
Line 66: </namespaces>
Line 67: </pages>
Line 68: <trust level="WSS_Minimal" originUrl="" processRequestInApplicatio nTrust="fa lse" />
Line 69: <machineKey validationKey="BB93B527DBC B349C76055 5649035FA4 536F9D67B9 BD45BFE" decryptionKey="46B5D5DA6F3 ED33D334C0 2B0D569B9A 5001527DA2 EFC916A" validation="SHA1" />
Line 70: </system.web>
Source File: c:\inetpub\companyweb\web. config Line: 68
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
Details below
Server Error in '/' 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: Unrecognized attribute 'processRequestInApplicati
Source Error:
Line 66: </namespaces>
Line 67: </pages>
Line 68: <trust level="WSS_Minimal" originUrl="" processRequestInApplicatio
Line 69: <machineKey validationKey="BB93B527DBC
Line 70: </system.web>
Source File: c:\inetpub\companyweb\web.
--------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Many thanks
Open web.confiig with notepad.
Locate
<customErrors mode="On" defaultRedirect="mycustomp
From above, replace mode="On" with mode="Off"
Refresh the page (may need to restart IIS)
A more detailed error message should now appear.