Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004

    Unanswered: Access Denied :(


    Im working on executing an executable from an asp page. Im using the ASPExec.dll and I've registered it. I've also made the WWWP service active to the desktop.. Here is my code... Any idea why Im getting access denied?

    note: the exe works I can execute it from the command line.

    Interconnect.exe takes two parameters, a number sequence and a zip file.

    Set Executor = Server.CreateObject("ASPExec.Execute")
      Executor.Application = "cmd /c C:\Interconnect.exe 123459"
      Executor.Parameters = ""
      strResult = Executor.ExecuteDosApp
      Response.Write "<pre>" & strResult & "</pre>"

  2. #2
    Join Date
    Mar 2004

    Re: Access Denied :(

    No need to respond... I figured it out..

    I had to give permission to IUSR and IWAM for the .exe

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts