I’m using FB 4.2.0.276, and having no end of trouble with IIS actions that used to work. I have verified that all my services are running as expected, that I can create and delete virtual directories using cscript, and yet I can’t get the FinalBuilder actions to run.
Even doing an IISRestart merely cacks with generic “Could not conect to server…” style information. Does anyone have any ideas?
I ought mention the exact text is:
Connectig to server ‘localhost’ …
An error occured in accessing the WMI Provider:
Could not open IIS 6 service provider on localhost :
Forcing FinalBuilder into debug indicates:
try
{
objService = objLocator.ConnectServer(ServerName, Service, User, Pass);
}
catch(E)
{
throw "Could not open IIS 6 service provider on " + ServerName + " : " + ExceptionMessage(E);
}
from FinalBuilder-OnExecute in FinalBuilder.exe. This is only on delete virtual directory though.
Hi Chayim,
All of the IIS actions use the same code to obtain access to the WMI service provider, so they’re probably all failing for the same reason (namely the SwbemLocator.ConnectServer() call which is shown above in the debug output.)
I’ve emailed you some suggestions via our support system, so please let us know how you go (via just one of these two locations, if possible.)
Regards,
Angus