Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Error: This Membership Provider has not been configured to support password retrieval
shrage
#1 Posted : Monday, 9 November 2009 1:35:53 PM(UTC)
Rank: Member

Joined: 9/11/2009(UTC)
Posts: 10


I'm Using GSP 3

Im using an existing database as the membership provider, they gallery itself uses its own database, after running the gallery i get the error message bellow, my site is setup with password retreival disabled, does that mean that Gallery server is not working with membership provider if password retreival is disabled?

System.NotSupportedException This Membership Provider has not been configured to support password retrieval. System.Web System.String GetPassword(System.String, System.String) at System.Web.Security.SqlMembershipProvider.GetPassword(String username, String passwordAnswer)
at GalleryServerPro.Web.Controller.UserController.GetPassword(String userName)
at GalleryServerPro.Web.Controller.UserController.ProcessInstallerFile()
at GalleryServerPro.Web.Util.InitializeApplication()
Roger Martin
#2 Posted : Monday, 9 November 2009 2:18:03 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,301
Location: Fort Atkinson, WI

Can you temporarily enable password retrieval just long enough for the installer to finish setting up your gallery? What is happening is that you specified an account during the GSP install wizard that already exists in your membership system, so GSP is trying to update the password to the value you specified in the wizard. The ASP.NET Membership function for changing the password requires that you pass in the old password, so GSP uses the GetPassword function to get it.

If you don't want to do that, you can rerun the installer and specify a different account that is unique - the code will never invoke the GetPassword function in that scenario. After you are set up you can go into the Site Admin area and make the original account the admin and delete the other one.

(Note: A shortcut to re-running the installer is to use a text editor to update the file _SqlMembership.txt in the App_Data directory to include a new account name.)
Roger Martin
Creator and Lead Developer of Gallery Server Pro
shrage
#3 Posted : Monday, 9 November 2009 2:28:25 PM(UTC)
Rank: Member

Joined: 9/11/2009(UTC)
Posts: 10

Ok honestly, how could someone be so amazing??? ;-) worked like a charm!
shrage
#4 Posted : Monday, 9 November 2009 2:29:02 PM(UTC)
Rank: Member

Joined: 9/11/2009(UTC)
Posts: 10

And your quick reply, wow that's amazing
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.