Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 925
Product
XFile
Version
2.1.6 and earlier
Title
WebClient.dll fails to register on Windows XP sp2
Problem

When instantiating XFile client-side on Windows XP clients with service pack 2 applied, the following error messages may be received.

For XFile Enterprise Edition:
SoftArtisans.XFRequestEE.1: 
Could not create instance of the WebClient. 
Make sure that the WebClient.dll has been registered.
For XFile Standard Edition:
SoftArtisans.XFRequest.1: 
Could not create instance of the WebClient. 
Make sure that the WebClient.dll has been registered.
Windows XP Service Pack 2 installs a new system dll named WebClnt.dll. This can cause a naming conflict with XFile version 2.1.6 and below, because XFile had a dll with the same name. The problem only occurs when the XFile's WebClnt.dll is installed on the client machine via a cab file/ active-x download.
Solution

This issue was resolved in version 2.1.7 of XFile. XFile's "WebClnt.dll" file is now renamed to "XFClnt.dll". The solution is to upgrade to this version or higher.

A few notes on upgrading:
  • If you are distributing the cab file that is signed by SoftArtisans, simply change out the cab file with the new version.

  • If you have signed your own cab file, then you will need to sign a new cab file on your web server containing the updated dlls and edit your xfile.inf file to reflect the dll name change.

  • In either case, force an automatic client upgrade by adding or updating the version number in the codebase attribute of your HTML <OBJECT> tag. For more details on how this is done, please see the following KB article, Upgrading SoftArtisans XFile on the Client.
Created : 9/10/2004 10:48:46 AM (last modified : 9/10/2004 10:48:46 AM)
Rate this article!
 
Comments