Installing Server > Installing UNICOM Intelligence Interviewer - Server > Post-installation tasks for UNICOM Intelligence Interviewer - Server > Things you must do > Setting up the image cache on Web Service computers without direct access to FMRoot
 
Setting up the image cache on Web Service computers without direct access to FMRoot
When the Web server cannot access FMRoot you must configure the Web server's image cache application to connect to the Accessories server's image cache application, which in turn goes to the FMRoot folder and selects images from the project folders. Perform the following steps on all computers running the Web Service:
1 On each Web Service computer, open Windows Explorer and browse to:
C:\InetPub\wwwroot\SPSSMR\\ImageCache
2 Remove the Read-Only properties on the Web.config file and then open the file.
3 In the <appSettings> section, locate the line that defines the BASE_LOCATION key and change the key's value so that it points to the Accessories server:
<add key"BASE_LOCATION" value="http://AccServer/SPSSMR/ImageCache/ImageCache.aspx">
4 Locate the line <add key="IS_REMOTE" value="false"/> and change the value from false to true.
5 Save and close the file.
Depending on how the system is configured, you might also need to change some settings in Web.config in:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\Interviewer Server\Server\mrIWeb
The file contains these settings for the Image Cache:
ImageCacheURL. Defines the URL that the respondent's browser uses to reference the image cache on the Web tier.
Full URL:
<appSettings>
<add key="ImageCacheURL" value="http://WebServer/SPSSMR/ImageCache/ImageCache.aspx"/>
</appSettings>
Relative URL:
<appSettings>
<add key="ImageCacheURL" value="../ImageCache/ImageCache.aspx" />
</appSettings>
This URL needs to be accessible from a computer outside the Web tier; that is, on a computer other than the one on which respondents will take surveys. You can test this by opening a browser on a computer that represents your respondents' computers and accessing this URL.
LocalImageCacheURL. Used only if the local computer cannot access the ImageCacheURL when run locally.
<appSettings>
<add key="LocalImageCacheURL" value="http://localhost/SPSSMR/ImageCache/ImageCache.aspx"/>
</appSettings>
The LocalImageCacheURL must be accessible from the local computer. You can test this by opening a browser on the Web server and accessing the URL. If the URL set by the installer cannot be accessed from the local computer you might need to replace the computer name with a fully qualified domain name or an IP address.
6 Browse to:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\Interviewer Server\Server\mrIWeb
7 Remove the Read-Only properties on the Web.config file and then open the file.
8 Make whatever changes are necessary to ImageCacheURL and LocalImageCacheURL.
9 Save and close the file.
10 Stop and restart IIS to implement the changes. If you are running Windows Server 2003 or 2008, you can stop and restart the UNICOM Intelligence Interviewer - Server application pool (usually SPSSmrInterviewPool) rather than restarting IIS if you prefer. This has the advantage of not affecting any other applications that might be using IIS.
See
Things you must do