Introducing a new Customer Center experience Learn more

What to do when I get an error “Unable to upload file” or “Access to the path c:\temp\... is denied” when saving a document to SuperOffice CRM?

I use SuperOffice Web Tools. When I try to save a document to SuperOffice CRM, but I get an error: “Unable to upload the file”.

Error 'SoException: Error 'UnknownError' on Server: Access to the path
'C:\temp\SoWebExtensions.Streams\9d0ac61a01bb4daf9477f9efb9c0ddbc' is denied.'

SoServerErrorException: Access to the path 'c:\temp\SoWebExtensions.Streams' is denied'.

Why does it happen and how do I fix it?

 

The error message indicates that one of the Windows users accounts that SuperOffice installation is using, does not have sufficient permissions to modify Temp and SO Arc folders.

Please follow these troubleshooting steps to find out which is the user and the area that is causing the problem:

Step 1. Find which Windows users are used by your SuperOffice installation

Step 2. Make sure these users have "Modify" rights on the SuperOffice folders

 

Find which Windows users are used by your SuperOffice installation

There are two Windows users, which you need to check. One that is used as an Impersonate user and the one which is used in the SuperOffice site in IIS.

To find an Impersonate user, please follow the steps below:

  1. Open the SuperOffice web (or NetServer if it is installed separately) product configuration app, which can be found in the SuperOffice server. 
     
  2. Navigate to the section called AD integration (1) and click on the Validate (2) button. That should generate a notification of successful user authentication (3).

To find a user used in IIS, please follow the steps below:

  1. Select a SuperOffice site (1) and then click on Basic settings (2).


     
  2. Find which Application Pool (1) is being used by this site.


     
  3. Then click on the Application pool (1) section, find and select the application pool used by the SuperOffice site (2) and click Advanced settings (3).


     
  4. In the Advanced Settings dialog, find the Identity property listed under the Process Model heading. If the SuperOffice site uses the ApplicationPoolIdentity (default), that means SuperOffice has no dedicated service account for the site. The Windows user will have the name "IIS APPPOOL\crm.libery.com". Note that it is different for every site and in this case the name of the AppPool is crm.libery.com.



Make sure these users have Modify rights on the SuperOffice folders

You need to make sure that the users that you found in the first step have modify rights on the "SO Arc" and "Temp" folders.

To do it please follow the steps below:

  1. Open the SuperOffice web (or NetServer if it is installed separately) product configuration app, which can be found in the SuperOffice server. 
     
  2. Navigate to the chapter called Document archive (1) and make a note which paths are used for Archive and Temporary Path fields (2).


     
  3. Then navigate to these locations on the server, right-click on the folder and select the Security tab.


     
  4. You need to find one of the identities below, and it needs to have the Modify permission on the folder:
  • The app-pool user
  • "Users" group
  • "Everyone" group

Note!

  1. If you cannot find any of the users listed above, you need to add it and give the required permissions.
     
  2. Please make sure to lookup in the correct directory when adding the user:


More information

FAQ: What to do when I cannot open a document in SuperOffice CRM?