Wait, how was the published .asp access? Go to path. double click?
or Setup virtual directory in IIS, open browser, enter http://computername/[virtual directory name]/[file name].asp? -Jian On Sep 13, 12:12 pm, Jian Huang <[email protected]> wrote: > That is good because you don't want tidy to mess with the published > code. > > Just want to check that on the published page, view source, and the > code is encoded from > > <!--RDExecute=ASP--> > <%=time()%> > > to > > <!--RDExecute=ASP--> > <%=time()%gt > > ? > > -Jian > > On Sep 13, 12:01 pm, Jonny Vickers <[email protected]> wrote: > > > > > > > > > It seems the project variant doesn't have tidy enabled :( > > > On Tue, Sep 13, 2011 at 4:43 PM, Jonny Vickers <[email protected]> > > wrote: > > > Yeah the extension is .asp > > > > I think tidy is enabled, I'll look into this a bit deeper now and try > > > switching it off. > > > > I'll let you know what I find. > > > > On Tue, Sep 13, 2011 at 4:27 PM, Jian Huang <[email protected]> > > > wrote: > > >> Is the page's extension .asp? > > > >> Also, tidy enabled? > > > >> On Sep 13, 11:21 am, Jonny Vickers <[email protected]> wrote: > > >>> Thanks for the swift response :) > > > >>> Yeah that's right. Had a feeling that was the case - can you think why > > >>> the output page would be displaying the asp code? When viewing the > > >>> source it seems to be encoding the output during publish. > > > >>> Regards, > > >>> Jonathan > > > >>> On Tue, Sep 13, 2011 at 4:14 PM, Jian Huang <[email protected]> > > >>> wrote: > > >>> > Hi Jonathan, > > > >>> > First, thank you for putting in the effort in the detail of the > > >>> > question. > > > >>> > I think you answered your own question. > > > >>> > RDExecute basically acts as preexecute, but only in non-publish mode > > >>> > because it is assumed that you want to run the code dynamically on the > > >>> > published web server, which is what you want. > > > >>> > So, #1? > > > >>> > -Jian > > > >>> > On Sep 13, 10:55 am, Jonathan <[email protected]> wrote: > > >>> >> Hi Guys, > > > >>> >> I am trying to add some simple asp to a web page in order to serve > > >>> >> some dynamic content up to the user. > > > >>> >> At the moment I have tried the following to get the asp firing on > > >>> >> page > > >>> >> load (simplified but shows the same problem): > > > >>> >> Method 1: > > > >>> >> <!--RDExecute=ASP--> > > >>> >> <%=time()%> > > > >>> >> This method outputs the time stamp when viewing within RedDot you'd > > >>> >> expect due to the RDExecute tags. However during publish, the asp is > > >>> >> being output on the page. Doh! > > > >>> >> Method 2: > > > >>> >> <!IoRangePreExecute><%=time()%><!/IoRangePreExecute> > > > >>> >> Again, fine within reddot. But it seems the asp is being executed > > >>> >> during publish and the output is a static one and not executed on > > >>> >> page > > >>> >> load :( > > > >>> >> Does anyone know of anyway of achieving what it i am trying to do? > > > >>> >> Few notes about current setup: > > > >>> >> - asp IS selected for active templates within the project variant. > > >>> >> - The file is being published as an .asp page > > > >>> > -- > > >>> > You received this message because you are subscribed to the Google > > >>> > Groups "RedDot CMS Users" group. > > >>> > To post to this group, send email to > > >>> > [email protected]. > > >>> > To unsubscribe from this group, send email to > > >>> > [email protected]. > > >>> > For more options, visit this group > > >>> > athttp://groups.google.com/group/reddot-cms-users?hl=en. > > > >> -- > > >> You received this message because you are subscribed to the Google > > >> Groups "RedDot CMS Users" group. > > >> To post to this group, send email to [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]. > > >> For more options, visit this group > > >> athttp://groups.google.com/group/reddot-cms-users?hl=en. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
