Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello... when i try to send email

Status
Not open for further replies.

discusmania

IS-IT--Management
Oct 24, 2000
158
AP
Hello...
when i try to send email message , my browser retirn this message. What could be wrong?

If Len(Request("cancel")) Then Response.Redirect "smtp_menu.htm" Sending Your Email Message
Sending email to: ZMY01ER@email.mot.com ..

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/hr/aspmail/send.asp, line 24

Invalid class string

Thank You
 
Hi

The string within CreateObject referes to a class that needs to be registered on the system where that code is being executed.
A syntax error can cause that. Class names are not usually case-sensitive but it's a worth checking if you have the correct case.

Server.CreateObject("SomeObject.SomeClass")

If there is no such object as SomeObject with SomeClass as one of it's classes then that error is raised.

It's hard to provide a solution to a problem such as this as it could be anything causing the problem.

The class may not be correctly registered on your system. Whatever com component your ASP is trying to instantiate, does not exist. You can copy the DLL on your system but you'll still have to register it. Until then your ASP code will not see that dll. To register the dll you can use regsvr32 and pass the dll as a command line argument.

I'm assuming many things in my reply.
1) The ASP code is your code & you have access to the Server where the ASP code is running on.
2) The com component is a dll
3) you have regsvr32 on your system.
4) You have authority on that system to register components

etc etc.

You can always reply to this thread for more information. You'd also have to provide some more information so that the problem can be correctly diagnosed.

Hope this helps
caf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top