Home All Groups Group Topic Archive Search About

ASP code actually showing on a page?



Author
10 Jul 2006 11:16 PM
Advo
I've been working on a page at work, which has been fine, yet when ive
come to try it at home, i load the page (the page loads fine) but i see
all the code etc that was hidden before. Any ideas?

example what i see at the top of the page:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% OPTION EXPLICIT %> <% 'dim
oCdoMsg, oCdoConfg, st

but i see tons more than that, basically all the code to the next %>

Author
11 Jul 2006 12:11 AM
Jeff Cochran
On Mon, 10 Jul 2006 23:16:59 GMT, Advo <x@x.com> wrote:

>I've been working on a page at work, which has been fine, yet when ive
>come to try it at home, i load the page (the page loads fine) but i see
>all the code etc that was hidden before. Any ideas?
>
>example what i see at the top of the page:
>
><%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% OPTION EXPLICIT %> <% 'dim
>oCdoMsg, oCdoConfg, st
>
>but i see tons more than that, basically all the code to the next %>

You have to open ASP pages through a web server, do you have IIS
installed at home?  If not you need to.

Jeff
Author
11 Jul 2006 3:40 PM
Katie
You might have an extra %>
i.e. you might have closed ure script so the rest of your code is being
used as html rather tahn the script

:)

Advo wrote:
Show quote
> I've been working on a page at work, which has been fine, yet when ive
> come to try it at home, i load the page (the page loads fine) but i see
> all the code etc that was hidden before. Any ideas?
>
> example what i see at the top of the page:
>
> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% OPTION EXPLICIT %> <% 'dim
> oCdoMsg, oCdoConfg, st
>
> but i see tons more than that, basically all the code to the next %>

AddThis Social Bookmark Button