The Web Application Project […] is configured to use IIS. The Web server […] could not be found.

Since the accepted answer requires IIS Manager, and IIS Express doesn’t have IIS Manager or any UI, here’s the solution for you IIS Express users (and should work for everyone else too): When you open Visual Studio and get the error message, right-click the project Solution Explorer and choose “Edit {ProjectName}.csproj” In the project file, … Read more

Using Custom Domains With IIS Express

This is what worked for me (Updated for VS 2013, see revision history for 2010, for VS 2015 see this: https://stackoverflow.com/a/32744234/218971): Right-click your Web Application Project ▶ Properties ▶ Web, then configure the Servers section as follows: Select IIS Express ▼ from the drop down Project Url: http://localhost Override application root URL: http://dev.example.com Click Create … Read more

ASP.NET MVC on IIS 7.5 – Error 403.14 Forbidden

ASP.NET 4 was not registered in IIS. Had to run the following command in the command line/run 32bit (x86) Windows %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir 64bit (x64) Windows %windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir Note from David Murdoch’s comment: That the .net version has changed since this Answer was posted. Check which version of the framework is in the %windir%\Microsoft.NET\Framework64 directory and … Read more

Unable to launch the IIS Express Web server

I had the exact same problem. The reason – bad IIS config file. Try deleting the automatically-created IISExpress folder, which is usually located at %userprofile%/Documents, e.g. C:\Users\[you]\Documents\IISExpress. Don’t worry, VS should create it again – correctly, this time – once you run your solution again. EDIT: Command line for deleting the folder: rmdir /s /q … Read more

How to explain Katana and OWIN in simple words and uses?

Regarding the comment above, OWIN is not a framework. OWIN is a specification on how web servers and web applications should be built in order to decouple them and allow movement of ASP.NET applications to environments which were not supported before. Prior to OWIN, when building ASP.NET application, you were inherently bound to IIS due … Read more

IIS: Where can I find the IIS logs?

I think the default place for access logs is %SystemDrive%\inetpub\logs\LogFiles Otherwise, check under IIS Manager, select the computer on the left pane, and in the middle pane, go under “Logging” in the IIS area. There you will se the default location for all sites (this is however overridable on all sites) You could also look … Read more

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