Welcome to ISAserver.org
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
My Subscription |
My Forums |
Address Book |
Member List |
Search |
FAQ |
Ticket List |
Log Out
Remote access via .Net
|
Users viewing this topic:
none
|
Logged in as: Guest
|
Login | |
|
Remote access via .Net - 17.Aug.2006 10:27:21 AM
|
|
|
Martin_
Posts: 28
Joined: 9.Jan.2005
From: Germany
Status: offline
|
Hi, I want to admin an ISA2004 in a webapplication (aspx). I cannot connect to the ISA. neither c# or vb.net workt, but same code as console-app works fine. So I CAN access remote to the server. the webapplication runs under an administrative account. in the line root.Arrays.Connect("Isa") will appear a System.IO.FileNotFoundException. If the app runs on the ISA itself, it works. Even after an update to ISA2006 on both servers, it works Any hints? TX a lot Martin PS: c# under ISA2000 remote works ;)
< Message edited by Martin_ -- 17.Aug.2006 4:59:12 PM >
|
|
|
|
RE: Remote access via .Net - 28.Aug.2006 11:43:08 PM
|
|
|
releaser
Posts: 75
Joined: 23.Jan.2004
From: Yavapai County Arizona
Status: offline
|
So you're running an aspnet app on a web server that tries to connect to and administer your ISA2004 server? Are you certain you have the right inbound port(s) open up on the ISA server on the right interface as well as proper permissions for the account that the web server is using for your web application for access? If your answer is no, then I hope I helped enough to lead you in the right direction. If your questions is "Yes, I'm certain that all is correct" then I'm not sure what to tell you. If you do figure out your problem, please repost what it was. If you're willing to share, i'd also like to see the code you use.
|
|
|
|
RE: Remote access via .Net - 25.Nov.2006 1:23:18 PM
|
|
|
Martin_
Posts: 28
Joined: 9.Jan.2005
From: Germany
Status: offline
|
Hi releaser, sorry for my very late answer. Ok, at the end I could find a solution, but not a simple one. So fore the moment I prefere update to ISA 2006, where connecting is very easy und was successfull at once. Here the bit of code: private void Button1_Click(object sender, System.EventArgs e) { FPCLib2004.FPC root = new FPCLib2004.FPC(); FPCLib2004.FPCArrays myArray = root.Arrays; FPCLib2004.FPCArray isaArray = root.Arrays.Connect("s2","","",""); FPCLib2004.FPCPolicyRules rules = isaArray.ArrayPolicy.PolicyRules; Button1.Text = rules.Count.ToString(); } Conditions: - connecting from webserver, s1, whitch is in the same domain as s2, the ISA. - application runs as local system but is impersonated by an admin account (domain admin) for other reasons. As said before, this construct works fine on ISA06 but fails in the connect-line on ISA04. I could it make working by - make the system of the webserver, s1$ to an ISA-Administrator as well as the admin account whitch is impersonated. - using account, domain, pwd in the connect methode. (both has to be done). I spend a lot of time in investigation and there a not a lot of documentations or weblinks on this materia. hope that helps. Martin sorry for the sad english, I learned first Latin at school ;)
< Message edited by Martin_ -- 25.Nov.2006 1:25:16 PM >
|
|
|
|
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 |
|