...

View Full Version : linking problem



ernie
11-11-2003, 04:14 AM
Hi im trying to setup a register username/pass system and when i link to the register.asp file it just shows the .asp file in the same way a browser shows a .txt file.
Anyone know how to fix this or what im doing wrong?

**EDIT**
Ok so i hosted the .asp files on my school website, the site is asp capable and can host the files. Not i am gettin some error page shown below, please help.

aspproblem.jpg (http://www.angelfire.com/sk3/ernie/aspprob.jpg)

ngaisteve1
11-11-2003, 06:20 AM
Can the server support asp?

ernie
11-11-2003, 10:49 PM
yes

oracleguy
11-12-2003, 12:04 AM
It is an error with your code, specifically on the line mentioned in the error, my guess is that you are trying to use the mid function on a zero length string.

david_stev
11-13-2003, 11:54 AM
do you have

<%

%>

tags surrounding ALL your .asp

and a

<%@ Language=VBScript %>

at the top of the page

raf
11-13-2003, 12:21 PM
In short : can you post the relevant code (line 171 and what's around it) so we can see what happens + suggest some debugging tricks? Like printing the string to the screen to see if it is empty ?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum