Solved

Problem with Web.Config?

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Amazon S3 Images with .Net 3 62
Check only one toolstripmenu item 12 60
vb.net application has warrnings about VB6 calls. 2 45
Manage big list of parameter list 8 16
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
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 …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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