A MsgBox call inside server-side script will generate an error because it's trying to pop up a message box *on the server*, not the client (browser). That's why you're not allowed to call MsgBox on the server. Greg -----Original Message----- From: Rob Smith [mailto:rob.smith at thermon.com] Sent: Wednesday, April 10, 2002 3:05 PM To: 'thelist at lists.evolt.org' Subject: [thelist] VBScript and ASP MsgBox This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Can someone do me a favor. I need a second opinion on this piece of code used in an ASP page: <snip> MsgBox("Are you Sure you want to delete this user(s)?", vbYesNo, "Just Checking") </snip> I keep getting: Microsoft VBScript runtime error '800a0046' Permission denied: 'MsgBox' /cms/removeuser.asp, line 106 Ironically, this is the same runtime error I get when using CDONTS and try to send mail. Any suggestions? Are my server permissions for my DB user pooched? The information in this electronic mail message is sender's business Confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this Internet electronic mail message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. The sender believes that this E-mail and any attachments were free of any virus, worm, Trojan horse, and/or malicious code when sent. This message and its attachments could have been infected during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for taking protective and remedial action about viruses and other defects. Galileo International is not liable for any loss or damage arising in any way from this message or its attachments.