User Session Restarts the First Time Cpshost.dll Is Loaded into Memory

ID: Q215498


The information in this article applies to:


SYMPTOMS

When Cpshost.dll is loaded into memory for the first time, the user's session is restarted. It appears to the user that the upload has failed, when it has actually succeeded.


CAUSE

The session is restarted when the following conditions are true:

  • It is the first time Cpshost.dll is loaded into memory.


  • The file-upload is successful.


  • The directory in which the file-upload form exists is below the root of the Web. (for example, you execute a form from http://computer/upload and the physical directory corresponding to it is c:\InetPub\WWWRoot\Upload.



  • RESOLUTION

    To resolve this problem, install the latest service pack for Site Server 3.0.


    WORKAROUND

    Create an upload directory that is a "true" virtual directory in which the physical directory does not exist below the root of the Web site. For example, if the Web site's root is c:\InetPub\WWWRoot, do not make the upload directory a subdirectory of that root. Separate them completely to something like c:\InetPub\Uploads and make the physical directory "Uploads" a virtual directory on the Web site.


    STATUS

    Microsoft has confirmed this to be a problem in Microsoft Site Server version 3.0. This problem has been corrected in the latest U.S. service pack for Microsoft Site Server version 3.0. For information on obtaining the service pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

    S E R V P A C K

    Additional query words:

    
    Keywords          : SS3SP2Fix 
    Version           : winnt:3.0
    Platform          : winnt 
    Issue type        : kbbug 

    Last Reviewed: March 26, 1999