Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

permission problem please help

Status
Not open for further replies.

sirron

Programmer
Mar 11, 2004
139
US
I'm still have this problem with permissions when using ASPEXEC.

I'm running windows server 2003 with IIS. The server is on our domainor network. I set the permissions on the each folder to IUSR_Machine. I also set the permissions on the IIS.
I uncheck the Anonymous access then it asks for a password and username for authenication to the domain when I go to that page. I input my username and password to the domain and it works, but I do not want to do this. I don't want to input username and password

If I check Anonymous back on then the ASPEXEC code does not work.

Does anyone know how the permission need to be set on the server and IIS

or is there other code that can get me arounf this?
This is the code I have.

Dim objExecutor
Dim sResult
Set objExecutor = Server.CreateObject("ASPExec.Execute")

objExecutor.Application = "cmd.exe"

objExecutor.Parameters = "/c c:\Inetpub\
objExecutor.ShowWindow = False

sResult = objExecutor.ExecuteWinApp
Response.Write "Result: " & sResult & "<p>"
%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top