Let me first say I’ve only recently installed iis7, think it was Wednesday of last week.
We have a web site that has multiple levels of virtual directories, and the root and each virtual has its own config file that in turn has the configProtectedData and their own connection strings.
In iis6 this all worked just fine. However, in iis7 we get different errors, I say different as I was attempting to resolve the issue and each change I did resulted in a different error. I apologize but I’m unable to get the list of them at this point in time. However, I have determined that removing the configProtecteData fixes the issue, but introduces an install issue.
We have a custom DLL that runs during the install to encrypt the connection strings at the time of install, given that it isn’t aware of the hierarchy of the virtual directory structure an exception is thrown due to the configProtectedData not being there. We are willing to change the DLL but would rather leave it as is if possible.
The above being said is there any way that we can allow the configProtectedData to exist in multiple web configs?