IISExpress User Interface [closed]

IIS Express is a lightweight version of IIS and it doesn’t ship with the the admin UI tool like IIS Manager. You could install WebMatrix, but it only allows you to configure few settings (binding, default documents, SSL). The options you have today: you can use appcmd.exe command line tool that can be found in … Read more

ASP.NET MVC5/IIS Express unable to debug – Code Not Running

For me the solution was a much simpler one. In my Solution Explorer in Visual Studio, I right click on the web project, chose properties and then navigated to the “web” tab. From there I changed the Project URL to another port number. For example, if it was http://localhost:1052 – I changed it to http://localhost:4356. … Read more

how to run iisexpress app pool under a different identity

It looks like this should be possible. In your IIS Express site’s applicationhost.config file, there is a <processModel/> element defined in <applicationPoolDefaults> under <applicationPools> The <processModel> element has attributes for userName and password. From MSDN: Specifies that ASP.NET will run the worker process with a Windows identity that is different from the Windows identity for … Read more

Why and how to fix? IIS Express “The specified port is in use”

I had a similar issue running Visual Studio 2019 on Windows 10. Some solutions that worked for others seemed to include: Changing the application port number. Have Visual studio automatically assign a port number each time the application start. Restart Visual Studio Restart the computer. Unfortunately, none of these solutions worked for me, assigning another … Read more

IISExpress 8 Cannot read configuration file redirection.config

I had a similar issue to @Myles J but renaming %userprofile%\Documents\IISExpress\config\applicationhost.config didn’t work. What I had to do was the following: Close Visual Studio. Rename the %userprofile%\Documents\IISExpress\config directory. Start Visual Studio again. The %userprofile%\Documents\IISExpress\config directory will be recreated with the default config files. Copy the original applicationhost.config file over the autogenerated one. Before anyone asks: … Read more

How to solve ERR_CONNECTION_REFUSED when trying to connect to localhost running IISExpress – Error 502 (Cannot debug from Visual Studio)?

Try changing the port number in your project? Project Properties → Web → Servers → Project Url: Don’t forget to click Create Virtual Directory, or reply “Yes” to the prompt for creating virtual directory after you change your port number! (Thanks Connor) Note: I’m a little reluctant to post this as an answer, as I … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)