Microsoft KB Archive/127947

= Application Error with Logging Enabled in FTP Server Service =

Article ID: 127947

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Workstation 3.5
 * Microsoft Windows NT Server 3.5

-



This article was previously published under Q127947



SYMPTOMS
If you have daily logging of file accesses for File Transfer Protocol (FTP) Server service enabled and you access the server using an FTP command, the following Dr. Watson for Windows NT error message appears:

An application error has occurred and an application error log is being generated.

EXE\TCPSVCS.DBG

Exception: access violation (0xc0000005)



CAUSE
This problem occurs if the directory name for the logging of the FTP Server service is incorrect or does not exist. The error message above appears with the first file access using an FTP command after the second midnight since the FTP Server service restarted. In between that time period the FTP Server service operates normally, but no log files are created.



WORKAROUND
To work around this problem, verify the FTP Server service configuration in the Registry.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

 Run Registry Editor (REGEDT32.EXE). From the HKEY_LOCAL_MACHINE subtree, go to the following key:

\SYSTEM\CurrentControlSet\Services\FTPSVC\Parameters

 Ensure that the LogFileDirectory entry is correct and exists. To change the LogFileDirectory:

 Select the LogFileDirectory entry. From the Edit menu, select String. From the String Editor, change the directory name.</li> Change the LogFileDirectory name.</li> Choose OK.</li></ol> </li> Quit Registry Editor.</li> Restart the FTP Server service in Control Panel.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in Windows NT version 3.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

<div class="moreinformation_section">

MORE INFORMATION
For more information on other FTP server logging options added to Windows NT version 3.5, query the following words in the Microsoft Knowledge Base:

<pre class="fixed_text">  ftpsvr and ftptcp

Additional query words: prodnt

Keywords: KB127947

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.