lchurch
Posts: 20
|
Posted: 10/04/2011, 11:25 AM |
|
I have a small application with a security login and on my local test server everything worked fine, with the application routing to the correct form after a login. Now I have deployed it, and there are two oddities:
1. If I put in the address of the destination form, the browser navigates to a local host location and reports a 404 error. On my in-house sever, calling for the destination form automatically rerouted to login form.
2. After tapping submit on the login, after putting in a good userid and password, the form clears but stays on the screen. It does not navigate to the required destination form. I can however, manually change the address to the destination form and it loads perfectly.
Is there something wrong with the server settings?
|
|
|
Cris
Posts: 78
|
Posted: 10/04/2011, 12:12 PM |
|
Quote lchurch:
I have a small application with a security login and on my local test server everything worked fine, with the application routing to the correct form after a login. Now I have deployed it, and there are two oddities:
1. If I put in the address of the destination form, the browser navigates to a local host location and reports a 404 error. On my in-house sever, calling for the destination form automatically rerouted to login form.
2. After tapping submit on the login, after putting in a good userid and password, the form clears but stays on the screen. It does not navigate to the required destination form. I can however, manually change the address to the destination form and it loads perfectly.
Is there something wrong with the server settings?
Yes
Hi if your localhost ( your home server) will return a 404 error maybe you have windows xp and your virtual include are like these :
<!-- #INCLUDE VIRTUAL="/Common.asp"-->
Remember that the Server URL and Server Path need to be the same . For example :
C:\inetpub\wwwroot\your_website http://localhost/your_website
When you publish your project (normally on Windows 2003 or 2008) it will be like this :
( server root path ) normally is C\inetpub\wwwroot\Your_website
lhttp://ocalhost
all this on the settings from your CodeCharge STudio
Regards
_________________
------
Cristiano
Skype: cris-do
|
|
|
lchurch
Posts: 20
|
Posted: 10/04/2011, 2:19 PM |
|
Here are my settings in CCS:
server: ftp://mysite.com
Path/folder: /mysite.com/applfolder
live site URL: http://mysite.com/appfolder
I can launch the app by typing this address: http://mysite.com/appfolder/login.aspx
the actual path on the server (hosted) is
\inetpub\wwwroot\appfolder
Is there something i need to change?
|
|
|
Cris
Posts: 78
|
Posted: 10/05/2011, 1:20 AM |
|
Quote lchurch:
Hi,
Try adjusting your settings like this:
SERVER PATH : \inetpub\wwwroot\appfolder
SERVER URL : http://localhost/
ad let me know
_________________
------
Cristiano
Skype: cris-do
|
|
|
|