Thursday

hanging-up asp web application on IIS 7, solved .server 2003

When web application has asp server debugging option available it creates vsjitdebubber.exe process on server 2003.
and asp page is not responding until this vsjitdebugger.exe killed.

So by switching debugging options to off I eliminated this asp application hang ups.
server responses with error immediately.

more...

Tuesday

ASP:how to show all session variables

<!--
<% =Session.Contents.Count %>
<%
ON Error resume NEXT
Dim item, itemloop
For Each item in Session.Contents
If IsArray(Session(item)) then
For itemloop = LBound(Session(item)) to UBound(Session(item))
%>
<% =item %> <% =itemloop %> = <% =Session(item)(itemloop) %>
<%
Next
Else
%>
<% =item %> = <% =Session.Contents(item) %>
;
<%
End If
Next
%>
-->

more...

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...