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

Last reviewed: January 19, 1998
Article ID: Q174545
The information in this article applies to:
  • Microsoft Internet Explorer (Programming), versions 4.0, 4.01
  • Internet Client SDK, versions 4.0, 4.01

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:

   Error: file:/__tmp__.cdf(28,0)
   Context:  - <null> - <CHANNEL>
   com.ms.xml.parser.ParseException: Expected the end of root element
                                    instead of end of file.

REFERENCES

Internet Client SDK documentation

Keywords          : AXSDKIEAutomation AXSDKWebBrowser AXSDKMisc
Technology        : kbInetDev
Version           : WINDOWS:4.0,4.01
Platform          : WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.