Solved

Problem with Web.Config?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 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

13 Experts available now in Live!

Get 1:1 Help Now