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

Forum statistics

Threads
474,076
Messages
2,570,565
Members
47,201
Latest member
IvyTeeter

Latest Threads

Top