Link to home
Start Free TrialLog in
Avatar of Slimshaneey
SlimshaneeyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Problem with Web.Config?

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?
ASKER CERTIFIED SOLUTION
Avatar of mmarinov
mmarinov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Slimshaneey

ASKER

of course! Many thanks!