Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2002: FrontPage Modifies Code for Design-Time Controls


View products that this article applies to.

This article was previously published under Q322236
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/EN-US/) Description of the Microsoft Windows Registry

↑ Back to the top


Symptoms

If you create an Active Server Pages (ASP) page by using Design-Time Controls in a Microsoft Visual InterDev project, and you then open the page in FrontPage and save it again, FrontPage may remove or change the HTML code or ASP code for the controls.

↑ Back to the top


Cause

When you open a Web page in FrontPage, FrontPage reformats the code for all WebBot components that it finds in the Web page. Because the Design-Time Controls in Visual InterDev are based on FrontPage WebBot components, FrontPage reformats the code for those components also.

↑ Back to the top


Workaround

To work around this issue, use one of the following methods.

Method 1

Do not use FrontPage to edit pages that were created in Visual InterDev and that use Design-Time Controls.

Method 2

Modify the registry so that FrontPage cannot modify the properties of these Design-Time Controls. To do this, follow these steps.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
1.Quit all instances of FrontPage.
2.Start Notepad.
3.Type or paste the following text into Notepad:
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{B6FC3A14-F837-11D0-9CC8-006008058731}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{B5F0E46C-DC5F-11D0-9846-0000F8027CA0}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{CEB04D01-0445-11D1-BB81-006097C553C8}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{277FC3F2-E90F-11D0-B767-0000F81E081D}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{B5F0E460-DC5F-11D0-9846-0000F8027CA0}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{B5F0E450-DC5F-11D0-9846-0000F8027CA0}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{B5F0E45D-DC5F-11D0-9846-0000F8027CA0}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{705396F5-3471-11D1-B693-006097C9A884}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{8CC35CD6-E98B-11D0-B218-00A0C92764F5}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{8EA785B1-4738-11D1-B47C-00A0C959BB15}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{9CF5D7C2-EC10-11D0-9862-0000F8027CA0}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{58F3D268-FEDF-11D0-9C7F-0060081840F3}]
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\NewOpaqueControls\{61EAA0F0-4988-11D1-8C43-00A0C959BC0A}]
					
4.Save the file to your desktop as DisableDTCs.reg.
5.Quit Notepad.
6.Double-click the DisableDTCs.reg file on your desktop.
7.Click Yes if you are prompted to add the information to the registry.
NOTE: This change only applies to the currently logged-on user. On a shared-user computer, you must apply the registry settings for each FrontPage user.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

Design-Time Controls from Visual InterDev are specialized WebBot components that are based on FrontPage technology for inserting Web content when you are creating, saving, or browsing a Web page.

Changes to ASP Code

When you open pages that were created Visual InterDev with Design-Time Controls, FrontPage makes the following changes to the ASP code:
----------------------------------------
Name:   Button
CLSID:  B6FC3A14-F837-11D0-9CC8-006008058731
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   Checkbox
CLSID:  B5F0E46C-DC5F-11D0-9846-0000F8027CA0
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   FormManager
CLSID:  CEB04D01-0445-11D1-BB81-006097C553C8
Change: FrontPage makes minor reformatting changes
----------------------------------------
Name:   Grid
CLSID:  277FC3F2-E90F-11D0-B767-0000F81E081D
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   Label
CLSID:  B5F0E460-DC5F-11D0-9846-0000F8027CA0
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   Listbox
CLSID:  B5F0E450-DC5F-11D0-9846-0000F8027CA0
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   OptionGroup
CLSID:  B5F0E45D-DC5F-11D0-9846-0000F8027CA0
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   PageNavbar
CLSID:  705396F5-3471-11D1-B693-006097C9A884
Change: FrontPage makes minor reformatting changes
----------------------------------------
Name:   PageObject
CLSID:  8CC35CD6-E98B-11D0-B218-00A0C92764F5
Change: FrontPage removes several lines of code
----------------------------------------
Name:   PageTransitions
CLSID:  8EA785B1-4738-11D1-B47C-00A0C959BB15
Change: FrontPage makes minor reformatting changes
----------------------------------------
Name:   Recordset
CLSID:  9CF5D7C2-EC10-11D0-9862-0000F8027CA0
Change: FrontPage removes several lines of code
----------------------------------------
Name:   RecordsetNavbar
CLSID:  58F3D268-FEDF-11D0-9C7F-0060081840F3
Change: FrontPage adds <!--#INCLUDE FILE="_ScriptLibrary/EventMgr.ASP"-->
----------------------------------------
Name:   TimeLines
CLSID:  61EAA0F0-4988-11D1-8C43-00A0C959BC0A
Change: FrontPage makes minor reformatting changes
----------------------------------------
					
Some of the minor reformatting changes have little or no effect; the controls that have large sections of code removed no longer function.

Additional Information

For additional information about how to use FrontPage with Design-Time Controls, click the article numbers below to view the articles in the Microsoft Knowledge Base:
320487 FP2002: JScript Runtime Error '800a1391' Browsing ASP Page with Recordset and Grid Design-Time Controls
206059 FP2000: Design-Time Control Command Not Available
219561 FP2000: DTCs Do Not Preview Correctly

↑ Back to the top


Keywords: KB322236, kbnofix, kbbug

↑ Back to the top

Article Info
Article ID : 322236
Revision : 3
Created on : 2/1/2007
Published on : 2/1/2007
Exists online : False
Views : 307