Search Persits Software Knowledge Base

 

Article PS01032723

The XUpload control has expired message occurs although a registered copy is installed on the server

Problem Description

A registered copy of XUpload is installed on the server, but XUpload on a client machine still displays the error

The XUpload control has expired. Please visit www.aspupload.com to purchase a copy that will not expire.

Solution

You must follow these steps:

1. Make sure you have downloaded and installed the registered version of XUpload from here:

http://support.persits.com/upgrade/upgrade.asp

2. Make sure you have copied the registered version of the file XUpload.ocx from the installed location (the default is Program Files\Persits Software\XUpload\Samples ) to the directory where your HTML pages are referencing it with the <OBJECT> tag . Usually, the file XUpload.ocx is placed in the same directory as the HTML files.

3. The client browser may have cached an old (evaluation) copy of XUpload and is unaware that a new (registered) copy is available for downloading from the server.

Remove the old version of XUpload.ocx from the browser's cache. In IE, go to Tools/Internet Options.../Setting/View Objects and remove Persits Software XUpload from the list. If you now open a page containing a reference to XUpload, the browser will attempt to download a new version of xupload.ocx from the server, and install it.

If you have a large number of client machines, you may want to force a new download rather than performing those steps manually on each machine. To force a new download, use the CODEBASE attribute of the <OBJECT> tag as follows:

<OBJECT WIDTH=500 HEIGHT=200
  ID="UploadCtl"
  CLASSID="CLSID:E87F6C8E-16C0-11D3-BEF7-009027438003"
  CODEBASE="XUpload.ocx#VERSION=3,0,0,0">
  ...
</OBJECT>

The browser examines the #VERSION portion of the CODEBASE attribute and if the currently installed version of XUpload is lower that the one specified by #VERSION, a new version will be downloaded from the server and installed over the old version. Make sure the #VERSION attribute always matches the actual version of xupload.ocx (which can be obtained by examining the file's Properties in Windows Explorer.)

Additional Comments

This article was originally written for versions 1.x and 2.x of XUpload. XUpload 3.0+ does not expire and therefore does not display the error message above. Instead, it occasionally displays a "nag" screen.

The recommendations of this article are still useful when upgrading your server from XUpload 1.x and 2.x to Version 3.0+.

Created: 2/8/2002 5:31:37 AM
Last Modified: 8/21/2006 12:26:15 PM

Copyright © Persits Software, Inc. 1998 - 2018
For technical support, write to support@persits.com.