Skip to main content
Inspiring
October 5, 2007
Answered

How do i add recordsets to a .dwt.asp-generated page

  • October 5, 2007
  • 3 replies
  • 560 views
help - i am at wits end.....

below is code for a page (test3.asp) based on a template called "catalogue.dwt.asp". i need various recordsets on various pages based on this template. f i try to add a recordset to test3.asp, i'm told "making this change would involve changing cose that is locked by a template or translator" - so i cant add the recordsets (tho interestingly you can see that i did manage to somehow add two recordsets at the outset before it started saying this.

if i try to add the recordsets to the template (which is not the way i want to do it anyway), i'm told i've added code outside the html tag and wont be copied unless i add <!--TemplateInfoOutsideHTMLIsLocked-->

i have bvuilt plenty of other sites where i DONT have this issue so DW/me must be coding something different sometimes - bottom line is - how do i get to having a .dwt.asp temaplte which i can build other pages from, and then add relevant recordsets to.

i would be DEARLY GRATEFUL for anyone who can help me put this perennial problem to bed.

thanks in advance:

Code attached
This topic has been closed for replies.
Correct answer russelli
thanks for replying, i'll try reboot

3 replies

Inspiring
October 6, 2007
> Funny, I have never seen anyone report this. And I've worked with DW and
> recordsets in template child pages for a mightly long time, and never
> experienced it. On the other hand, it's always a good idea to restart
> your system when things like this happen. You never know what could be
> interfering.



Murray, you must be blessed... I run into it at least once a week. I pulled
my hair out for a long time trying to figure out what caused it, now I just
just curse one time, then restart.

russelliAuthor
Inspiring
October 7, 2007
thanks for the help. appreciated.
Inspiring
October 6, 2007
Funny, I have never seen anyone report this. And I've worked with DW and
recordsets in template child pages for a mightly long time, and never
experienced it. On the other hand, it's always a good idea to restart your
system when things like this happen. You never know what could be
interfering.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Ed Stewart" <edstewart@cox.net> wrote in message
news:fe80k0$4tb$1@forums.macromedia.com...
>> below is code for a page (test3.asp) based on a template called
>> "catalogue.dwt.asp". i need various recordsets on various pages based on
>> this
>> template. f i try to add a recordset to test3.asp, i'm told "making this
>> change
>> would involve changing cose that is locked by a template or translator" -
>> so i
>> cant add the recordsets (tho interestingly you can see that i did manage
>> to
>> somehow add two recordsets at the outset before it started saying this.
>>
>> if i try to add the recordsets to the template (which is not the way i
>> want to
>> do it anyway), i'm told i've added code outside the html tag and wont be
>> copied
>> unless i add <!--TemplateInfoOutsideHTMLIsLocked-->
>>
>> i have bvuilt plenty of other sites where i DONT have this issue so DW/me
>> must
>> be coding something different sometimes - bottom line is - how do i get
>> to
>> having a .dwt.asp temaplte which i can build other pages from, and then
>> add
>> relevant recordsets to.
>>
>> i would be DEARLY GRATEFUL for anyone who can help me put this perennial
>> problem to bed.
>
>
>
>
> It's a bug. Close and re-open DW and your templated page will accept the
> RS without squawking.


russelliAuthorCorrect answer
Inspiring
October 7, 2007
thanks for replying, i'll try reboot
Inspiring
October 6, 2007
> below is code for a page (test3.asp) based on a template called
> "catalogue.dwt.asp". i need various recordsets on various pages based on
> this
> template. f i try to add a recordset to test3.asp, i'm told "making this
> change
> would involve changing cose that is locked by a template or translator" -
> so i
> cant add the recordsets (tho interestingly you can see that i did manage
> to
> somehow add two recordsets at the outset before it started saying this.
>
> if i try to add the recordsets to the template (which is not the way i
> want to
> do it anyway), i'm told i've added code outside the html tag and wont be
> copied
> unless i add <!--TemplateInfoOutsideHTMLIsLocked-->
>
> i have bvuilt plenty of other sites where i DONT have this issue so DW/me
> must
> be coding something different sometimes - bottom line is - how do i get to
> having a .dwt.asp temaplte which i can build other pages from, and then
> add
> relevant recordsets to.
>
> i would be DEARLY GRATEFUL for anyone who can help me put this perennial
> problem to bed.




It's a bug. Close and re-open DW and your templated page will accept the RS
without squawking.