gonzales
Starting Member
5 Posts |
Posted - 11 January 2005 : 22:04:05
|
I updated the Snitz forum and my server (w2003 using IIS6). The system was hanging every night. I forget the exact error in my logs but it had something to do with a server process failing. Searching the Snitz forums and the Internet, I found that others were having the same problem. Many solutions were suggested. I successfully fixed my forum, although I applied the following two fixes so I do not know which one worked.
1. I archived the Access database. The database was 80 Megs.
2. I deleted all of the code in inc_mail.asp except for: if trim(strFromName) = "" then strFromName = strForumTitle end if
Set objNewMail = Server.CreateObject("CDO.Message") objNewMail.To = strRecipients objNewMail.From = strSender objNewMail.Subject = strSubject objNewMail.TextBody = strMessage On Error Resume Next objNewMail.Send Set objNewMail = Nothing
I use a local host server so I did not need the CDO.Configuration object. It may be that changing from CDONTS (IIS 5) to cdosys (IIS 6) is causing the problem. It worked for me. |
|