configProtectionProvider not supported

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott M.

    configProtectionProvider not supported

    When I encrypt/decrypt the connectionStrin gs section of my web.config file,
    everything works well, but the actual connectionStrin gs element gets a new
    attribute of configProtectio nProvider, which the VS 2008 IDE flags as a
    schema error and says that this attribute is not supported. Sure enough,
    the intelliSense for that piece of markup doesn't show this attribute
    either.

    Again, everything works, but what gives with that attribute?

    -Scott


  • Jeff Winn

    #2
    Re: configProtectio nProvider not supported

    Hey Scott,

    It's just because Visual Studio uses XSD files to validate the XML for the
    configuration. Since any configuration section theoretically could be
    encrypted with any number of providers it was probably easier to just leave
    it out. What you're seeing is perfectly normal, I wouldn't worry about it
    any.

    You can always fix it by modifying the appropriate XSD file the IDE uses to
    validate the sections, but it isn't worth the effort imo.


    "Scott M." <s-mar@nospam.nosp amwrote in message
    news:%23GGwhDU4 IHA.4800@TK2MSF TNGP02.phx.gbl. ..
    When I encrypt/decrypt the connectionStrin gs section of my web.config
    file, everything works well, but the actual connectionStrin gs element gets
    a new attribute of configProtectio nProvider, which the VS 2008 IDE flags
    as a schema error and says that this attribute is not supported. Sure
    enough, the intelliSense for that piece of markup doesn't show this
    attribute either.
    >
    Again, everything works, but what gives with that attribute?
    >
    -Scott
    >

    Comment

    Working...