About

I'm Mike Pope. I live in the Seattle area. I've been a technical writer and editor for over 30 years. I'm interested in software, language, music, movies, books, motorcycles, travel, and ... well, lots of stuff.

Read more ...

Blog Search


(Supports AND)

Google Ads

Feed

Subscribe to the RSS feed for this blog.

See this post for info on full versus truncated feeds.

Quote

Whoever builds upon patriotism as a sufficient basis for conducting a long and bloody war will find themselves deceived in the end ... for a time it may of itself push men to action, to bear much, to encounter difficulties, but it will not endure unassisted by interest.

— George Washington



Navigation





<June 2018>
SMTWTFS
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

Categories

  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  
  RSS  

Contact

Email me

Blog Statistics

Dates
First entry - 6/27/2003
Most recent entry - 6/15/2018

Totals
Posts - 2502
Comments - 2574
Hits - 2,056,522

Averages
Entries/day - 0.46
Comments/entry - 1.03
Hits/day - 376

Updated every 30 minutes. Last: 9:13 AM Pacific


  10:23 PM

If you use membership in ASP.NET Web Pages, you might get the error To call this method, the "Membership.Provider" property must be an instance of "ExtendedMembershipProvider":


I happened to run across this while playing around with the new OAuth login capabilities in the beta version of Web Pages 2, but you might see it under other conditions as well.

Per one of our testers, this can indicate that the server has no AspNetSqlMembershipProvider configured. (A clue here is that everything works great when you test locally, but then throws an error when you deploy to your hosting provider.)

In my case, I fixed this by adding the following to the site's local Web.config file:

<appSettings>
<add key="enableSimpleMembership" value="true" />
</appSettings>
This is a child of the <configuration> element and a peer of the <system.web> element.

Anyway, that worked for me. I'm curious if others have seen this error and if so, how they fixed it.

[categories]   ,

[4] |