Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Tue, 8 Jul 2008 17:23:56 -0400,    group: microsoft.public.dotnet.framework.aspnet.security        back       


configProtectionProvider not supported   
When I encrypt/decrypt the connectionStrings section of my web.config file, 
everything works well, but the actual connectionStrings element gets a new 
attribute of configProtectionProvider, 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
date: Tue, 8 Jul 2008 17:23:56 -0400   author:   Scott M. am

Re: configProtectionProvider 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.nospam> wrote in message 
news:%23GGwhDU4IHA.4800@TK2MSFTNGP02.phx.gbl...
> When I encrypt/decrypt the connectionStrings section of my web.config 
> file, everything works well, but the actual connectionStrings element gets 
> a new attribute of configProtectionProvider, 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
>
date: Wed, 9 Jul 2008 01:32:34 -0400   author:   Jeff Winn

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us