Print Page | Close Window

ASP Error Message in Form Post

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=7028
Printed Date: 31 March 2026 at 3:15pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: ASP Error Message in Form Post
Posted By: jhcollier
Subject: ASP Error Message in Form Post
Date Posted: 05 November 2003 at 2:33pm

This code works on local Win2K Server machine, when posted to Production Web Server I get the below message?  Don't get it?  I am posting the form info via HTML Page and when ASP tries to post the form it errors?

Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/aboutfrm_ac.asp, line 49

Help! http://www.faxserver.com/products/lightningfax/specs.htm -




Replies:
Posted By: pmormr
Date Posted: 05 November 2003 at 5:27pm
make sure the database your trying to write to has write permissions.

-------------
Paul A Morgan

http://www.pmorganphoto.com/" rel="nofollow - http://www.pmorganphoto.com/


Posted By: jhcollier
Date Posted: 05 November 2003 at 6:22pm

It's just sending an email, not going to db yet.

'Code from ASP Page........................................................ .
Set NewMailObj=Server.CreateObject("CDONTS.NewMail")
NewMailObj.From = " mailto:comments@highprosports.com - from email@myhouse.com" <--- bogus email
NewMailObj.To = " mailto:destination@mo - destination@m yemail.com" <--- bogus email
NewMailObj.Subject = "Comments from Web Site"
NewMailObj.Body = "Name: " & name & _
"<br>Email Address: " & email & _
"<br>Message: " & message

NewMailObj.BodyFormat = 0
NewMailObj.MailFormat = 0
NewMailObj.Send     <----------------------Error Line
Set NewMailObj = nothing

 



-------------
"Build a Little, Test a Little!"


Posted By: MorningZ
Date Posted: 05 November 2003 at 8:53pm

the web server still needs permissions set up to allow it to send an outgoing email

hence the dll is not lying in that "Permission is Denied"



-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: jhcollier
Date Posted: 05 November 2003 at 11:01pm

Thanks a lot.  After changing the permissions in the mailroot directory, it worked like a champ!

Thanks again.

Jim Collier



-------------
"Build a Little, Test a Little!"



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net