Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Access denied

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,26751
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Access denied
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Access denied - 10/6/2005 4:01:53 AM   
  Recondo

 

Posts: 1
Score: 0
Joined: 10/6/2005
From: Montreal
Status: offline
Hey all,

Thanks for any help onthis, I am pretty new to this scripting stuff and this one is driving me bonkers.  I have the below script which i am trying to use to poll a pool of XP boxes to see which have logged on remote users.  The script runs fine as a VBscript but I get an "Access denied" message on the CreateObject line  when I run it as an ASP.  Does anyone have any ideas.

I have tried removing ANON from the site and having users log in

I have tried editing hte metabase so that the ANON user is a domain admn (testing purposes only) and in that case the I get teh message "A required privilege is not held by the client. "  whether or not that is better I really have no clue.

I have tried adding everyone to the "Log on as port of the OS" (again testing only) but that has made no change.

Can anyone else give me some Ideas of where to look?


      

_____________________________

If the world didn't suck we would all fall off
 
 
Post #: 1
 
 RE: Access denied - 11/23/2005 6:41:53 AM   
  Country73


Posts: 712
Score: 8
Joined: 8/25/2004
From: USA
Status: offline
I'm not 100% positive about this, but if I remember correctly, the line should actually look like this for ASP -

Set Locator = Server.CreateObject("WbemScripting.SWbemLocator")

Hope that helps.

(in reply to Recondo)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Access denied Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts