Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old September 15th, 2004, 02:38 PM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is the code that i am having trouble with

'Response.Write mailbody
set SMTP=Server.CreateObject("Jmail.SMTPMail")
SMTP.ServerAddress= mailserver
SMTP.Sender=anetfang2
SMTP.AddRecipient anetfang1
SMTP.Subject=blabla
SMTP.Body=mailbody
SMTP.Execute
%>

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/AppSup/ASWeb/AppSupp/ASPCard/test.asp, line 180

Invalid class string

Thanks



Quote:
quote:Originally posted by happygv
 Can someone post some relavant code to understand what is actually being tried? As no one has shown any code that cause this error, it is hard to suggest.

There should be some addition info displayed along with this error, that would help in troubleshooting this. But I dont see anyone post that info here. So the it is difficult to identify the cause. all that I could search from MS site is - Err Msg: Server Object Error ASP 0177 : 800401f3

This may not be relavant to your code. So how about showing some code on that?

Cheers!

_________________________
- Vijay G
Strive for Perfection
Reply With Quote
  #12 (permalink)  
Old September 15th, 2004, 08:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Bangalore, KA, India.
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Looks like JMail component was not registered properly. Can you check that at your end ?

_________________________
- Vijay G
Strive for Perfection
Reply With Quote
  #13 (permalink)  
Old September 29th, 2004, 03:12 AM
Friend of Wrox
 
Join Date: May 2003
Location: Delhi, Delhi, India.
Posts: 230
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just install Jmail component again and most probably it works fine

Charul Shukla
Reply With Quote
  #14 (permalink)  
Old September 29th, 2004, 03:57 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Cochin, Kerala, India.
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

When I had a similar problem after installing JMail, a simple rebooting of server solved the problem. (I think JMail will not ask to reboot after its installation)
Reply With Quote
  #15 (permalink)  
Old May 22nd, 2006, 08:19 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by pkihou
 Here is the code that i am having trouble with

'Response.Write mailbody
set SMTP=Server.CreateObject("Jmail.SMTPMail")
SMTP.ServerAddress= mailserver
SMTP.Sender=anetfang2
SMTP.AddRecipient anetfang1
SMTP.Subject=blabla
SMTP.Body=mailbody
SMTP.Execute
%>

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/AppSup/ASWeb/AppSupp/ASPCard/test.asp, line 180

Invalid class string

Thanks



Quote:
quote:Originally posted by happygv
 Can someone post some relavant code to understand what is actually being tried? As no one has shown any code that cause this error, it is hard to suggest.

There should be some addition info displayed along with this error, that would help in troubleshooting this. But I dont see anyone post that info here. So the it is difficult to identify the cause. all that I could search from MS site is - Err Msg: Server Object Error ASP 0177 : 800401f3

This may not be relavant to your code. So how about showing some code on that?

Cheers!

_________________________
- Vijay G
Strive for Perfection
Reply With Quote
  #16 (permalink)  
Old May 22nd, 2006, 08:23 PM
Registered User
 
Join Date: May 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by pkihou
 Here is the code that i am having trouble with

'Response.Write mailbody
set SMTP=Server.CreateObject("Jmail.SMTPMail")
SMTP.ServerAddress= mailserver
SMTP.Sender=anetfang2
SMTP.AddRecipient anetfang1
SMTP.Subject=blabla
SMTP.Body=mailbody
SMTP.Execute
%>

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/AppSup/ASWeb/AppSupp/ASPCard/test.asp, line 180

Invalid class string

Thanks



Quote:
quote:Originally posted by happygv
 Can someone post some relavant code to understand what is actually being tried? As no one has shown any code that cause this error, it is hard to suggest.

There should be some addition info displayed along with this error, that would help in troubleshooting this. But I dont see anyone post that info here. So the it is difficult to identify the cause. all that I could search from MS site is - Err Msg: Server Object Error ASP 0177 : 800401f3

This may not be relavant to your code. So how about showing some code on that?

Cheers!

_________________________
- Vijay G
Strive for Perfection
Quote:
quote:
Have a look at the following piece of code, works for me on IIS 6.0

Set jmail = Server.CreateObject("jMail.Message")
    TrapError

    jmail.AddRecipient "info@bsnsw.org.au"
    jmail.From = "BSNSW_Web_Site"

    jmail.Subject = GetTypeDescription() & " - ID " & id
    jmail.Body = GetTypeDescription() & _
        vbCrLf & _
        vbCrLf & "ID: " & id & _
        vbCrLf & "Submitted: " & whenSubmitted & _
        vbCrLf & _
        vbCrLf & "Name: " & Request.Form("title") & _
                            Request.Form("firstName") & " " & Request.Form("surname") & _
        vbCrLf & "Organisation: " & Request.Form("organisation") & _
        vbCrLf & "Contact Phone: " & Request.Form("phone") & _
        vbCrLf & "Email Address: " & Request.Form("email") & _
        vbCrLf & _
        vbCrLf & ToUpperFirstChar(GetActionName()) & ": " & _
        vbCrLf & "--------" & _
        vbCrLf & Request.Form("comment")

      jmail.Send("203.62.207.226")
      TrapError
    End Sub

Ajeet Nagdev
Reply With Quote
  #17 (permalink)  
Old July 23rd, 2007, 09:41 AM
Registered User
 
Join Date: Jul 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In my case I got this error message on:

    call HP_InsertSend(friendemail, youremail, yourname, addmessage, curProg)


PUBLIC Function HP_InsertSend(friendemail, youremail, yourname, addmessage, curProg)
    if len(addmessage) > 500 then
        addmessage = validatestring(left(addmessage, 500))
    end if
    dim origination
    origination=" visitor CPU: " & request.ServerVariables("HTTP_UA_CPU")& ", visitor OS specifics: " & request.ServerVariables("HTTP_USER_AGENT") & ", visitor IP: " & request.ServerVariables("REMOTE_ADDR")
    Call DBOpen (MyConn, MyCmd, MyRs)
        With MyCmd
            .ActiveConnection = MyConn
            .CommandText = "HPolitics_InsertSendFriend '" & validatestring(friendemail) & "','" & validatestring(youremail) & "','" & validatestring(yourname) & "','" & addmessage & "','" & validatestring(curProg) & "','" & origination & "'"
            'response.write .CommandText
            .Execute
        End With
    Call DBClose(MyConn, MyCmd, MyRs)

End Function 'HP_InsertSend



That page worked fine until we decide to move from win2k to windows 20033.
Any idea how to fix this?
Thanks:(

Alex
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server object error 'ASP 0177 : 800401f3' lizmorley BOOK: Beginning ASP 3.0 0 February 11th, 2008 06:48 AM
Error : Server Object, ASP 0177(0x800401F3) InsouciantCoquette Classic ASP Components 2 February 21st, 2006 08:26 PM
Server Object error 'ASP 0177 : 800401f3' geeta Classic ASP Basics 1 July 10th, 2003 06:00 PM



All times are GMT -4. The time now is 12:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.