How to configure Web Deploy publishing feature on IIS so developer can publish?

It appears that one must still download the Web Deploy extension. Also, Version 3.5 is now available. To download on a server, default IE security rules will require you add something like http://*.microsoft.com as a trusted site else you can’t download the installer. The whole package is rather large in its purpose and covers many … Read more

How do I properly instantiate 32-bit COM objects in classic ASP after installing Windows Update KB4340558?

We were affected with multiple customers too. I ruled out invalid strong-name signing of our assemblies, since the .NET Assemblies from the Framework itself were affected by that access-denied error too. Finally I managed to solve the issue by configuration. Apparently the authenticating identity of the website has now to match the identity of the … Read more

MVC 4 website with .NET 4.5 on IIS 8 in Windows 8 gives 403.14 forbidden error [closed]

In “Turn Windows Features on or off”, under Internet Information Services -> World Wide Web Services -> Application Development Features, make sure that .NET Extensibility 3.5, .NET Extesibility 4.5, ASP.NET 3.5, ASP.NET 4.5, ISAPI Extensions, and ISAPI Filters are SELECTED. This was outlined here: http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-using-aspnet-35-and-aspnet-45#TOC301258515 but since that refered to server 2012 instead of windows … Read more

Windows Authentication for ASP.NET MVC 4 – how it works, how to test it

For IIS 8.5 and MVC 4: How does Windows Authentication work? In this mode, User.Identity (as in HttpContext.Current.User.Identity) is populated by the underlying web server. This might be IIS Express in the link from @R Kumar demonstrated, or full blown IIS as in the video by @Thomas Benz. Specifically, User.Identity is a WindowsIdentity object. E.g. … Read more

IIS 8.0 ASP.NET and Error 500.19

ASP.Net applications come pre-wired with a handlers section in the web.config. By default, this is set to readonly within feature delegation within IIS. Take a look in IIS Manager, under the Server name → Feature delegation. If Handler Mappings is set to readonly and your site web.configs have a handlers section, flip the value to … Read more

What is the file location of applicationhost.config in the different versions of IIS?

For the “big” IIS versions since IIS 7, the location is always the same: %windir%\System32\inetsrv\config\applicationHost.config For IIS Express there is one per user, the default location is: %USERPROFILE%\Documents\IISExpress\config\applicationhost.config again it’s the same for all versions. You can run multiple instances of IIS Express per user, you would need to specify the location of the applicationhost.config … Read more

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