Solved

Problem with Web.Config?

Posted on 2004-04-19
2
418 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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)…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now