Slimshaneey
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.co m" />
<add Key="DCUsername" value="9xxxxxx1" />
<add Key="DCPassword" value="qxxxxx1" />
<add Key="DCEncryptKey" value="1C3xxxxxxxxx8D" />
<add Key="MagID" value="{2A6EDDBF-B468-48E2 -9FC4-8C82 ADD28A19}" />
<!-- End Datacash settings -->
</appSettings>
WHat is this error?
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.co
<add Key="DCUsername" value="9xxxxxx1" />
<add Key="DCPassword" value="qxxxxx1" />
<add Key="DCEncryptKey" value="1C3xxxxxxxxx8D" />
<add Key="MagID" value="{2A6EDDBF-B468-48E2
<!-- End Datacash settings -->
</appSettings>
WHat is this error?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER