Solved

Problem with Web.Config?

Posted on 2004-04-19
2
423 Views
Last Modified: 2007-11-27
Hi there. I just started getting this error in Web.Config:

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: Required attribute 'key' not found

Source Error:


Line 3:    <appSettings>
Line 4:        
Line 5:        <add Key="BasePath" value="http://Development02/EISecure" />
Line 6:        <add Key="RegLocation" value="Software\\Ark" />

 


My AppSettings in Web.Config are as follows:

<configuration>
  <appSettings>
      
      <add Key="BasePath" value="http://Development02/EISecure" />
      <add Key="RegLocation" value="Software\\xxxxx" />
      <!-- Datacash settings -->
      <add Key="DCServer" value="testserver.xxxxx.com" />
      <add Key="DCUsername" value="9xxxxxx1" />
      <add Key="DCPassword" value="qxxxxx1" />
      <add Key="DCEncryptKey" value="1C3xxxxxxxxx8D" />
      <add Key="MagID" value="{2A6EDDBF-B468-48E2-9FC4-8C82ADD28A19}" />
      <!-- End Datacash settings -->
 </appSettings>

WHat is this error?
0
Comment
Question by:Slimshaneey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
mmarinov earned 250 total points
ID: 10858115
web.config is strongly valid xml
the key attribute must be lowercase

B..M
0
 
LVL 11

Author Comment

by:Slimshaneey
ID: 10858148
of course! Many thanks!
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question