Liberum Help Desk
The free, open source solution for the web-based help desk.

Application Error 424 (0x000001A8)

rated by 0 users
Answered (Not Verified) This post has 0 verified answers | 14 Replies | 7 Followers

Top 50 Contributor
5 Posts
CharlesH posted on 03-04-2009 9:31 AM

Can anyone tell me what this error is?

It comes up when I try to post a new support problem.

The problem gets written to the dbase so I'm thinking it might have something to do with the automated emails.

All Replies

Top 50 Contributor
5 Posts
Suggested by CharlesH

FIXED IT!

I have changed the mail from CDONTS to CDO

In 'public.asp' I used the case for CDONTS but changed the script to use the newer CDO.Message system

    Case 1    'CDONTS
       
        Set Mail = Server.CreateObject("CDO.Message")

        Set objConf=Server.CreateObject("CDO.Configuration")
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "my_smtpserver"
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "my_username"
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "my_password"
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
        objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
        objConf.Fields.Update

        'apply settings:
        Set Mail.Configuration=objConf

        Mail.Subject = strSubject
        Mail.To = strToAddr
        Mail.From = Cfg(cnnDB, "HDReply")
        Mail.TextBody = strBody
        Mail.Send
        Set Mail = Nothing

 

Top 500 Contributor
1 Posts
Suggested by ballew

One possible cause could be that the code for Liberum Help Desk is old and was coded for earlier versions of IIS. If your Liberum setup relies on CDONTS to send email and you are running under IIS 6.0 (for example on a Windows 2003 server) CDONTS is depreciated and wasn’t included with Windows 2003 server. You will either have to change the code to use CDONTS' successor Microsoft® Collaboration Data Objects (CDO) or choose one of the other email options.

Changes to IIS 6.0

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/7b037954-441d-4037-a111-94df7880c319.mspx?mfr=true

More info on CDO:

http://msdn.microsoft.com/en-us/library/ms527795.aspx

 

Top 50 Contributor
5 Posts

This is related to the use of CDONTS

Change the public.asp file to use CDO.Message instead.

e.g.

    Case 1    'CDONTS
        Set Mail = Server.CreateObject("CDO.Message")

        Mail.Subject = strSubject
        Mail.To = strToAddr
        Mail.From = Cfg(cnnDB, "HDReply")
        Mail.TextBody = strBody
        Mail.Send
        Set Mail = Nothing

Top 25 Contributor
17 Posts

Dear liberum supporter

 

                I cut and copy the above solution in my public.asp page but error occure . give me a step by step solution pls. If any screen shot for solve the problem send me pls.

  thank you

gopi.g

Top 50 Contributor
5 Posts

Did you overwrite the previous CDONTS script?

Top 25 Contributor
17 Posts

Dear Liberum

 

      yes i overwrite the previous CDONTS script bu error display.

Top 50 Contributor
5 Posts

This solution worked for me. Perhaps you have a different server configuration or a different error.

Actually I stopped trying to use Liberum because it was not right for me.

I cannot help you any further - sorry.

Top 10 Contributor
170 Posts

OK what Data base are you using???  If access you must add into the data base a new entry:

ID 5

TYPE CDOSYS

Top 10 Contributor
170 Posts

Post the contents of your Public.ASP page

Top 150 Contributor
2 Posts

Also having this problem.

Version 97.3 on Windows Server 2003 R2 x64; IIS 6; using SQL 2005 database; using ASPEmail utility.

None of the suggested resolutions in the thread apply to our situation.

 

Rick

Top 500 Contributor
1 Posts

Having the same problem.  Have the same setup as the user above me.  I'm trying to use Jmail.

Top 150 Contributor
2 Posts

I found a newer version of the mail software (ASPEmail) that we were using that included 64-bit support.

Once I installed this on the web server, the 424 error stopped occurring.

Hope this helps.

Rick

Top 150 Contributor
2 Posts

I'm getting this same error on a Windows Server 2008 64-bit machine.  The helpdesk is running in a 32-bit enabled application pool so it can use the Jet database engine.  I'm using a script similar to the one in this thread (see below).  This was working until I installed the Microsoft MAPI/CDO package, required by Symantec BackupExec.

 

   Case 6  ' CDOSYS
      DIM strIncomingMailServer, objCDOSYSMail, objCDOSYSCon
      'Create the e-mail server object
      strIncomingMailServer = Cfg(cnnDB, "SMTPServer")
      Set objCDOSYSMail = Server.CreateObject("CDO.Message")
      Set objCDOSYSCon = Server.CreateObject ("CDO.Configuration")

     'Set and update fields properties
      With objCDOSYSCon

        'Out going SMTP server
          .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strIncomingMailServer
         'SMTP port
          .Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport")  = 8025
         'CDO Port
          .Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
         'Timeout
          .Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
      .Fields.Update
      End With

  'Update the CDOSYS Configuration
  Set objCDOSYSMail.Configuration = objCDOSYSCon

  With objCDOSYSMail
    .From = Cfg(cnnDB, "HDName") & " <" & Cfg(cnnDB, "HDReply") & ">"
   .To = strToAddr
   .Subject = strSubject
   '.HTMLBody = strBody 'Set the e-mail body format (HTMLBody=HTML TextBody=Plain)
   .TextBody = strBody
    'Send the e-mail
   If NOT strIncomingMailServer = "" Then .Send
   End with

  'Close the server mail object
   Set objCDOSYSMail = Nothing

 

I tried switching to 64-bit mode and using a MySQL ODBC driver, but it seems the queries are not compatible with MySQL.  I do not have Microsoft SQL server.  Thoughts?

Top 500 Contributor
1 Posts

Great - thanks! Works with W2003. :-)

Page 1 of 1 (15 items) | RSS
Copyright © Doug Luxem 2000-2010
Powered by Community Server (Non-Commercial Edition), by Telligent Systems