[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

ASP Email- Invalid Class String

Posted on 2003-03-17
8
Medium Priority
?
475 Views
Last Modified: 2012-08-13
Presently I am running IIS 5.0 on windows xp.  I am having a hard time understanding the following error Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/purchasing/email.asp, line 5
Below is the code of my simple email routine.
<% @language="VBSCRIPT" %>
<%
Dim myMail, myBody
myBody ="Name: "& request.form("fname") & " " & request.form("lname")
Set myMail = Server.CreateObject ("Persits.MailSender")<--- I have also tried CDONTS.NewMail with no luck
myMail.From = request.form("email")
myMail.To = "bwyka@valspar.com"
myMail.Subject = "Customer Contact"
myMail.Body = myBody
myMail.Send
set myMail=nothing
Response.Redirect("admin_control.asp")
%>
This is a very simple email but in both instances the error point to the server.createobject line.

Any help, this is the last part to this project.
thanks
0
Comment
Question by:dr_wyka
  • 5
  • 3
8 Comments
 
LVL 11

Expert Comment

by:ASPGuru
ID: 8154145
so you have installed the components you want to use?

ASPGuru
0
 
LVL 11

Accepted Solution

by:
ASPGuru earned 1000 total points
ID: 8154174
0
 
LVL 1

Author Comment

by:dr_wyka
ID: 8154211
I am not sure what components are you are referring to.  I did a complete install on the IIS.  I am sure I am missing something.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
LVL 11

Expert Comment

by:ASPGuru
ID: 8154270
of course i mean the Persits.MailSender component... which you want to use...
you have to install it before you use it.. it doesn't come with windows... you need to buy it..

ASPGUru
0
 
LVL 1

Author Comment

by:dr_wyka
ID: 8154308
Ok that make sense. Thank you.
0
 
LVL 1

Author Comment

by:dr_wyka
ID: 8154317
Thank you very much for your prompt response.  I was worried but you put that to rest.
0
 
LVL 11

Expert Comment

by:ASPGuru
ID: 8154332
so... this was the solution?
then why don't you brade the answer?

ASPGuru
0
 
LVL 11

Expert Comment

by:ASPGuru
ID: 8154335
oh... ok.... to fast... :-)


ASPGuru
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Is your organization moving toward a cloud and mobile-first environment? In this transition, your IT department will encounter many challenges, such as navigating how to: Deploy new applications and services to a growing team Accommodate employee…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question