473,325 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 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 2823
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.