Hello Everyone,
Thanks in advance,
Here i had some problem with my web.config file in the root of the website on the production server.
I
created one website for my application assume "MySite". Under this i
had some other applications assume like "MySubSite1" and "MySubSite2".
When
i access MySite its working fine. But when i access MySubSite1 or
MySubSite2 it is giving some web.config compilation errors. Here the
problem is it is taking the values from root web.config. Here i am
pasting the error even....
Server Error in '/Test/Test4' 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 'type'.
Source Error:
Line 3: <configSections> Line 4: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> Line 5: <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> Line 6: <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> Line 7: <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
Source File: D:\WWPublic\web.config Line: 5
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
Here my question is how to override these configuration settings in MySubSite web.config file. Please it is very urgent...
Thanks and Regards,
Chary...