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

ID: Q174545


The information in this article applies to:


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:

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, please see the MSDN Web Workshop:

http://msdn.microsoft.com/workshop/default.asp

Additional query words:


Keywords          : kbIE400 kbIE401 kbIE500 AXSDKIEAutomation AXSDKWebBrowser AXSDKMisc 
Version           : WINDOWS:4.0,4.01
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: April 29, 1999