Microsoft KB Archive/231346

From BetaArchive Wiki
Knowledge Base


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
;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


Keywords: kbhowto KB231346