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, then go 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, find the line that defines the BASE_LOCATION key, and then 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 Find the <add key="IS_REMOTE" value="false"/> line, and then change the value from false to true.
5 Save the file, and then close it.
6 You might also need to change some settings in the Web.config file which is in the following folder:
[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.
7 Go to:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\Interviewer Server\Server\mrIWeb
8 Remove the Read-Only properties on the Web.config file, and then open the file.
9 Make whatever changes are necessary to ImageCacheURL and LocalImageCacheURL.
10 Save the file, and then close it.
11 To implement the changes, do one of the following:
▪Stop IIS, and then start it again.
▪Stop the UNICOM Intelligence Interviewer - Server application pool (usually SPSSmrInterviewPool), and then start it again. This has the advantage of not affecting any other applications that might be using IIS.
See