| chrisholmes 2005-03-21, 11:11 am |
| Greetings,
I have a new Index server which is working OK I now want to monitor the admin via ASP web pages
I have followed a number of threads which suggest the following code (See below) but I get "Access Is Denied" on the following line..
Set ObjCatAdm = ObjISAdmin.GetCatalogByName("TestInSite")
Please can anyone advise how I can assign appropriate UserId & Pws to allow access to the info?
Thanks in advance!!!
dim objISAdmin
dim lngStateInfo
set objISAdmin = Server.CreateObject("Microsoft.ISAdm")
objISAdmin.MachineName="."
Set ObjCatAdm = ObjISAdmin.GetCatalogByName("TestInSite")
Response.write ObjCatAdm.CatalogLocation
' Get the catalog state if content indexing service is running
If objISAdmin.IsRunning Then
lngStateInfo = objCatAdm.StateInfo
End If
Response.write objCatAdm.StateInfo |