Microsoft Knowledge Base Email Alertz

(918778) - Discusses a scenario in which code in ASP pages is removed or ASP pages are not updated when you attach or update a Dynamic Web Template. This issue occurs if the code is located before the

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 918778 - Last Review: October 15, 2007 - Revision: 1.6

Code in an ASP page is removed, or an ASP page is not updated when you attach or change a Dynamic Web Template in SharePoint Designer 2007

SYMPTOMS

You experience one or more of the following symptoms when you work with Dynamic Web Templates and with ASP pages in Microsoft Office SharePoint Designer 2007:
  • You attach a Dynamic Web Template to an ASP page. When you view the ASP page, you notice that some code in the ASP page has been removed. You do not receive a warning message before the code is removed from the ASP page.
  • You attach a Dynamic Web Template to an ASP page, and then you change some code in the Dynamic Web Template. When you view the ASP page, the ASP page is not updated with the changes that you made to the Dynamic Web Template. You experience this symptom even though SharePoint Designer 2007 displays a message that states that the ASP page is updated.

CAUSE

This problem occurs if one of the following conditions is true:
  • Code is located before the <html> tag or in the <head> tag in the ASP page.
  • Code is located before the <html> tag in the Dynamic Web Template.
If code is located before the <html> tag in an ASP page, this code is removed when you attach a Dynamic Web Template to the ASP page. When this occurs, notice that code in the DOCTYPE element is not removed. If code is located in the <head> tag in an ASP page, this code is removed when you attach a Dynamic Web Template to the ASP page.

If you change or add code that is located before the <html> tag in a Dynamic Web Template, the ASP page is not updated with these changes when you attach the Dynamic Web Template to an ASP page.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about how to work with Dynamic Web Templates in SharePoint Designer 2007, click Microsoft Office SharePoint Designer Help on the Help menu, type dynamic Web template, and then click Search to view a list of relevant topics.

APPLIES TO
  • Microsoft Office SharePoint Designer 2007
Keywords: 
kbexpertiseinter kbpending kbbug kbasp kbtshoot KB918778
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate