Lemonde
  • Lemonde
  • 100% (Exalted)
  • Advanced Member Topic Starter
7 years ago
When I am trying to load a website into my Windows 2012 server (IIS full not IIS express) in Visual Studio 2015 from the server locally
Configuring IIS Express failed with the following error: Initializing the applicationhost.config file failed. Cannot find iisexpress

I am trying to open with the local file path rather than using IIS sites.

If I open from another machine using UNC then it open without incident....
Sponsor

Want to thank us? Use: Patreon or PayPal or Bitcoins: bc1q4whppe29dw77rm4kv4pln0gqae4yjnxly0dny0hky6yhnafukzjsyrsqhk

All opinions expressed within these pages are sent in by members of the public or by our staff in their spare time, and as such do not represent any opinion held by sircles.net Ltd or their partners.


Lemonde
  • Lemonde
  • 100% (Exalted)
  • Advanced Member Topic Starter
6 years ago
Visual studio is looking for the local IIS as a development set-up, yes.

In general you do not want to install Visual Studio on the web server itself as it causes issues with some websites and backups. Windows backup will fail trying to backup your metabase with VS installed locally which is annoying.

Get a development machine with IIS locally installed and run VS as a local administrator in order for it to properly be able to access local IIS.