I had an occasion to install an ASP Email project based on ASPrunner to a Win2K Server with IIS.
When trying to send a password reminder we started getting all kinds of Object Instantiaion errors (we hadn't tried to actually send emails at this point as we were just in the mode of installing and quick testing).
Knowing full well that our Email System (and the pages genned by ASPrunner) were fine, I started up my ASPstudio debugger and found this bit of code in commonfunctions.asp:
If IISVer <= "5.0" or IISVer = "7.0" Then <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=13424&image=1&table=forumtopics' class='bbc_emoticon' alt=':o' />
' Windows NT / 2000
Set myMail = Server.CreateObject("CDONTS.NewMail")
myMail.From = cfrom
myMail.To = email
myMail.Subject = subject
myMail.Body = message
myMail.Send
Set myMail = Nothing
CDONTS has been deprecated in IIS5 and is completely removed from Windows Server 2003, and even Windows XP. When you install Win2K SP1, CDONT is replaced with CDO libraries. So I'm not sure why this code check is here.
If one changes the check from <= 5.0 to <= 4.0 all is well. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=13424&image=2&table=forumtopics' class='bbc_emoticon' alt=':)' />
I changed the code in the distributed version of commonfunctions.asp from <= 5.0 to <=4.0 regenned and it seems fine. I susppose one could change the code to eliminate the check, but I'm not sure what that impace would be.
If this could be passed along to the powers that be, perhaps it might be changed in the Distributed flavors.
Cheers to all and Merry Xmas.
Andie.