I followed Microsoft's "How To" to encrypt the connection strings section of my application (
http://msdn.microsoft.com/en-us/library/ms998280.aspx)
Everything works fine and the section was encrypted. I can run the application and it decrypts my connection string correctly.
When I look at my web.config the "configProtectionProvider"
attribute is underlined in blue with a tooltip message of "configProtectionProvider is not declared". Also, <EncryptedData> is underlined in blue with the tooltip message of "the element <connectionStrings> has an invalid child element 'EncryptedData'". The encrypted section in my web.config looks like this:
<connectionStrings configProtectionProvider="
DataProtec
tionConfig
urationPro
vider">
<EncryptedData>
<CipherData>
<CipherValue>...</CipherVa
lue>
</CipherData>
</EncryptedData>
</connectionStrings>
How come these two items are underlined yet still work?