Microsoft KB Archive/174545

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 12:30, 21 July 2020 by X010 (talk | contribs) (Text replacement - "&" to "&")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Article ID: 174545

Article Last Modified on 5/11/2006



APPLIES TO

  • Microsoft Internet Explorer 4.0 128-Bit Edition
  • Microsoft Internet Explorer 4.01 Service Pack 2
  • Microsoft Internet Client Software Development Kit 4.0
  • Microsoft Internet Client Software Development Kit 4.01



This article was previously published under Q174545

SYMPTOMS

Clicking on a .cdf file does not launch the "Add Channel" wizard, which prompts the user to either add the channel to the channel bar, or subscribe to the channel.

CAUSE

This is usually caused by errors in the .cdf file, such as forgetting an END tag or having an extra '/' or missing '>' and so on.

RESOLUTION

Be sure to run two Internet Client SDK tools, Cdftest.exe or Xmlint.exe, on your .cdf file before making them available on your server. This ensures that your files are completely free of errors.

MORE INFORMATION

CdfTest is a tool available in the Internet Client SDK (under \Inetsdk\Bin\Cdftest\Cdftest.exe) that takes a .cdf file and verifies its structure and syntax. It finds and reports mistakes such as missing end tags as well as incorrect or misspelled tags.

XMLint is a tool also available in the Internet Client SDK (under \Inetsdk\Bin\Xmlint\Xmlint.exe) that checks whether an input file (or URL) is a well formed XML file; that is, it follows all the grammar rules of XML, such as forgetting an END tag or having an extra '/' or an extra '>'.

Assuming there are no errors in the CDF file, the following is true:

  • CDFTest.Exe reports "No errors."
  • XMLint.Exe reports "XMLint.EXE : XML File is well formed"

If, for instance, there's a missing </CHANNEL> tag in a CDF file, XMLINT.EXE reports the following:

XMLINT.EXE : Error on line 29. Found end of file while expecting <, </,