Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Parser Error Message: Exception in configuration section handler.

Reply
Thread Tools

Parser Error Message: Exception in configuration section handler.

 
 
Ramanfromoz@gmail.com
Guest
Posts: n/a
 
      05-16-2005
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>

 
Reply With Quote
 
 
 
 
Ramanfromoz@gmail.com
Guest
Posts: n/a
 
      05-16-2005
Okay, Solved!!!

Uninstalling the front page server extension did the trick.

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
section with in a section config file and reading that config file kampy Python 9 10-19-2012 10:59 PM
Caught Exception: System.Configuration.ConfigurationErrorsException: An error occurred loading a configuration file: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicK Mike ASP .Net 5 08-15-2007 08:57 AM
Enterprise Library exception: The configuration section securityCryptographyConfiguration is not defined in the current configuration for the AppDomain. Jess Chadwick ASP .Net 1 09-21-2006 09:18 AM
Exception in configuration section handler. Ollie Riches ASP .Net Web Services 2 03-08-2005 02:42 PM
Exception in configuration section handler using a Custom ConfigurationHandler murl ASP .Net 2 09-01-2004 07:37 AM



Advertisments