If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Access Denied :(

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-01-04, 09:41
frontz frontz is offline
Registered User
 
Join Date: Mar 2004
Posts: 5
Access Denied :(

Hi,

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.

Code:
Set Executor = Server.CreateObject("ASPExec.Execute")
  Executor.Application = "cmd /c C:\Interconnect.exe 123459 frogger.zip"
  Executor.Parameters = ""
  strResult = Executor.ExecuteDosApp
  Response.Write "<pre>" & strResult & "</pre>"
Thanks.
Reply With Quote
  #2 (permalink)  
Old 04-01-04, 10:00
frontz frontz is offline
Registered User
 
Join Date: Mar 2004
Posts: 5
Re: Access Denied :(

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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On