Naming conventions for IIS Site RRS feed

  • Question

  • Hi Team,

    I have created an application which gets port number and site name from user and will create a new site in IIS. In this case, sometimes i am getting the below exception. I think I have given invalid characters in site name.

    Error: Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/

    For example, I am getting the below exception while giving this site name: TestSite[1]

    Error Details : Filename: \\?\C:\WINDOWS\system32\inetsrv\config\applicationHost.config
    Error: Unrecognized configuration path 'MACHINE/WEBROOT/APPHOST/TestSite[1]

    So I need to know what are all the limitations to name a site in IIS manager. Like what are all the valid & invalid characters, valid positions of characters.

    Is there any document available for this?

    Regarding this i got this guide "https://support.microsoft.com/en-us/help/2933738/restrictions-and-limitations-when-you-sync-sharepoint-libraries-to-you". May i follow this support guide for my requirement?


    Kathiresan S.

    //*Answer for the Technical query*//

    • Moved by CoolDadTx Wednesday, July 19, 2017 2:00 PM ASP.NET related
    Wednesday, July 19, 2017 7:34 AM

All replies