Global Web Configuration Properties

A set of global properties is available for .NET Web Services.

Global properties are set in web.config, which is deployed to the ...\wwwroot\application_name folder by the .NET Web Service project. You cannot set global properties in script.

This table lists global properties that you can set for .NET Web Service targets:

Property Default value Description
LogFolder WebAppDir..\appName_root\log Folder that contains the PBTrace.log file.
FileFolder WebAppDir..\appName_root\file Base directory for the virtual file manager. It contains the File\Common directory structure and files that mirror paths for the application resource files on the development computer.

If you switch to Copy mode, a sessionID directory is created under the File\Session directory that mirrors the File\Common directory structure and file contents.

PrintFolder WebAppDir..\appName_root\print Base directory for files that your application prints in PDF format.
PBWebFileProcessMode Share Share mode maintains files in a read-only state when a write file operation is not explicitly coded. If an application requires multiple file operations, you might want to change this property setting to Copy mode.
PBCurrentDir c:\ Specifies the current directory for the Web Service.
PBTempDir c:\temp A temporary directory under the virtual file root on the server.
PBLibDir c:\~pl_ The directory on the server where dynamic libraries are generated.
PBDenyDownloadFolders c:\~pl_ A semicolon-delimited string of directory names.
PBTrace Enabled Indicates whether to log exceptions thrown by the application. Values are Enabled or Disabled.
PBTraceTarget File Defines where to log exceptions thrown by the application. Values are File or EventLog.
PBTraceFileName PBTrace.log Name of the file that logs exceptions thrown by the application. By default, this file is saved to the applicationName_root\Log directory under the virtual root directory on the server.
PBEventLogID 1100 The event ID if exceptions are logged to the EventLog.
PBDeleteTempFileInterval 600 (minutes) Sets the number of minutes before temporary files created by composite DataWindows are deleted. A value of 0 prevents the temporary files from being deleted.