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

Notification

Icon
Error

Admin Login Stops Working
telesites
#1 Posted : Wednesday, 25 May 2011 11:24:10 AM(UTC)
Rank: Member

Joined: 20/03/2011(UTC)
Posts: 4
Location: New York NY

Hello,

I searched the forum and could not find any other posts about this.

GSP was working fine but now I can no longer login. Looking at the SQL database the password is the correct one. Username is correct but we can no longer access the program backend. Frontend is working fine.

We are running several web sites on this server with GSP installed and all other appear to be fine - just this one cannot login. I have tried with several different browsers and still no access.

Compared Web.config to other web sites and nothing is wrong in there - nothing has really changed except we can no longer login.

Forgot password function is not working - when I enter the username I get:

"Cannot retrieve password
We were unable to access your information. Please try again."

Any suggestions would be appreciated.

We are running SQL 2005 - Windows 2003 64 bit - GSP 2.4.6
Roger Martin
#2 Posted : Wednesday, 25 May 2011 1:08:45 PM(UTC)
Roger Martin

Rank: Administration

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

Look for several instances of "applicationName" in web.config and make sure they are all the same. Then look up the ApplicationId for this name in the aspnet_Applications table. Finally verify the accounts in the aspnet_Membership and aspnet_Users tables belong to this application.

If possible, refer to a web.config backup from when the application was known to work and look for changes. There may be several causes, but my money is on something that changed in web.config.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
telesites
#3 Posted : Wednesday, 25 May 2011 3:10:46 PM(UTC)
Rank: Member

Joined: 20/03/2011(UTC)
Posts: 4
Location: New York NY

Helo again,

The only thing I could find that looks wrong was in the application table - a second line was entered somehow from a different GSP program from another web site running it as well. We are running a number of them on different web sites on the same server.

On the other sites there is only one line in the application table. I cannot delete the line as it has a dependency somewhere in aspnet_Roles

Should we have different application names for each one? - Gallery Server Pro1, Gallery Server Pro2, etc.

If so - how can we change this after GSP is already installed?

We only named the database differently. - Gallery1, Gallery2, etc.

===============

I am now able to login as Admin however I get the following:

"Insufficient permission
You are are not authorized to view any albums. Contact your administrator to request access."

Thanks again.
Roger Martin
#4 Posted : Wednesday, 25 May 2011 8:21:20 PM(UTC)
Roger Martin

Rank: Administration

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

Your new message indicates progress. Now open gs_Role and edit the record for System Administrator such that AllowAdministerSite=True. Then restart the web site and try again.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
telesites
#5 Posted : Wednesday, 25 May 2011 8:47:15 PM(UTC)
Rank: Member

Joined: 20/03/2011(UTC)
Posts: 4
Location: New York NY

Everything in there is true except "show watermark."

I think something got screwed in the crossover from one config to another somehow.

I am going to download the latest version - and start anew. I don't have that many images in the gallery as yet - so that may be the easiest thing to do.

Thanks for your time.
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.