1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Problem Scheduled asp page

Discussion in 'Plesk for Windows - 8.x and Older' started by gixerino, Oct 6, 2011.

  1. gixerino

    gixerino Guest

    0
     
    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.
     
Loading...