IIS Index Server - Access denied - when using ISAdm

This is Interesting: Free IT Magazines  
Home > Archive > IIS Index Server > March 2005 > Access denied - when using ISAdm





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Access denied - when using ISAdm
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
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com