• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Problem Scheduled asp page

G

gixerino

Guest
Hi I have the ncessità to schedule an ASP page that has as a function of sending an email. The data of this message come from a database.
I created a vbs file that I open the asp page.
If I do a test by clicking on the vbs file locally to the procedure works fine and I get the email with data from the db.

But if I run a scheduled task to plesk, following the instructions, I get the email scheduling operation took place but not the email must be generated from the asp page.

The error in the vbs file is as follows:

"Microsoft VBScript runtime error: Permission denied: 'CreateObject'"

Loggetta is represented by: "InternetExplorer.Application"

This is the code of the VBS file:
' Creo l'oggetto
Dim IE
Set IE = CreateObject("InternetExplorer.Application")

' Rendo invisibile l'operazione
' (Se fosse settato su True si aprirebbe la finestra di explorer
' nel bel mezzo del nostro video)
IE.Visible = False

' Imposto la pagina web da visitare...
' ...cioè la URL dello script che voglio eseguire!
IE.navigate("http://www.fffffdfgdfgg.it/test.asp")

' Chiudo
Set IE = Nothing

Quale potrebbe essere il problema.

Grazie a tutti in anticipo.
 
Back
Top