FIX: Migrating Visual InterDev 1.0 ASPs to Visual InterDev 6.0

ID: Q215338


The information in this article applies to:
  • Microsoft Visual InterDev, versions 1.0, 6.0


SYMPTOMS

If you have Active Server Pages (ASP) pages that contain ActiveX Controls (<OBJECT>) with attributes that contain embedded ASP code, the embedded ASP code may become corrupted.

For example, ASP/HTML code that reads the following:


<OBJECT classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02" 
        id=Calendar1 style="LEFT: 0px; TOP: 0px" 
        codebase="<%=mycodebase%>"> 
Would be corrupted and look like the following:

<OBJECT classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02" 
        id=Calendar1 style="LEFT: 0px; TOP: 0px" 
        codeBase=&lt;%=mycodebase%&gt;
> 


CAUSE

The cause for this is a bug in the way the object tag information is parsed before it is stored.


RESOLUTION

The bug in the parser has been resolved in Internet Explorer 5. To fix this bug, install Internet Explorer 5.

If you cannot install Internet Explorer 5, there are currently two work arounds for this problem with Internet Explorer 4.

  • Typically, the embedded ASP code will be something like this:
    
    <OBJECT codebase = "<%=mycodebase%>"> 
    Modify that line to include a space between the % and the =, as in the following example:
    
    <OBJECT codebase = "<% =mycodebase%>"> 
    -or-


  • The parsing bug shows up when Always view as text is turned off. You can avoid the bug by selecting Always view as text.



STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords : kbASP kbCtrl kbVisID100bug kbVisID600bug kbGrpASP
Version : WINDOWS:1.0,6.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: May 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.