Ne w and a old problem

M

Mosley

I have a simple script in a VBS file

Dim root
Set root = GetObject("IIS://LocalHost/W3SVC/1/ROOT")
root.AspAppRestart


When I try to run this from a ASP page it says "permission denied,"
how can I set permissions form ASP?


My old problem is that even when I ran this from a VBS file I find that
after it has run My index server won't work it gives his error

"Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another."
 
M

Mosley

Curt_C said:
perhaps the user that IIS is running under (IUSR_<MachineName> by default)
doesn't have permission. Try changing the IIS user to an Admin account as a
test.

Found it, page was on my test site, where i dont need to log in.

thanks mate,

but what about my other problem



My old problem is that even when I ran this from a VBS file I find that
after it has run My index server won't work it gives his error

"Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top