By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,484 Members | 1,851 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,484 IT Pros & Developers. It's quick & easy.

Ne w and a old problem

P: n/a
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."
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
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."


--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Mosley" <ho**@that.com> wrote in message
news:Of**************@TK2MSFTNGP10.phx.gbl...
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."


Jul 19 '05 #2

P: n/a
Can't help ya on the second part. Dont' really use Index Server much, sorry.

Glad to hear you got the first part worked out though.....

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Mosley" <ho**@that.com> wrote in message
news:#$**************@TK2MSFTNGP11.phx.gbl...

"Curt_C [MVP]" <Software_AT_Darkfalz.com> wrote in message
news:OJ**************@TK2MSFTNGP11.phx.gbl...
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."


--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
..Offering free scripts & code snippits for everyone...
---------------------------------------------------------

"Mosley" <ho**@that.com> wrote in message
news:Of**************@TK2MSFTNGP10.phx.gbl...
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."



Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.