Custom Search

April 24th, 2008IIS IP Secuirty

No Gravatar

Carrying on from my IIS admin via a web service work, i needed to apply IPSecurity restrictions to some of the sites that would be created.

Plently of googling revealed some information about an IISIPSecurity class in .NET 3.0 and above, but i could only rough c# sample code here , and that was for a console app

so after many failed attempts to convert to VB.NET to work with my web service, and even tried the ADSIIIS.dll com interop, i gave up and converted the c# code into an assembly , which works. I know hind sight is 20:20, but i shodul have just done that in the first place

my code is here

Read the rest of this entry »

No Gravatar

For the Past week or so I have been developing a series of webservices to Manage IIS setting on a Large web cluster as single entity, and for days i have been bettling with a Unknown error (0×80005000). Plenty of Googling and MSDN Searching all talked about permisions issues. But most of the code worked on the target web server, just not on my laptop under Visual Studio

So i chucked a
System.Security.Principal.WindowsIdentity.GetCurrent().Name
Into my code and confirmed the USER ID is all correct.

So after a few head aches and some desk thumping, I closed visual Studio and reverted to first principles.

I started up compmgmt.msc and tried to connect to my target web server,  when i notice the web server snap in was not present. having now installed the IIS admin tools on my XP laptop,

Now it all works perfectly


© 2007 siliconpizza.com | iKon Wordpress Theme by TextNData | Powered by Wordpress | rakCha web directory

siliconpizza.com is using WP-Gravatar