Re: Turning Custom Errors off

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I think I see the problem It looks like this is running framework version
1.1.

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300

Am I reading it correctly?



"Mark A. Sam" <msam@xxxxxxxxxxxxxxxxx> wrote in message
news:OBiRXOwRGHA.3192@xxxxxxxxxxxxxxxxxxxxxxx
The support tech remmed out the connectionstrings
<!-- <connectionStrings/>-->
node and now I get the error:


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: Child nodes are not allowed.

Source Error:


Line 26: <compilation debug="false" strict="false" explicit="true"
/>
Line 27: <pages>
Line 28: <namespaces>
Line 29: <clear />
Line 30: <add namespace="System" />


Source File: C:\Domains\dragonimporting.com\wwwroot\web.config Line: 28



--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET Version:1.1.4322.2300



I'll post the web.config again: Thank you again for the help. I resolved
the issue with the .jpgs by deleting the images then copy and pasting them
to a new webform page. Maybe this was a fluke..


<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<configuration>

<appSettings/>

<!-- <connectionStrings/>-->

<system.web>


<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<compilation debug="false" strict="false" explicit="true" />

<pages>

<namespaces>

<clear />

<add namespace="System" />

<add namespace="System.Collections" />

<add namespace="System.Collections.Specialized" />

<add namespace="System.Configuration" />

<add namespace="System.Text" />

<add namespace="System.Text.RegularExpressions" />

<add namespace="System.Web" />

<add namespace="System.Web.Caching" />

<add namespace="System.Web.SessionState" />

<add namespace="System.Web.Security" />

<add namespace="System.Web.Profile" />

<add namespace="System.Web.UI" />

<add namespace="System.Web.UI.WebControls" />

<add namespace="System.Web.UI.WebControls.WebParts" />

<add namespace="System.Web.UI.HtmlControls" />

</namespaces>

</pages>

<!--

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authentication mode="Windows" />

<!--

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

-->

<customErrors mode="Off" />



</system.web>

</configuration>












.



Relevant Pages

  • Framework 2.0 Configuration Control Applet: Snap-In Creation Faile
    ... Am having problems with a Windows 2003 server. ... I've installed .Net Framework 2.0 Beta. ... When I attempt to run the Microsoft .NET Framework 2.0 Configuration from ... for performing this operation. ...
    (microsoft.public.dotnet.security)
  • Re: Installing Net Framework Service Pack 1
    ... I *should* have said there is no 1.1 configuration in the Administrative ... Tools folder that I reach from the control panel. ... Administrative Tools there is a file called "net Framework 2.0 ... Service Pack 1 in order to use ASP.net 1.1 and the net Framework 1.1 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Zugriff auf Registry
    ... ist im Windows-Control-Panel ... Microsoft .NET Framework 1.1 Configuration ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
    ... You need the .Net Framework 2.0. ... Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory ... I used Visual Studio 2005 Beta 2 to build a simple new web site. ... An error occurred during the processing of a configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • Microsoft .Net Framework 2.0 Configuration ???
    ... I recently installed "Microsoft .Net Framework 2.0 Redistributable" on ... Configuration SDK, has that item in the Administrative Tools. ...
    (microsoft.public.dotnet.general)