« Previous Next »

Thread: IIS7 Website Properties

Last post 11-25-2008 1:14 AM by machsolDeveloper. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 11-24-2008, 4:26 AM

    IIS7 Website Properties

     Hi All,

    Please anybody who could help me to set the IIS7 website properties such as

    anoymoususer, readaccess, writeaccess, limitbandwidth,connectintimout,path,add domain aliases, etc the complete list of properties m using microsoft.web.administration.dll API. Thanx

  • 11-24-2008, 12:15 PM In reply to

    • rlucero
    • Top 50 Contributor
    • Joined on 09-29-2006, 3:35 PM
    • Seattle, WA
    • Posts 164

    Re: IIS7 Website Properties

  • 11-25-2008, 12:58 AM In reply to

    Re: IIS7 Website Properties

     Hi rlucero;

    "You can also set the attribute value by using the Item or Value properties."

     

    i have a problem regarding this thing for example the method

    setAttribute("Atributename",MyValue)

    than what should be the Attributa name in that function that would be any metabase property i think but what is that property text which i required for anonymous user, custom errors, website properties as read,write,DirBrowsing permisiions etc mean i want list of ADSI/metabase properties

  • 11-25-2008, 1:14 AM In reply to

    Re: IIS7 Website Properties

     http://msdn.microsoft.com/en-us/library/aa346847.aspx

    at this he is talking about the sectionpath  now how i come to know that what is the section path i needed to set/get object to handel the custom errors or mime types or default documents to set read write website properties etc...i found the code for default documents it Gets the section by the:

     Dim config As Configuration = mgr.Sites(DomainName).GetWebConfiguration()
                Dim documents As ConfigurationElementCollection = config.GetSection("system.webServer/defaultDocument").GetCollection("files")

    the notice able thing is  defaultDocument so please guide me for this thing thanx a lot

     

              

Page 1 of 1 (4 items)
Microsoft Communities