472,811 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,811 software developers and data experts.

Parser Error Message: Exception in configuration section handler.

Hi,

Developing a new we application. Everything okay on my local WIN XP
PROFESSIONAL, IIS 5.0 running locally. The website is running smoothly.

Now, the same code I am copying over to a WINDOWS 2003 SERVER, I
created a new website, allocated port number 6000. Created a release
version on my local machine and copied the WEB project from my local to
http://ACTYD003:6000

As soon as I run website on this new server I get the following 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: Exception in configuration section handler.

Source Error:
Line 19: </commonservices.navigationcontrol.controller>
Line 20:
Line 21: <commonservices.navigationcontrol.httphandler>
Line 22: <security
principalFactory="CommonServices.Security.Principa lFactory,
CommonServices.Security" />
Line 23: <userState
stateManager="CommonServices.StateManagement.State ManagerInstance,
CommonServices.StateManagement" />
Source File: D:\inetpub\GTTP\web.config Line: 21
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.1085

When the whole website runs perfectly on a XP PROFESSIONAL machine.

What am I doing wrong here? I have spent a whole day scratching my
head.

Any help would be appreciated, but please remember this code works just
fine on a local xp professioal machine with the IIS server runnning
locally only the problem comes when I want to host the website on
WINDOWS 2003 server running IIS 6.0.

Following is my web. config file.

Cheers!

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="commonservices.exceptionmanagement"
type="CommonServices.ExceptionManagement.Configura tion.ExceptionManagementSectionHandler,
CommonServices.ExceptionManagement" />
<section name="commonservices.messaging"
type="CommonServices.Messaging.Configuration.Messa gingSectionHandler,
CommonServices.Messaging"/>
<section name="commonservices.navigationcontrol.controller"
type="CommonServices.NavigationControl.Configurati on.ControllerSectionHandler,
CommonServices.NavigationControl"/>
<section name="commonservices.navigationcontrol.httphandler "
type="CommonServices.NavigationControl.Configurati on.ControllerHttpHandlerSectionHandler,
CommonServices.NavigationControl" />
<section name="commonservices.dataaccess"
type="CommonServices.DataAccess.Configuration.Data AccessSectionHandler,
CommonServices.DataAccess" />
<section name="commonservices.security"
type="CommonServices.Security.Configuration.Securi tySectionHandler,
CommonServices.Security" />
<section name="smartcustomcontrols"
type="SmartCustomControls.SmartCustomControlsSecti onHandler,
SmartCustomControls" />
</configSections>

<commonservices.navigationcontrol.controller>
<security
principalFactory="CommonServices.Security.Principa lFactory,
CommonServices.Security" />
<logging
exceptionManager="CommonServices.ExceptionManageme nt.ExceptionManager,
CommonServices.ExceptionManagement" />
<userState
stateManager="CommonServices.StateManagement.State ManagerInstance,
CommonServices.StateManagement" />
<debug sendXml="false" />
<stateMachine file="StateMachine.config" />
</commonservices.navigationcontrol.controller>

<commonservices.navigationcontrol.httphandler>
<security
principalFactory="CommonServices.Security.Principa lFactory,
CommonServices.Security" />
<userState
stateManager="CommonServices.StateManagement.State ManagerInstance,
CommonServices.StateManagement" />
</commonservices.navigationcontrol.httphandler>

<commonservices.messaging>
<messageTypes default="noreader">
<messageType name="noreader"
replacer="CommonServices.Messaging.MessageReplacer ,
CommonServices.Messaging" message="CommonServices.Messaging.Message,
CommonServices.Messaging" />
</messageTypes>
</commonservices.messaging>

<commonservices.exceptionmanagement>
<publisherGroups default="GTTP">
<publisherGroup name="GTTP">
<additionalInformation>
<add key="ApplicationVersion" value="1.0" />
<add key="ApplicationName" value="GTTP" />
</additionalInformation>
<publisher
type="CommonServices.ExceptionManagement.DefaultPu blisher,
CommonServices.ExceptionManagement" logName="Application"
eventSource="GTTP" />
<publisher
type="CommonServices.ExceptionManagement.FilePubli sher,
CommonServices.ExceptionManagement" filename="C:\GTTP.exception.log" />
</publisherGroup>
</publisherGroups>
</commonservices.exceptionmanagement>

<commonservices.dataaccess>
<databases
errorHandler="CommonServices.DataAccess.SimpleData AccessErrorHandler,
CommonServices.DataAccess">
<database connectionKey="GTTPDB" commandTimeout="0"
errorHandler="CommonServices.DataAccess.SimpleData AccessErrorHandler,
CommonServices.DataAccess" connectionString="Server=ACTYD003;Initial
Catalog=GroupTraining;User Id=<HIDDEN>;Password=<HIDDEN>;Network
Library=dbmssocn" />
</databases>
</commonservices.dataaccess>

<commonservices.security>
<applications default="GTTP"
remoteServices="http://acapt008/UserDirectory.RemoteServices">
<application name="GTTP" directoryName="GTTP" />
</applications>
</commonservices.security>

<smartcustomcontrols>
<customSettings
type="GTTP.Common.SmartCustomControlsCustomSetting s, GTTP.Common"
jscriptSrcUrl="JavaScript/SmartCustomControls.js" />
<state type="GTTP.Common.SmartCustomControlsState, GTTP.Common" />
<toolTips type="GTTP.Common.SmartCustomControlsToolTips,
GTTP.Common" designTimeTableName="tblToolTips"
designTimeConnectionString="" />
<message type="GTTP.Common.SmartCustomControlsMessage, GTTP.Common"
/>
</smartcustomcontrols>

<system.web>
<identity impersonate="true" />
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to enable ASPX debugging.
Otherwise, setting this value to
false will improve runtime performance of this application.
Set compilation debug="true" to insert debugging symbols
(.pdb information)
into the compiled page. Because this creates a larger file
that executes
more slowly, you should set this value to true only when
debugging and to
false at all other times. For more information, refer to the
documentation about
debugging ASP .NET files.
-->
<compilation defaultLanguage="c#" debug="true" />
<!-- CUSTOM ERROR MESSAGES
Set customError mode values to control the display of
user-friendly
error messages to users instead of error details (including a
stack trace):

"On" Always display custom (friendly) messages
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users
not running
on the local Web server. This setting is recommended for
security purposes, so
that you do not display application detail information to
remote clients.
-->
<customErrors mode="Off" />
<!-- AUTHENTICATION
This section sets the authentication policies of the
application. Possible modes are "Windows", "Forms",
"Passport" and "None"
-->
<authentication mode="None" />
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every
page within an application.
Set trace enabled="true" to enable application trace logging.
If pageOutput="true", the
trace information will be displayed at the bottom of each
page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from
your web application
root.
-->
<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />
<!-- SESSION STATE SETTINGS
By default ASP .NET uses cookies to identify which requests
belong to a particular session.
If cookies are not available, a session can be tracked by
adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data
source=127.0.0.1;user id=sa;password=" cookieless="false" timeout="20"
/>
<!-- GLOBALIZATION
This section sets the globalization settings of the
application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
<httpHandlers>
<add verb="*" path="Controller.aspx"
type="CommonServices.NavigationControl.HttpHandler .ControllerHttpHandler,
CommonServices.NavigationControl"/>
</httpHandlers>
<!--
<httpModules>
<add name="BasicAuthenticationModule"
type="CommonServices.Security.Web.BasicAuthenticat ionHandler,CommonServices.Security"
/>
</httpModules>
-->
</system.web>
</configuration>

Nov 19 '05 #1
1 2778
Okay, Solved!!!

Uninstalling the front page server extension did the trick.

Thanks

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: helpful sql | last post by:
Hi all, I am getting an exception from asp.net application that says error creating section handler. Here is my configuration section from web.config file: <configSections> <section...
3
by: Pritam Bhat | last post by:
Hi, I recently upgraded my XML parser and the ComInterop code that I had for my webservice is throwing the following error. For ASP applications, we created a wrapper class on this web service and...
6
by: José Joye | last post by:
Hello, I'm currently reading the MS Developing Web applications with c# (and VB.net). In the chapter related to Error management, there is a sample about "Page-Level Error Pages" eg: In my...
2
by: murl | last post by:
Below is what i have as the custom section in the web.config file... <?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- register local configuration handlers --> <configSections>...
2
by: Peter D. Dunlap | last post by:
I've got a custom configuration section in my web site and a custom handler, which all works fine. However, other people are going to start working with this site soon, and probably messing with...
0
by: psilu | last post by:
Hi , I have created a virtual directory and copied my web services file to corresponding physical directory. But when i am trying to discover the webservice from virtual directory i am getting...
2
by: Jim Duffie | last post by:
Hi, can anyone give me a clue why I am getting the following error, Thanks, Jim Parser Error Message: Could not load type System.Web.UI.WebControls.Menu from assembly System.Web,...
0
by: stephen | last post by:
Hi all, I am getting this error: An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.web.dll Additional information: Exception creating section...
0
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): ...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.