Geeks With Blogs
Doug Butscher Nothin' but .NET!

I was trying to regenerate a Silverlight proxy, but I kept getting this error:

extendedProtectionPolicy

 

 

 

 

 

 

 

 

 

 

Turns out, Win 7 sometimes adds an <extendedProtectionPolicy policyEnforcement="Never" /> element to your Web.config.

 

Here’s the workaround according to the Silverlight Web Services team:

On Windows 7, when you use the Silverlight-enabled WCF Service item template, an <extendedProtectionPolicy /> element may be generated in Web.config. This element is not supported by Silverlight. Simply remove the element from Web.config and try regenerating the Silverlight proxy.

 

Here’s the link to the article that talks about this, and other issues in Silverlight 3 Beta.

 

Posted on Friday, October 9, 2009 8:08 AM | Back to top


Comments on this post: WCF Service Reference | 'extendedProtectionPolicy'

# maybe smb knows....
Requesting Gravatar...
Who knows where can I download [url=http://www.virtuagirlhd.in]virtual girls (from virtuagirlhd.in)[/url] for free??? I heard it's possible.
Left by Arielliana on Mar 11, 2010 10:31 PM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
Here you can do it.
Left by Virtuagirlhd on Apr 14, 2010 10:50 AM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
When facing this problem, just replace these lines
<transport>
<extendedProtectionPolicy policyEnforcement="Never" />
by one word : <transport />
After this, your web.config will be ok.

<transport>
Left by Xavier on Aug 06, 2010 7:48 AM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
Thanks Xavier! this had been happening to us every time we update the service refs for a long long time
Left by Jonny on Aug 26, 2010 11:55 AM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
Cool! Now I where this entry came from.

http://msdn.microsoft.com/en-us/library/system.security.authentication.extendedprotection.extendedprotectionpolicy.policyenforcement.aspx
Left by Dries on Aug 27, 2010 5:17 AM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
   I like the various topics you guys have covered on this blog. Very informational! the tips and tricks shared are also pretty neat! Would come back for more.
Left by SEO Companies on Feb 01, 2011 4:40 AM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
Easy option to get useful information as well as share good stuff with good ideas and concepts.
Left by high court enforcement on Feb 08, 2011 6:55 AM

# re: WCF Service Reference | 'extendedProtectionPolicy'
Requesting Gravatar...
Waseem Saddique - Online Marketing, PPC and SEO
Left by Waseem Saddique Brazil on Mar 07, 2011 12:24 PM

# re: Paynet Services India
Requesting Gravatar...
I would like to say that this blog really convinced me, you give me best information! Thanks, very good post.
Left by SEO Link Building on Apr 21, 2011 3:42 AM

Your comment:
 (will show your gravatar)


Copyright © Doug Butscher | Powered by: GeeksWithBlogs.net