Release 6.1: Troubleshooting Tips
iDatix and iSynergy transitioned to DocuPhase
File locations have moved from iSynergy and iDatix references.
Release 6.0 and Earlier
Release 6.1 and After
32-bit vs. 64-bit Transition
Email Integration
Upload Email
Docuphase server web.config
HTML5 Viewer Email
Dataservice web.config
- Hold the Ctrl key and right click on the Outlook Icon in the system tray
- Select “Test E-mail Auto Configuration” from the menu
Type in an email address located on the desired Exchange server and the password for that account
- Click Test
- The URL is listed as 'Availability Service URL'
Exchange Server settings:
-
The service account running the Data Service needs to have full control over the mailboxes in that exchange server.
**The web says that you should be able to get it work by giving it SendAs permissions, but it did not work for me. This could be server specific.
The web server needs to be given permission to relay messages. This is done from the admin side of the exchange server
Verify that you can log into that exchange server with that user’s email that is noted in the docuphase user profile (you can do this by adding OWA to the end of the URL. Example: https://mail.mailservice.com/owa). Some times we may need to have the “fully qualified email”. For example, a client uses emails like [email protected] and if you send an email to that address the user will get it. However, if you try to log in to the outlook portal (OWA) with that address, it does not work. It will work with [email protected]. Once I updated the user’s profile to reflect that, I was able to send emails.
Document Caching
Use Viewer Console to view status of cache
First configuration file location
C:\ProgramData\DocuPhase\DocuPhase Service\ViewerCacheServiceConfig.xml
Second configuration file location
C:\Program Files\DocuPhase\Data Service\Web.config
Use the web.config file located in the DataService installation folder to make adjustments that affects the DataService instance
To perform changes to the settings mentioned above and exposed by the Viewer console the administrator should adjust the following entries:
Use the ViewerCacheServiceConfig.xml file(s) located in the DocuPhase Service installation folder to make adjustments to the HTML5 Viewer Cache plugin
As mentioned earlier, it is recommended that the ability to validate and perform cache adjustment be disabled in the DataService by setting the “DocuPhase Viewer Cache.CacheMaxSizeGB“ entry in the web.config to zero or an empty string.
Plugin documentation and how to perform the adjustments.
Service is started under the DocuPhase Service as a service plugin
When the service starts up it attempts to load a configuration file for the service plugin
The configuration file is typically located at C:\ProgramData\DocuPhase\DocuPhase Service\ViewerCacheServiceConfig.xml
If the service cannot find the configuration file, it generates one with default settings'
When the configuration is loaded the service "goes to sleep" until it is activated by the DocuPhase service to perform its work
-
On a timer interval (default is 7200 seconds) the service activates and performs the following activities:
Loads the default configuration - in case there were changes to the configuration file settings since last run
Creates a connection to the Security service to get a security token which is used to make subsequent secured service calls
-
Loops through up to 10 data services performing the following:
-
Calls the data service and retrieves the cache configuration values
If the call to the data service fails for some reason, default configuration values are used
-
Checks to make sure the data service is up
-
If data service is up
Gets a cache snapshot from the data service instance
Loads cache snapshot into service local memory
-
If data service is not up
Loads cache from the database into service local memory for the data service instance
-
-
Creates a new instance of LeadTools FileCache and points the FileCache to the cache directory (either from the data service or from the default configuration)
Checks cache max size configuration setting and if this is set, computes the maximum allowable size of the cache in bytes
-
Checks the Cache and reconciles cache on disk if required by:
enumerates through cache directory and gets a listing of cached items
Gets the size of the cache directory
Checks the cache policies on the individual cached items to determine if any should be removed - this is performed by LeadTools.FileCache
Gets the size of the cache directory again
Compares the size of the cache directory before and after the LeadTools cache policy check
-
If the size is different - meaning that LeadTools pruned the cache, then:
compares current list of cached items to original list (created in step a) - and removes items from original list that were removed
if the data service is up performs a DataService cache sync operation
if the data service is not up, adds to an in memory list tracking which documents have been purged or deleted
-
If the cache max size configuration setting is > 0
Checks to see if the cache on disk is within the CacheSizeThresholdPercentage
-
If cache on disk is larger than the threshold Purge the cache by:
Get the sub directories in the disk cache directory order by the creation time (this puts oldest first)
For each document delete from the cache until the cache threshold is met
Compares current list of cached items to original list (created in step a) - and removes items from original list that were removed
if the data service is up performs a DataService cache sync operation
if the data service is not up, adds to an in memory list tracking which documents have been purged or deleted
If the cache was reconciled and the data service instance is down, the cache is saved to the database for this instance
After all data services have been processed, service goes to sleep
If the system administrator configures the service to run at an interval of less than 2 hours, warning messages will be logged. Changing the settings to run at a shorter time interval has the potential to cause contention between the HTML 5 Viewer and the HTML 5 Viewer Cache Service. Caution must be exercised when changing the service interval to less than 2 hours.
If the system administrator configures the data service to use a cache directory that is inaccessible (security or network inaccessible), by the HTML 5 Viewer Cache Service then the HTML 5 Viewer Cache service will not be able to clean up the cache.
HTML5 Viewer vs Legacy Viewer
Local vs Server
The Legacy Viewer is a client side install program, while the HTML5 Viewer is only installed on the server itself
The Legacy Viewer is only available with the IE browser, while the HTML5 Viewer is available in all browsers
The HTML5 Viewer installation itself, as well as how it appears on the server when installed, is actually under the name “DocuPhase Viewer”
How to change viewers
What processes document requests and where to find Viewer errors
Legacy Viewer
-
The Document Server continues to act as the sole processor for all document requests via the Legacy Viewer
Should issues occur, we need to health check its application pool
The ImageService is no longer utilized as the associated LightWeight Viewer has been replaced with the HTML5 Viewer
-
Legacy Viewer errors continue to be reported in one of two places:
DocumentServer.log, available on the server under C:\ProgramData\DocuPhase\Tracelogs
- ViewerLogFile.log, available via accessing the configuration icon in the Viewer itself
-
The new DataServices is the sole processer for all HTML5 Viewer requests
Should issues occur, we need to health check its application pool
-
HTMLViewer errors are reported in one of two places:
-
DataServerice.log, available on the server under C:\ProgramData\DocuPhase\Tracelogs
All document related activity is reported through this log
-
DocuPhaseViewer.log
- This would be specific issues with the viewer itself, separate from document actions
-
We communicate with the DocuPhase Server to obtain the connected ScanDox workstations
We evaluate the connection information against the requesting machine to ensure it is a valid ScanDox station
We then communicate with the local Upload Service, via SignalR – also used by Progression for communication – to send a request to launch ScanDox and load the selected document.
When the document is modified and sent back to the server from ScanDox, a request is set to the viewer to reload the current document.
-
The DocuPhaseServer.log on the server will contain the list of machines connected to ScanDox
It will also list if there are problems connecting to a given machine
- The Local ScanDox workstation will report issues in the UploadService.log
Analytics
-
Analytics is now a 64bit install like other DocuPhase products.
There is now a ProgramData\DocuPhase Analytics folder with the pertinent a Analytics information stored there.
This means uninstalls and re-installs no longer overwrite this data.
-
There is a new pre-shared key that must exist in the DocuPhase Server web.config
This file is in the ProgramData\DocuPhase Analytics folder
If you uninstall/change analytics, you will need to regenerate and ensure the new key is in the DocuPhase Server web.config
Doing so will also force a reset of the system
Additional Changes / Information
-
Annotation controls in the HTML Viewer are now toggle controlled
Click once to use
Click again to turn off
-
The Toggle is maintained as you move from page to page within a document as well as when you move from one document to the next.
This allows a user to apply the same annotation, much like you could with Rubber stamps, from one document to the next
The ObjectID and ApplicationID are available in the Document info (properties) feature
For Forms customers where a DB connector is used, remember to manually move it from the C:\ProgramData\idatix\DBConnector (typical name) folder to a new C:\ProgramData\DocuPhase\DBConnector folder.