Microsoft KB Archive/231346

= How To Log RDS Run-Time Errors =

Article ID: 231346

Article Last Modified on 7/2/2004

-

APPLIES TO


 * Remote Data Service for ADO 2.0
 * Microsoft Remote Data Services 2.0
 * Microsoft Remote Data Services 2.1
 * Microsoft Remote Data Services 2.1
 * Microsoft Remote Data Services 2.1
 * Remote Data Service for ADO 2.5
 * Remote Data Service for ADO 2.6
 * Microsoft Remote Data Services 2.0

-



This article was previously published under Q231346



SUMMARY
This article demonstrates how it is possible to log run-time Remote Data Services for ADO (RDS) errors to a file located on the server to assist in debugging problems.



MORE INFORMATION
Often overlooked, the default MSDFMAP Handler give developers and administrators the ability to log run-time errors to a file. To turn on error logging, simply edit the MSDFMAP.INI file in the Operating System root directory (C:\WINNT\MSDFMAP.INI, for example) in the following manner: ;lines that begin with a ';' are comment lines [Logs] err='c:\temp\HandlerLog.err' Errors are appended to the file specified. If the file does not exist, a new one is created.
 * add the lines below to turn on error logging

