PRB: Clicking on a CDF Does Not Bring Up Add Channel Wizard (174545)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01
  • Microsoft Internet Client SDK 4.0
  • Microsoft Internet Client SDK 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 <, </, <!--, &, or character data
And CDFTest.Exe reports the following:

REFERENCES

For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:

Modification Type:MajorLast Reviewed:5/11/2006
Keywords:kbprb KB174545