Errors

Refreshing Cache Gives an Error

Error:
'Refreshing site cache failed. Click 'Retry' to retry refreshing site cache or click 'Cancel' to return to Home'
 
Symptoms:
The error can occur with refreshing the site cache or preview functionality in the Sana Commerce backoffice.
 
Solution:

Check if anonymous access to 'PublishWebService.asmx' web service is allowed in IIS:

Step 1: Open IIS Manager on your production server.

Step 2: Select your project website.

Step 3: Open the 'Management' folder.

Step 4: Select the 'PublishWebService.asmx' file and then select it's properties.

Step 5: On the 'File Security' tab there is the 'Authentication and access control' option available. Click the 'Edit' button.

Step 6: By default the 'Enable anonymous access' option is disabled. You need to enable it by selecting the check box:

 
Allowing Anonymous Access in IIS

Related to:
All scenarios