# Installation and Upgrade Guide

# Advanced Configuration

This chapter provides instructions for editing advanced settings in the configuration file.

There are several advanced configuration settings that can be set in the configuration file Web.config. The default location is on the Windows Files CS host computer is C:\\bea\alui\ptntcws\6.1\Webapp\ntcws.

Note: | Only the parameters listed below should be changed in the Web.config file. Do not change any of the other parameters in the file.

1. Open Web.config in a text editor.
2. Windows Files CS keeps a log of errors and other information on the remote server. If a problem occurs with Windows Files CS, you might be directed by customer support to change the logging level from the default level of ERROR to DEBUG. To do so, find the text `<level value=”ERROR”/>` and change the value to DEBUG: `<level value=“DEBUG”/>`.

Note: | The default location of the log files on the remote server is: C:\bea\alui\ptntcws\6.1\Webapp\settings\logs.

3. If you do not want to use basic authentication information passed in the Basic Authentication headers for Windows Files CS content sources, but would rather specify a particular NT domain user to impersonate, find the text `<identity impersonate=“false”/>` and change the value to TRUE: `<identity impersonate=“true”/>`.

For more information on content source authentication, refer to the online help.

4. It is possible for crawl jobs that handle a very large number of documents to fail as a result of a session having timed out.

When you run a crawl, there are two sessions that are created: one for crawling folders and one for crawling documents.The folder session remains inactive while the document session is used to crawl all the documents in the folder. If you are crawling a folder with a very large number of documents, the folder session might exceed the default IIS session timeout of 80 minutes. When the portal attempts to hit this session that has timed out, the job fails.

If you encounter this problem, increase the IIS session timeout in Web.config and on the ntcws virtual directory in IIS. To increase the timeout value in Web.config, find the following text and increase the timeout value in the last line:

    <sessionState cookieless=”false”

    mode=”InProc”

    sqlConnectionString=”data source=127.0.0.1;user id=sa;password=”

    stateConnectionString=”tcpip=127.0.0.1:42424”

    timeout=”80”/>

Note: | To avoid having a large timeout setting, we recommend that you modify your directory structure such that there are not folders that have a large number of documents in them.

5. Save the file and restart IIS for the changes to take effect.