Re: ASP FIles Uncoding.

From: Ahmad Arsalan (ahmad.arsalan@eintelligencesoft.com)
Date: 04/22/03


From: "Ahmad Arsalan" <ahmad.arsalan@eintelligencesoft.com>
Date: Tue, 22 Apr 2003 16:52:13 +0500


Yes, that worked before encoding.

The Error Message is :
Active Server Pages, ASP 0141 (0x80004005)
The @ command can only be used once within the Active Server Page.
/CNCTTracking/Enc/Header.asp, line 1

That is because Encoding Automatically add

<%@ LANGUAGE = VBScript.Encode %> at start of every page and I am including
different pages in my one page ( through out the application ... header,
footer, scriptsfile etc .. ). Is there any way to not to add this script
line at the top of file ( after encoding ) .. or what should i do

Regards,
Ahmad Arsalan.

"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:b7op5f$2fp5@kcweb01.netnews.att.com...
> "Ahmad Arsalan" <ahmad.arsalan@eintelligencesoft.com> wrote in message
> news:Oy$tKXZBDHA.33376@TK2MSFTNGP10.phx.gbl...
> > Hello there,
> >
> > I have downloaded ASP file encoder utility from MSDN Web site.
> >
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/ht
> > ml/seUsingScriptEncoder.asp
> >
> > I have encoded asp file using this utility, but when i treied to view
> those
> > files using iis server, i am getting the error
> >
> > The page cannot be displayed
> > There is a problem with the page you are trying to reach and it
> cannot
> > be displayed.
>
> Did it work before you encoded it? We need to know the "real" error
> message - start here:
> http://www.aspfaq.com/show.asp?id=2109
> http://support.microsoft.com/?id=311766
> http://support.microsoft.com/?id=309051
>
> --
> Tom Kaminski IIS MVP
> http://www.iistoolshed.com/ - tools, scripts, and utilities for running
IIS
> http://mvp.support.microsoft.com/
> http://www.microsoft.com/windowsserver2003/community/centers/iis/
>
>
>