HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Unrecognized element 'system.codedom' error in web.config
Post new topic   Reply to topic    HTML Help Forum Index -> ASP
View previous topic :: View next topic  
Author Message
juboe



Joined: 24 Oct 2009
Posts: 4

PostPosted: Wed Oct 28, 2009 10:00 am     Unrecognized element 'system.codedom' error in web.config Reply with quote

Hi,
I am Juboe. I am new to this forum and have built my first website. I had trouble learning how to upload my database to my hosting server but I think finally figured it out.

So, I go to try it out and now the login page and after you input the username and password then hit login this happens. I went to the web.config page and looked at the code. Here it the 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 element 'system.codedom'.

Source Error:

Line 11: <add name="********" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=********.mdf"></add>
Line 12:
Line 13: <system.codedom>
Line 14: <compilers>
Line 15: <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">

Source File: e:\InetPub\Clients\oakleafmeadowshoa.net\web.config Line: 13

You would think that it will be a simple soution with tags but i must be overlooking something because the open tags match the closing tags. Here is the actual code from my web.config page.
<connectionStrings>
<add name="*********" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Program Files\Microsoft SQL Server\MSSQL\DATA\********\SQLEXPRESS_**********.mdf"></add>

<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/></compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/></compiler></compilers>
</system.codedom>
</connectionStrings>


Can anyone see what I am missing?? Any help would be appreciated. I really need to get this website operational.

Thanks,
Juboe
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> ASP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial