For everyone else...
* code copied from http://blog.crowe.co.nz/archive/2006/05/30/642.aspxCode:System.EnterpriseServices.Internal.IISVirtualRoot vr = new System.EnterpriseServices.Internal.IISVirtualRoot(); string sError; vr.Create("IIS://localhost/W3SVC/1/Root",@"C:\Demos\WebServices\","WebServices",out sError);




Reply With Quote