How To Log RDS Run-Time Errors (231346)



The information in this article applies to:

  • Remote Data Service for ADO 2.0
  • Remote Data Service for ADO 2.01
  • Remote Data Service for ADO 2.1
  • Remote Data Service for ADO 2.1 SP1
  • Remote Data Service for ADO 2.1 SP2
  • Remote Data Service for ADO 2.5
  • Remote Data Service for ADO 2.6
  • Remote Data Service for ADO 2.7

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
;add the lines below to turn on error logging
[Logs]
err='c:\temp\HandlerLog.err'
				
Errors are appended to the file specified. If the file does not exist, a new one is created.

REFERENCES

230680 INFO: Working with RDS Handlers


Modification Type:MinorLast Reviewed:7/2/2004
Keywords:kbhowto KB231346