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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permission denied

Status
Not open for further replies.

aldrin001

Programmer
Mar 3, 2003
5
BE
i created a page with a back button. now i wanted to show a msgbox if you click on the button.
but i always got this error:

Microsoft VBScript runtime error '800a0046'

Permission denied: 'MsgBox'

it's a server side web page that is buffered on the server.
 
You cannot have a message box in server side code, only client side.

If you want to cause client-side code to execute from a DTC button click, then use the onbeforeserverevent event.

There are loads of examples in Tek-Tips - do a search.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top