Got precisely the same error and came to this question. As @SpaceBison mentioned in comments, this answer describes the solution – https://stackoverflow.com/a/12867753/404099. I spotted it too late and it misses some steps. This is what worked for me:
Windows Server 2012, IIS 8.5. Should work for other versions too.
- Go to server manager, click add roles and features
- In the roles section choose: Web Server
- Under Security sub-section choose everything (I excluded digest, IP restrictions and URL authorization as we don’t use them)
- Under Application Development choose .NET Extensibility 4.5, ASP.NET 4.5 and both ISAPI entries
- In the features section choose: NET 3.5, .NET 4.5, ASP.NET 4.5
- In the web server section choose: Web Server (all), Management Tools (IIS Management Console and Management Service), Windows Authentication – if you are using any of it
Related Posts:
- How to fix No connection could be made because the target machine actively refused it 127.0.0.1:64527
- failed to load resource: the server response with a status 500 (internal server error)
- applicationhost.config file path in IIS 7, 7.5, 8, 8.5 and IIS 10?
- How can I secure passwords stored inside web.config?
- What is the use of @Html.AntiForgeryToken()?
- Automapper missing type map configuration or unsupported mapping – Error
- CS1617: Invalid option ‘6’ for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default
- What is @section scripts and what it is used for
- MVC Razor @foreach
- Authorization has been denied for this request – New Web API Project
- Effectively use async/await with ASP.NET Web API
- What is the difference between XAMPP or WAMP Server & IIS?
- JQuery – $ is not defined
- What does ‘IISReset’ do?
- IIS: Where can I find the IIS logs?
- Twilio TwilioRestClient does not contain a definition for SendSmsMessage
- how to call jquery selector from outside kendo window?
- Refused to display in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’
- Assembly’s manifest definition does not match assembly reference
- System.web.mvc missing
- Compiler Error Message: The compiler failed with error code -2146232576
- Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
- Infinite Scrolling in Asp.Net MVC with jQuery / AJAX Issues
- What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?
- A potentially dangerous Request.Form value was detected from the client
- What is ViewModel in MVC?
- What does aspnet_regiis.exe do
- What is the difference between a web API and a web service?
- jQuery $.cookie is not a function
- Process exists with ExitCode 255
- Bad Request- Invalid Hostname while connect to localhost via wifi from mobile phone
- What is the difference between ASP.NET and ASP.NET MVC?
- Failed to load resource: the server responded with a status of 401 (Unauthorized) /App/AngularJS/angular.min.js
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- The connection to the website was reset. Error Code: INET_E_DOWNLOAD_FAILURE
- Why should I use IHttpActionResult instead of HttpResponseMessage?
- HTML.ActionLink method
- Could not load file or assembly ‘Microsoft.Web.Infrastructure,
- @Html.BeginForm Displaying “System.Web.Mvc.Html.MvcForm” on Page
- Styles.Render in MVC4
- Set space between divs
- System.ComponentModel.Win32Exception: Access is denied Error
- PHP Fatal error: Call to undefined function mssql_connect()
- There is no ViewData item of type ‘IEnumerable
‘ that has the key country - Connection string using Windows Authentication
- How do you change session timeout in IIS 8.5?
- What does HTML.Raw do?
- How to open a URL in a new Tab using JavaScript or jQuery?
- Maximum request length exceeded.
- The model item passed into the dictionary is of type .. but this dictionary requires a model item of type
- Could not load file or assembly Exception from HRESULT: 0x80131040
- How to connect signalR from angularJs
- The ‘Access-Control-Allow-Origin’ header contains multiple values
- The name ‘ViewBag’ does not exist in the current context – Visual Studio 2015
- How to make Check Box List in ASP.Net MVC
- How can I fix the “No certificates found – The app Chrome has requested a certificate” Android / Google Chrome issue
- How handle Application Error Exception code: 0xc00000fd
- How to fix javascript .toFixed is not a Function error
- Unable to launch the IIS Express Web server
- Wrong permissions when uploading a file through WordPress | IIS
- WordPress Subdomain MultiSite on localhost XAMPP on :8080 with IIS taking port 80
- Plugins won’t auto-update on IIS
- WordPress Network on IIS7/SQL Server – Rewrite Issues
- Nothing Found for Index Php Error
- Migrating WPMS from apache to IIS7 causes Database Error
- Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7
- WordPress Network for regional company websites
- Multisite setup on IIS with subdomains
- wordpress upgrade has broken my permalinks
- Multi-site vs seperate installs for just 3 blogs?
- Where Does WordPress Make cURL Requests? How To Add cURL Option
- Page not found error shown while installing wordpress on IIS server
- Nothing Found error when creating new posts – how to correct this?
- Why does the ‘Month and Name’ Permalink Format not Work on my new WordPress Site (running on IIS7)?
- WordPress unable to create folders even though correct NTFS-rights are set
- Admin Panel Slowdown After SSL Verification
- WordPress + PHP + IIS + PHP Fatal error: require():
- Added Custom Post Type and the View Option Doesn’t Work
- Configure Php server with ISAP
- WordPress 3.0.1 on IIS 6 Web Server PermaLink Issues
- Permalink opens attachment instead of page
- WordPress Bug on IIS ? Problem when uploading image on IIS 7
- Permalinks on Windows IIS not working and web.config breaks site – does wordpress not support windows server now, if so how?
- strange behaviour with “rin” in brand new installation of 4.6.1 [closed]
- Too Many Redirects – WP-Admin Only
- wordpress sub-directory sites on a sub-domain?
- Installing plugins on IIS-hosted site [closed]
- Moving blog and maintaining current permalinks
- IIS Authorization Rules breaks WP REST-API and results in fail in Site Health
- WordPress CSS completely broken on IIS
- Suddenly got alert when trying to login to admin panel of wordpress
- Configure redirects with web.config
- 404 Errors on Every Page (Including Homepage) After Migrating From IIS to Apache
- Multisite subdirectory root not accessible
- Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?
- How to back-up a database on IIS
- Media Library won’t recognize SOME old files after move
- Problems with ‘require (./xxx)’ on IIS7.5
- Permalinks is not working in my wordpress setup
- Best way to redirect all HTTP to HTTPS in IIS