Hello,
So I am trying to implement custom FTP loggin as done in this tutorial: http://www.iis.net/learn/develop/developing-for-ftp/how-to-use-managed-code-c-to-create-a-simple-ftp-logging-
I am using the following enviroment:
- Windows 8
- IIS 8
- Visual Studio 2012
I have followed the instructions exactly, not modifying anything with the following exceptions:
- Step 1.3 - Selected .net 2.0 project so that I can use GACUTIL 3.5 to load it into C:\Windows\assembly.
- Step 1.6 - Changed
call "%VS90COMNTOOLS%\vsvars32.bat">null
tocall "%VS110COMNTOOLS%\vsvars32.bat">null
- Updated PATH variable to include GACUTIL 3.5 (from windows 7.0A SDK)
- Created folder C:\logfiles\myftpsite and checked permissions
So after running it I would get no log file generation in c:\logfiles\myftpsite\.
I have checked the following:
- configuration -> system.ftpServer -> providerDefinitions in applicationHost.config contains:
<add name="FtpLoggingDemo" type="FtpLogging.FtpLogDemo,FtpLoggingDemo,version=1.0.0.0,Culture=neutral,PublicKeyToken=b6e842d075c8d170" />
- Confirmed the version, culture and public key token of the assembly in c:\windows\assembly\FtpLoggingDemo(.dll?)
- configuration -> system.applicationHost -> sites -> site[name="FTP Site"] -> ftpServer -> customFeatures -> providers in applicationHost.config contains:
<add name="FtpLoggingDemo" enabled="true" />
- StartCreateProvider - provider=FtpLoggingDemo
- StartCreateFtpHost
- FailCreateFtpHost - Return Value=0x80070005
- FailCreateProvider - Return Value=0x80004005 | ErrorDetails =
So it looks like it is trying to load but hitting some kind of error. I am trying to follow the tutorial exactly without modification so that I can get this to work and then customize it.
Thanks,
-Mark