One more reason to install IIS7 and Longhorn. FTP with SSL. This is only available with IIS7.
http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1454
FINALLY!
Steve
One more reason to install IIS7 and Longhorn. FTP with SSL. This is only available with IIS7.
http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1454
FINALLY!
Steve
Here is a nice reference for URL-rewriting.
http://www.simple-talk.com/dotnet/asp.net/a-complete-url-rewriting-solution-for-asp.net-2.0/
A "bunch" of articles here!
http://www.aspnetworld.com/articles/2004011901.aspx
Remember the days of debugging Classic ASP
-Update
-Publish to the server
-Refresh your browser and pray the error was on a different line.
Thomas Deml from the IIS team posted a nice tidbit.
http://blogs.iis.net/thomad/archive/2007/02/06/security-is-painful.aspx
Enjoy,
Steve
I hang out pretty often at http://forums.iis.net One category that has seemed to cause issues with IIS7 is trying to migrate Classic ASP apps. There is an entire forum with pretty much all the answers. Here is the link
http://forums.iis.net/1044/ShowForum.aspx Soooo, when you are having issues with Classic ASP and IIS7, check out this forum, I bet the answer is already there.
Steve
MUST Read document on HTTP.sys
Vista and Longhorn.
http://www.microsoft.com/downloads/details.aspx?FamilyID=311f4be8-9983-4ab0-9685-f1bfec1e7d62&displaylang=en#filelist
W2k3 sp1
http://www.microsoft.com/downloads/details.aspx?FamilyID=a3da3d7f-18c7-45ce-a47a-ed747dacef34&DisplayLang=en
I was working with a co-worker the other day trying to see what our emails looked like when they were sent from a webpage. We had some formatting issues and wanted to see the actual message on the server right after it was generated. The problem, we couldn’t capture it fast enough on the server.
I realized one small trick, turn just the SMTP service off that comes with IIS. Messages queue up in the local pickup folder. After you turn the service on, the messages are delivered as normal. This works both for troubleshooting webpages generated with classic asp, asp.net or a 3rd party script. Here is an example of what I did.
An update. I double checked this and ran into some workarounds in regards to .NET testing.
A few assumptions
1) This will fail if you have your SMTP Serivce not configured to accept email locally. You’ll get a ‘refused message’.
2) The code needs to run on the same server
3) For .NET 1.1 and 2.0 websites, you are using the System.Web.Mail (1.1 namespace) code sample. I could not get a webpage with System.Net.Mail namespace to work.
Stop the service.
Generate a message
Look in the pickup folder
Poof! The message is still there. Your webpage will still work. I get a lot of questions in the newsgroups asking where are my messages or what do my messages look like. You can review the email headers in Notepad while it remains in the pickup folder. If you have several messages in the folder, just use the Search feature to look inside files for your message.
Here are the headers from the sample email.
X-Receiver: [email protected]
X-Sender: [email protected]
Thread-Topic: Sending email with CDO
thread-index: Acd4LFre6hIxY5VuRXC44UTFQUbrpQ==
From: <[email protected]>
To: <[email protected]>
Subject: Sending email with CDO
Date: Fri, 6 Apr 2023 05:17:10 -0400
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
This is a message.
Here is the ASP code used to generate the message.
<%
Set myMail=Server.CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
[email protected]
[email protected]
myMail.TextBody="This is a message."
myMail.Send
set myMail=nothing
response.write "Email was sent at " & Now()
%>
Hope that helps in your SMTP troubleshooting.
Looking for a good overview on IIS7, check out ScottGu’s article. Has some good information on IIS7 and web farms.
http://weblogs.asp.net/scottgu/archive/2007/04/02/iis-7-0.aspx
I’ll be presenting at an upcoming Longhorn RoadShow series presented by Windows ITPro and Microsoft. I’ll be presenting on the IIS7 track. Other speakers will be involved are ASPInsider Michael Campbell and Derek Hatchard. See you there.
‘Information about the roadshow
http://www.windowsitpro.com/roadshows/longhorn/
~Steve