Virtual directory name: ExternalResources
You run a PowerShell function to set up the virtual directory.
The virtual directory is not overwritten when you redeploy the application.
Setting up the external resources virtual directory
By default, the external resources folder is mapped to the application's Shared Resources folder.
In Cora SeQuence V9.x, each deployed application has its own Shared Resources folder. This folder should be dedicated for application resources only.
To reduce the number of duplicate files and expedite deployment processes, it is recommended that you change the default location to a centralized location, and map all site applications to the centralized location.
Before you set up the ExternalResources virtual directory:
- Create the shared folder in your network or cloud storage service.
- Coordinate with your IT Administrator to make sure that the physical location exists and is accessible to the Application Pool Identity account.
- Run this PowerShell function: Set-CoraSeQuenceExternalResourcesLocation with relevant parameters.
- Open the ExternalResources folder in the IIS.
On opening the ExternalResources folder in the IIS an error is displayed if the Application Pool Identity account user is NOT added to the Credential Manager of the server.
Add the user to the Credential Manager by running the below script:
Important considerations for setting up the virtual directory.
|Azure Files and
|The Application Pool Identity account user that will access the virtual directory, needs to:
|The Application Pool Identity account user needs to be set as the "Connect As" user.
|For cloud implementations, you can set up the virtual directory on the Azure storage service only.
|The Application Pool Identity account user that will access the virtual directory, needs to be a domain user.
|The user that connects to the virtual directory from the Administration application needs read/write permissions.
|For on-premises implementations, you can only set up the virtual directory in the same domain.