ASP Tags Disappearing Act

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My site at http://westerndirectorycompany.com has both HTML and ASP pages. Some ASP pages are hand modified....however when these pages are opened in Front Page all of the ASP tags are gone leaving just the HTML tags.
I have searched all of the Front Page KBs without any success.

Why oh why does Front Page remove my ASP tags?

I Thank you most highly for your valuable time.
 
Why oh why does Front Page remove my ASP tags?

What version are you using? Earlier versions of FrontPage used WebBots to
create the ASP. If you modified the ASP outside of FrontPage and later
opened the pages in FrontPage, the WebBot would revert and change your code.
You could circumvent this by removing all "WebBot" tags from the page.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Ryzor said:
My site at http://westerndirectorycompany.com has both HTML and ASP pages.
Some ASP pages are hand modified....however when these pages are opened in
Front Page all of the ASP tags are gone leaving just the HTML tags.
 
Please post some brief "before" and "after" code snippets.

Alsp, please describe your setup. For example, are you
editing on a disk-based Web, a local Web server, a remote
Web server, or what? And if a remote Web server, what kind?

Also, it might be interesting to try some very simple test
cases. For example, if you:

1. Open a new blank Web page.
2. Make it contain:
<html>
<head>
</head>
<body>
<%=now()%>
</body>
</html>
3. Save it as test.asp.
4. Close it.
5. Open it.

What happens?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
-----Original Message-----
My site at http://westerndirectorycompany.com has both
HTML and ASP pages. Some ASP pages are hand
modified....however when these pages are opened in Front
Page all of the ASP tags are gone leaving just the HTML
tags.
 
basically any asp generated by Frontpage (eg the database results wizard or
interface wizard) cannot be altered and it will give you a warning to this
effect - if you modify the code then try to save the file, it will say (to
paraphrase) 'this is a frontpage component, changes won't be saved [Ok | Cancel]
'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top