You must Sign In to post a response.
  • Category: .NET

    Issue creating website in IIS

    Hi All,

    Accidentally deleted a website that was hosted in IIS.

    when trying to create new website, i get error

    There was an error while performing this operation

    details : cannot create a file when that file already exists (exception from hresult:(0x800700B7)

    Thanks in advance
  • #769429
    Find out your website name from the list of websites present in your IIS under default websites and right click select remove.
    Now right click on default website and select add application then select your application by browsing to its physical location on your machine.
    Now you will be able to run your website in local machine.
    Hope it helps.

    Sridhar Thota.
    Editor: DNS Forum.

  • #769707
    Even if you deleted web site, some times it still refers in IIS hence request to restart IIS and try to create web site.
    hope, restarting of IIS will resolve your issue.

    Thanks!
    B.Ramana Reddy


  • Sign In to post your comments