Access Denied Error when installing ASPExec on a Windows 2003 server

I am using a web server with Windows server 2003 and IIS 6.
Our server crashed and we have to reconfigure a new one.
I run on the server a compression program zg.exe, using ASPExec.
I downloaded ASPExec.dll ot c:\util on the server  and registered it using regsvr32.
I am having a security problem that I can not find whatever I tried. I keep getting an access denied error msg.
Here is the piece of code that I set up for isolating this problem:
function CompressFiles(cFileName,FileList)
      Dim objExecutor
      Dim sResult      

      Set objExecutor = Server.CreateObject("ASPExec.Execute")
      objExecutor.Application = "cmd.exe"
      objExecutor.Parameters = "/c c:\Util\zg.exe -add c:\av_sale\av\01_Prologue.mp3 c:\av_sale\av\01_Prologue.zip -N -0"
      objExecutor.ShowWindow = False
      objExecutor.Timeout = 60000 ' wait 1 minute
      sResult = objExecutor.ExecuteWinAppAndWait
      CompressFiles= sResult
end function
 When I call this function, the returned code is 5.
I replaced zg.exe with a simple batch but substituting the statement
      objExecutor.Parameters = "/c c:\Util\test.bat"
(the batch contains just: dir c:\ >c:\av_sale\av\test.txt)
I still get the same error.

I have a very very basic knowledge of computer security. Can anybody show me how to fix this? my dedicated server hosting company claim they can not do anything because they do not support ASPExec.

Please remember, I am pretty certain this is a configuration problem because the same web site code was running fine on a previous server.


pccosmAsked:
Who is Participating?
 
Stephen MandersonConnect With a Mentor Software EngineerCommented:
To access component services do the following.

Start, click Control Panel, and then click Performance and Maintenance. Click Administrative Tools, and then double-click Component Services.
0
 
Stephen MandersonSoftware EngineerCommented:
0
 
pccosmAuthor Commented:
I did see the solution to these two problems - it is the same - However, I can find on my server how to apply the procedure that is suggested. I guees my knowledge in this area is very limited.
Can you be more explicit? How do I access component services?
I just took control - or trying to - a dedicated server with Windows 2003 and IIs 6
0
 
pccosmAuthor Commented:
Thanks. That helped and solved my problem. It might be good idea if you answer me again with your last comment and a reference to the actual solution:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_20742482.html?sfQueryTermInfo=1+aspexec+deni

This will help people get quicker to the answer.
0
 
Stephen MandersonSoftware EngineerCommented:
Its ok anyone looking at this question will see all the posts :) Plus you have already done it for me :P

Glad it helped

Kind Regards
Steve
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.