• RSS
  • Twitter
  • FaceBook

Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

ISA Remote management from ASP problem

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming >> ISA Remote management from ASP problem Page: [1]
Login
Message << Older Topic   Newer Topic >>
ISA Remote management from ASP problem - 19.Apr.2007 1:21:05 AM   
tlarrea

 

Posts: 6
Joined: 25.Aug.2004
Status: offline
Trying to script some remote rule controls from an ASP page with IIS 6 running on a separate server to ISA and running into a problem.  At the moment, i have a short piece of test code (correct servername, password etc are actually filled in on my code)

 Set root = CreateObject("FPC.Root")
 Set isaArray = root.Arrays.Connect("servername", "username", "domain", "password")
 Set rules = isaArray.ArrayPolicy.PolicyRules
 For Each rule In rules
     if rule.Name="Lab Access" then
         set labs=rule.SourceSelectionIPs.Subnets
         for each lab in labs
             response.write("Lab:" & lab.Name & "<BR>")
         next
     end if
 Next
 root.Arrays.Disconnect isaArray



When I try and load this page from my local machine, if I currently have a terminal server connection active to the IIS box, it works, but if I don't have a terminal server connection to the IIS machine, i get the error
error '80070002' net.asp, line 5 


My understanding is that error is a "file not found" type problem?  Why would this only work while i have a terminal server connection to the IIS box, which is separate from the ISA box, and I'm trying to load the page in a local machine browser?

thanks.

< Message edited by tlarrea -- 19.Apr.2007 1:26:57 AM >
Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 Misc.] >> ISA Server 2004 Programming >> ISA Remote management from ASP problem 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