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

Notification

Icon
Error

How to move the GSP to another server
quang
#1 Posted : Monday, 28 June 2010 8:47:14 PM(UTC)
Rank: Newbie

Joined: 28/06/2010(UTC)
Posts: 1
Location: australia

I have successfully install the app on the local computer, however when I move it to the staging 2003 server i am getting an error: The resource cannot be found

Server Error in '/gallery' Application.


The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /gallery/login.aspx

my local URL is: http://localhost/gallery/default.aspx

Can any one please help?
Roger Martin
#2 Posted : Tuesday, 29 June 2010 2:47:38 AM(UTC)
Roger Martin

Rank: Administration

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

Recent versions of GSP do not have a login.aspx, so you are experiencing some kind of holdover from a previous version. Most likely the web.config file is specifying this page for logins (just like it used to). Refer to the latest web.config to see how current versions of web.config look and modify yours to be like it.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
dscoduc
#3 Posted : Friday, 20 August 2010 5:52:06 PM(UTC)
Rank: Member

Joined: 20/08/2010(UTC)
Posts: 5

Could you expand on the info about the latest versions not having a logon.aspx file? I would like to use URLRewrite to force SSL for logon but without a dedicated login page this isn't possible.

Thanks.

Chris
Roger Martin
#4 Posted : Saturday, 21 August 2010 12:25:39 AM(UTC)
Roger Martin

Rank: Administration

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

The only web page in GSP is the one that hosts the Gallery user control. In a default installation that means default.aspx. The source code uses lots of user controls that are loaded dynamically depending on the query string. One of these is the login.ascx user control.

Since GSP doesn't include a dedicated aspx page for login, I think what you need to do is create one. You can copy the contents of the existing login control (gs\pages\login.ascx). Then I believe you can use URL rewrite to sense a request to the login page (the query string will look like "default.aspx?g=login&ReturnUrl=XXXXXXX").

Roger Martin
Creator and Lead Developer of Gallery Server Pro
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.