Http Error 405.0 - method not allowed iis 7.5 module staticfilemodule - iis-7.5

I have ran into an issue here that I can not seem to find a solutions for. I have a form that I am trying to deploy in IIS 7.5 and when I execute my script I get the following error...
Error Summary
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method
(HTTP verb) is being used.
Detailed Error Information
Module StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070001
Requested URL http://localhost:80/Address.php
Physical Path C:\inetpub\wwwroot\Address.php
Logon Method Anonymous
Logon User Anonymous
I have tried everything under the sun. I have deleted the WebDavmodule....I have added the POST verb to the StaticFile Module....I have selected all verbs under the verbs tab. I have enabled the CGI.exe file...also I enabled the ISAPI module. I have read numerous articles on the issue and it seems a lot of people are having these issues and they didn't find a real fix for it. If there is any information someone could provide to help me get passed this I would be more than thankful. In addition, I checked the server log files. They are as follows...
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-04-08 13:33:24
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2015-04-08 13:33:24 ::1 GET /validation_data.js 233 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 200 0 0 171
2015-04-08 13:33:48 ::1 POST /Address.php - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 405 0 1 3
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2015-04-08 13:48:12
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2015-04-08 13:48:12 ::1 GET /indv/ - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 403 14 0 17
2015-04-08 13:48:54 ::1 GET /Address.html - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 304 0 0 1
2015-04-08 13:48:54 ::1 GET /validation_data.js 341 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 200 0 0 25
2015-04-08 13:49:21 ::1 POST /Address.php - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 405 0 1 2
2015-04-08 13:49:48 ::1 GET /validation_data.js 787 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 200 0 0 33
2015-04-08 13:50:12 ::1 POST /Address.php - 80 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/41.0.2272.118+Safari/537.36 405 0 1 3

Ok. I am not getting the error anymore. This is what I did. I installed PHP Manger for IIS 7.5 64bit. After that I installed Visual C++ Redistributable for Visual Studio 2012 Update 4, which can be downloaded here http://www.microsoft.com/en-us/download/confirmation.aspx?id=30679!

Related

Unable to access published webapi from outside windows domain

My network environment is a follows. I have a Windows Server 2016 domain controller and a member server.
On the member server I have IIS and Visual Studio 2019 installed.
I created a webapi in VS2019 that writes data to a SQL server. I am using Postman for testing.
Everyting works fine when I runt postman on the member server and on the DC. However when I run postman from my workstation which is NOT a member of the domain I get error 500.
Below is a snipit from the IIS log.
192.168.100.222 is my DC
192.168.100.10 is my stand alone Windows 10 workstation.
2020-11-02 15:31:13 ::1 POST /api/SleepDiary sSleepGuy=guy2#there.com&sPilotName=Rick%20Doe 80 - ::1 PostmanRuntime/7.26.5 - 204 0 0 834
2020-11-02 15:31:52 192.168.100.223 POST /api/SleepDiary sSleepGuy=guy2#there.com&sPilotName=Rick%20Doe 80 - 192.168.100.222 PostmanRuntime/7.26.5 - 204 0 0 16
2020-11-02 15:32:14 192.168.100.223 POST /api/SleepDiary sSleepGuy=guy1#there.com&sPilotName=Rick%20Doe 80 - 192.168.100.10 PostmanRuntime/7.26.8 - 500 0 0 225

Hosting Web API .NET Core v2.2 on IIS gives 500

I'm trying to host my Web API built on .NET Core v2.2 on Windows 10 v1903.
I have the IIS installed, it's running.
I have installed the .NET Core Hosting Bundle.
I have copied over the output from the publish folder to a folder under inetpub/wwwroot:
I have created a website in IIS:
That website is using an application pool with "No managed code" CLR:
This is my web.config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\MyAPI.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 3840a856-efc8-4efc-b593-556179293e4e-->
And it's giving me 500 Internal Server Error when I try to browse the site.
Logs:
#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2020-02-04 01:32:33
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2020-02-04 01:32:33 ::1 GET / - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 19 13 514
2020-02-04 01:32:33 ::1 GET /favicon.ico - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 http://localhost:5050/ 500 19 13 0
2020-02-04 01:32:37 ::1 GET /swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 19 13 0
2020-02-04 01:32:37 ::1 GET /favicon.ico - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 http://localhost:5050/swagger 500 19 13 1
2020-02-04 01:33:02 ::1 GET /myapi/swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 19 13 0
2020-02-04 01:33:02 ::1 GET /favicon.ico - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 http://localhost:5050/myapi/swagger 500 19 13 2
2020-02-04 01:33:09 ::1 GET / - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 19 13 1
2020-02-04 01:33:09 ::1 GET /favicon.ico - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 http://localhost:5050/ 500 19 13 0
#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2020-02-04 02:58:25
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2020-02-04 02:58:25 ::1 GET / - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 4473
2020-02-04 02:58:29 ::1 GET /swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 5
2020-02-04 02:58:37 ::1 GET /MyAPI/swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 4
2020-02-04 02:58:40 ::1 GET /MyAPI - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 3
#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2020-02-04 02:59:15
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2020-02-04 02:59:15 ::1 GET / - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 1340
2020-02-04 02:59:18 ::1 GET /swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 4
2020-02-04 02:59:27 ::1 GET /MyAPI/swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 3
#Software: Microsoft Internet Information Services 10.0
#Version: 1.0
#Date: 2020-02-04 03:18:09
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2020-02-04 03:18:09 ::1 GET / - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 1836
2020-02-04 03:18:12 ::1 GET /swagger - 5050 - ::1 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/79.0.3945.130+Safari/537.36 - 500 0 0 5
Any ideas?

Cannot connect to IIS site using anything but localhost/127.0.0.1

I have finally [painstakingly] setup a locally hosted site using IIS7.
I am now currently able to connect to it via http://localhost/mediaorganizer/ or http://127.0.0.1/mediaorganizer/ on the host machine.
However when I try to use the IP address of the host machine on itself or another machine on the network, I get the following error:
refused to connect error
I have searched up and down with no luck. I have setup the firewall rules for in-bound, they are set for TCP on port 80, using World Wide Web Services (HTTP Traffic-In). I have setup bindings in IIS as http, All Unassigned, 80. I also made sure to start the site while running IIS Manager as administrator. But all with no luck.
I feel I maybe missing a final process to achieve my desired effect. I've spent a solid day on this project and would appreciate any help.
Recent Logs
Software: Microsoft HTTP API 2.0
Version: 1.0
Date: 2016-08-28 02:33:55
Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri streamid sc-status s-siteid s-reason s-queuename
2016-08-28 02:33:55 127.0.0.1 50211 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 02:36:29 127.0.0.1 50356 127.0.0.1 64900 HTTP/1.1 GET / - 400 - Hostname -
2016-08-28 02:37:30 127.0.0.1 50331 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 03:02:37 127.0.0.1 50593 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 03:06:33 127.0.0.1 50607 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 03:10:03 127.0.0.1 50678 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 05:16:54 127.0.0.1 50821 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 05:19:14 127.0.0.1 50864 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 05:32:17 127.0.0.1 50948 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 05:34:32 127.0.0.1 50999 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 05:42:10 127.0.0.1 51036 127.0.0.1 80 HTTP/1.1 GET /mediaorganizer/about.aspx - 404 - NotFound -
2016-08-28 05:44:30 127.0.0.1 51041 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 05:46:35 127.0.0.1 51059 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
Software: Microsoft HTTP API 2.0
Version: 1.0
Date: 2016-08-28 06:00:59
Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri streamid sc-status s-siteid s-reason s-queuename
2016-08-28 06:00:59 127.0.0.1 50005 127.0.0.1 80 HTTP/1.1 GET /MediaOrganizer/ - 404 - NotFound -
2016-08-28 06:09:42 127.0.0.1 50188 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 06:09:47 127.0.0.1 50183 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 06:12:58 127.0.0.1 50205 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 06:12:58 127.0.0.1 50208 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 06:16:14 127.0.0.1 50277 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 06:16:14 127.0.0.1 50279 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 17:59:24 127.0.0.1 51430 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
2016-08-28 17:59:24 127.0.0.1 51428 127.0.0.1 80 - - - - - - Timer_ConnectionIdle -
I was able to correct the issue. Turns out I had configured IIS to listen to IP Address 127.0.0.1 through command prompt. I had to undo this by opening command prompt and enter in the following commands.
netsh
http
show iplisten <- just to confirm it was there, and it was.
delete iplisten ipaddress=127.0.0.1
Now I am able to use the PC name and it's actual IP address to access my local IIS site.
I do see a 404 - NotFound twice
2016-08-28 05:42:10 127.0.0.1 51036 127.0.0.1 80 HTTP/1.1 GET
/mediaorganizer/about.aspx - 404 - NotFound -
2016-08-28 06:00:59 127.0.0.1 50005 127.0.0.1 80 HTTP/1.1 GET
/MediaOrganizer/ - 404 - NotFound -
This happens when you have binding mapped to a specific hostname in IIS. Something like below . So check this and remove Host name if you have any.
If it's empty probably delete the binding and recreate without any Host name.
Another place to check is host file (C:\Windows\System32\drivers\etc\hosts) . Comment out if you see anything like below by adding a # before
127.0.0.1 localhost //These should be commented out
::1 localhost //These should be commented out

Custom Authorization header leads to missing status code. IIS 10.0

I have a webapplication that isn't returning any status code at all for all requests that have an Authorization request header of the Bearer type.
I have made a small proof of concept with a new site in IIS and just an index.html file.
I have done four requests to this site:
four request
_t=A is a request without the Authorization header.
_t=B is a request with the Authorization header set to Bearer
_t=C is a request with the Authorization header set to Basic
_t=D is a request with the Authorization header set to Basicc
All four requests have sent the same response it just looks like the status code isn't sent to requests with an Authorization scheme that is unknown to IIS.
In the WS3SVC log file all requests do have a status 200:
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2016-08-19 13:37:41 ::1 GET /index.html _t=A 5443 - ::1 HTTP/2.0 Mozilla/5.0+(Windows+NT+10.0;+WOW64;+rv:47.0)+Gecko/20100101+Firefox/47.0 https://localhost:5443/index.html 200 0 0 4
2016-08-19 13:37:53 ::1 GET /index.html _t=B 5443 - ::1 HTTP/1.1 Mozilla/5.0+(Windows+NT+10.0;+WOW64;+rv:47.0)+Gecko/20100101+Firefox/47.0 https://localhost:5443/index.html 200 0 0 1
2016-08-19 13:38:05 ::1 GET /index.html _t=C 5443 - ::1 HTTP/2.0 Mozilla/5.0+(Windows+NT+10.0;+WOW64;+rv:47.0)+Gecko/20100101+Firefox/47.0 https://localhost:5443/index.html 200 0 0 3
2016-08-19 13:38:14 ::1 GET /index.html _t=D 5443 - ::1 HTTP/1.1 Mozilla/5.0+(Windows+NT+10.0;+WOW64;+rv:47.0)+Gecko/20100101+Firefox/47.0 https://localhost:5443/index.html 200 0 0 3
I have also tested this on a different machine (also Windows 10 & IIS 10.0) and it has the same behavior.
Although it doesn't break the website by not sending a status code I still think there must be a way to resolve this issue.

smtp;551 Mailhost is on domain's block list [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We have a website hosted on Windows 2008 (SP2), running iis 7.0
One of the pages on our website, when submitted, will send an informational email to info#mywebdomain.com. The email is sent to the localhost smtp server on the same server that the website runs on. This had been working until December 10th and now it always fails.
As best I can tell, it looks like I need to remove mywebdomain.com from the smtp server's domain block list. However, I cannot figure out how to do that. I got as far as figuring out that the smtp server running under iis 7.0 is actually configured via the iis 6.0 manager. I expanded "local computer", right-clicked "SMTP Virtual Server #1" (the only one in the list) and selected Properties. I didn't see anything in any of the tabs which looked like it could be used to unblock a domain.
Any help would be greatly appreciated!!! Details below:
mywebdomain - substituted to keep this posting hopefully anonymous; but this domain is hosted on our server and is available on the internet
mwd3.mwd.local - again substituted for anonymity; but this is effectively localhost
From: postmaster#mwd3.mwd.local
To: webadmin#mywebdomain.com
Date: Mon, 10 Dec 2012 11:29:29 -0600
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="9B095B5ADSN=_01CDCE88DCFE2F9B00000001mwd3.mwd.local"
X-DSNContext: 7ce717b1 - 1196 - 00000002 - 00000000
Message-ID: <f69aZbLAX00000001#mwd3.mwd.local>
Subject: Delivery Status Notification (Failure)
This is a MIME-formatted message.
Portions of this message may be unreadable without a MIME-capable mail program.
--9B095B5ADSN=_01CDCE88DCFE2F9B00000001mwd3.mwd.local
Content-Type: text/plain; charset=unicode-1-1-utf-7
This is an automatically generated Delivery Status Notification.
Delivery to the following recipients failed.
info#mywebdomain.com
--9B095B5ADSN=_01CDCE88DCFE2F9B00000001mwd3.mwd.local
Content-Type: message/delivery-status
Reporting-MTA: dns;mwd3.mwd.local
Received-From-MTA: dns;mwd3.mwd.local
Arrival-Date: Mon, 10 Dec 2012 11:29:25 -0600
Final-Recipient: rfc822;info#mywebdomain.com
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;551 Mailhost is on domain's block list (Mode: normal)
--9B095B5ADSN=_01CDCE88DCFE2F9B00000001mwd3.mwd.local
Content-Type: message/rfc822
Received: from mwd3.mwd.local ([127.0.0.1]) by mwd3.mwd.local with Microsoft SMTPSVC(7.0.6002.18222);
Mon, 10 Dec 2012 11:29:25 -0600
From: <webadmin#mywebdomain.com>
To: info#mywebdomain.com
Subject: Consumer Q & A
Date: Mon, 10 Dec 2012 11:29:25 -0600
Message-ID: <20121210-11292530-342c#mwd3.mwd.local>
MIME-Version: 1.0
Return-Path: webadmin#mywebdomain.com
X-OriginalArrivalTime: 10 Dec 2012 17:29:25.0305 (UTC) FILETIME=[E6549290:01CDD6FB]
The following information was submitted at 12/10/2012 11:29:25 AM from Consumer Q&A.
Body of the email
Gregg,
Thanks for your comment. I marked it as adding something useful to the post, since it wasn't an answer.
It took me a while to figure out how to get an SMTP transcript.
For others reading this post, here is how I did it. Adapt it to your own situation. I was able to stop/start the Virtual SMTP Server because the client gave me permission since it wasn't accomplishing the purpose it was setup for anyway.
Again, note that IIS 6 is used to administer the SMTP server even when you're running IIS 7.
Open up "Internet Information Services (IIS) 6.0 Manager
I found instructions in the Help menu to enable logging:
To enable logging that uses an ASCII text format
... Select the SMTP virtual server, and then click Properties on the Action menu.
On the General tab, select Enable logging.
In the Active log format drop-down menu, select a log format.
Click Properties, and then on the General tab, specify the New log schedule.
If you select Hourly, Daily, Weekly, or Monthly, a new log file is created at those intervals.
If you select Unlimited file size, only a single log file is created.
If you select When file size reaches, you can specify the maximum size of the log file and a new log file is created when the current log file reaches that size.
On the General tab, under Log file directory, specify the location where the log files will be stored.
If you have selected the World Wide Web Consortium (W3C) Extended Logging format, click the Advanced tab, and then select the extended logging options you want to track.
I set my logging destination to a new folder just to be sure it wouldn't get mixed up with other logging.
I turned on every option in the Advanced tab. Then I stopped and started the virtual server.
I sent an email using one of the website features which hadn't been working (Request Info)
When I tried to view the log, it said it was in use. So I stopped the Virtual SMTP Server, copied the contents of the log, and then started the Virtual SMTP Server again.
Effectively what I discovered is that the client was using mxlogic.net for spam filtering. He regularly contacts them when spam gets through their service. I suspect when he contacted them on December 10th they blocked his address instead of the offending spammer. But that is just speculation.
They acknowledged that his IP address was in a blocked IP range. They fixed it within a few minutes and the problem is now resolved.
You can see below in the transcript that the first OutboundConnectionResponse is initiating a conversation with an mxlogic.net server. The last line is a closing of the transmission channel with the mxlogic.net server. In between you can see a couple of messages stating, "551+Mailhost+is+on+domain's+block+list"
#Software: Microsoft Internet Information Services 7.0
#Version: 1.0
#Date: 2013-01-03 17:29:41
#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status sc-
win32-status sc-bytes cs-bytes time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer)
2013-01-03 17:29:41 127.0.0.1 mwd3.mwd.local SMTPSVC1 MWD3 127.0.0.1 0 HELO - +mwd3.mwd.local 250 0 38 19 0 SMTP - - - -
2013-01-03 17:29:41 127.0.0.1 mwd3.mwd.local SMTPSVC1 MWD3 127.0.0.1 0 MAIL - +FROM:+<webadmin#mywebdomain.com> 250 0 45 33 0 SMTP - - - -
2013-01-03 17:29:41 127.0.0.1 mwd3.mwd.local SMTPSVC1 MWD3 127.0.0.1 0 RCPT - +TO:+<info#mywebdomain.com> 250 0 29 27 0 SMTP - - - -
2013-01-03 17:29:41 127.0.0.1 mwd3.mwd.local SMTPSVC1 MWD3 127.0.0.1 0 DATA - +<20130103-11294182-2d84#mwd3.mwd.local> 250 0 123 456 63 SMTP - - - -
2013-01-03 17:29:41 127.0.0.1 mwd3.mwd.local SMTPSVC1 MWD3 127.0.0.1 0 QUIT - mwd3.mwd.local 240 78 63 4 0 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 220+p02c12m113.mxlogic.net+ESMTP+mxl_mta-6.16.0-0+[4d461940.13484498.00-2360];+Thu,+03+Jan+2013+10:29:41+-0700+(MST);+NO+UCE,+INBOUND 0 0 133 0 47 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 EHLO - mwd3.mwd.local 0 0 4 0 47 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 250-p02c12m113.mxlogic.net 0 0 26 0 63 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 MAIL - FROM:<webadmin#mywebdomain.com> 0 0 4 0 63 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 250+Sender+Ok 0 0 13 0 94 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 RCPT - TO:<info#mywebdomain.com> 0 0 4 0 94 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 551+Mailhost+is+on+domain's+block+list+(Mode:+normal) 0 0 53 0 188 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 RSET - - 0 0 4 0 188 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 250+Reset+Ok 0 0 12 0 219 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 RSET - - 0 0 4 0 266 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 250+Reset+Ok 0 0 12 0 297 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 MAIL - FROM:<> 0 0 4 0 297 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 250+Sender+Ok 0 0 13 0 312 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 RCPT - TO:<webadmin#mywebdomain.com> 0 0 4 0 312 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 551+Mailhost+is+on+domain's+block+list+(Mode:+normal) 0 0 53 0 406 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 RSET - - 0 0 4 0 406 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 250+Reset+Ok 0 0 12 0 422 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionCommand SMTPSVC1 MWD3 - 25 QUIT - - 0 0 4 0 437 SMTP - - - -
2013-01-03 17:29:41 208.65.145.12 OutboundConnectionResponse SMTPSVC1 MWD3 - 25 - - 221+p02c12m113.mxlogic.net+Service+closing+transmission+channel+[13484498.00] 0 0 77 0 453 SMTP - - - -

Resources