UltraTax CS: Receiving sharing violation error when trying to install application or to open a client

Alerts and notices

You may receive an error message such as "Cannot delete file: Access is denied" or "The file is in use by another program or user" or "Make sure the disk is not full or write-protected and that the file is not currently in use" when trying to install applications or open a client.

There may be multiple reasons for these sorts of error messages. Here is a common list troubleshooting steps you may want to consider.

  • Permission Level: Verify that you have full access to the location / resource you are installing your application or from which you are accessing the data. Many times you will receive Access Denied or Sharing Violation errors when attempting to write to location to which you do not have access. Check with your network technician with regard to the permissions setup on your network.
  • Server Locks: Many times when you install an application that is attempting to override a number of files on your share / network, if those files that are marked to be overridden / replaced with a new version are locked or are in use by another application, you will receive the following error: Sharing Violation, the file is in use by another application and the installation process will stop.

    A common reason for files getting locked on the server is due to the application crashing. If you are opening a client or installing an application and are unable to access a specific file mentioned by the error message, you may want to consider the following:

    • Restarting the application server where the file is located. Restarting the server should release any of the open files that did not clear due to various reasons such as network settings (opportunistic locking / file caching) or application crashes.
    • Use the Server's Computer Management Tool to verify currently open files and disconnect improperly locked files. Check with your network technician when performing this step.
  • Network related issues: Occasionally you may receive Sharing Violation errors due to network misconfiguration.
    • File Caching / Opportunistic Locking is an operating system setting which could contribute to network-related issues. Check with your network technician if your network has File Caching disabled. See Opportunistic Locking or File Caching and the CS Professional Suite for more information.
    • Disk Quotas if enabled could also be a contributing factor as to why suddenly you may not have enough access privilege to your network resource when installing applications. Check with your network technician if you have Disk Quotas Management enabled and potentially increase the quotas assigned to you. For more information on Disk Quota Management, refer to Microsoft Knowledgebase http://support.microsoft.com/ and search for Disk Quotas.
  • Client list issues: If the file that contains the client information for a client becomes corrupt, rebuilding the client list file may reset the file.

    To rebuild the CltList.WTY file:

    1. Navigate to X:\WinCSI\UTYYData\ and rename the CltList.WTY file to CltList.old; where Y = Year.
    2. Next, choose Help > Repair and click Rebuild Client List. The time for the process to complete will depend upon your system and the size of your client base.

Internal notes


Support:

  1. Have our user sit at the server that's hosting the data.
  2. Right-click on My Computer and select Manage.
  3. In Computer Management, expand Shared Folders and click Open Files.
  4. Here you will be able to view all open files including CS Application files and see which user is either in the program or just have a locked file that our user can disconnect by right-clicking on the file and choosing Disconnect.