Solved

Problem with Companyweb - Server Error in '/' Application. - runtime error

Posted on 2008-10-06
4
2,245 Views
Last Modified: 2012-05-05
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="mycustompage.htm"/>
    </system.web>
</configuration>
 
Many thanks for your help
0
Comment
Question by:mtxit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:miketech99
ID: 22656239
More information is needed to diagnose. On the file system go to the home directory path.
Open web.confiig with notepad.
Locate
<customErrors mode="On" defaultRedirect="mycustompage.htm"/>

From above, replace mode="On" with mode="Off"

Refresh the page (may need to restart IIS)
A more detailed error message should now appear.  

0
 

Author Comment

by:mtxit
ID: 22657307
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 'processRequestInApplicationTrust'.

Source Error:


Line 66:       </namespaces>
Line 67:     </pages>
Line 68:     <trust level="WSS_Minimal" originUrl="" processRequestInApplicationTrust="false" />
Line 69:     <machineKey validationKey="BB93B527DBCB349C760555649035FA4536F9D67B9BD45BFE" decryptionKey="46B5D5DA6F3ED33D334C02B0D569B9A5001527DA2EFC916A" 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
0
 
LVL 6

Accepted Solution

by:
miketech99 earned 500 total points
ID: 22659106
In IIS, in the web site properties of CompanyWeb, set the ASP version to use .NET 2.0 instead of 1.1 (under the ASP.NET tab)
Also verify the application pool is not serving an application that is a ASP 1.1 version
0
 

Author Comment

by:mtxit
ID: 22661676
Many thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 List with Ratings 6 155
2008 SBS renaming user accounts? 3 55
SharePoint Explorer Folder Access 4 61
Cannot create 365 Migration Endpoint 11 76
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question