IIS (Internet Information Services) not working on Windows 10 - iis

I have been having problems with my Windows 10 (for example my localhost:8000). So I started looking for an answer, and it looks like the good old IIS is causing this issue, maybe because it's not enable in the turn Windows features on/off. SO in theory it should be a piece of cake right? Well when I click next I get the following message:
Windows couldn't complete the requested changes.
The function attempted to use a name that is reserved for use by another transaction. Error code: 0x80071A90
I read somewhere that it may be related to the .NET Framework, I have Framework 3.5 and 4.6 installed. I have tried all possible combinations, enable both of them, disable both, only one, everything! Not real information around regarding the Error code either.
Does it have something to do with the version of Windows that I have? Which is Windows Home. Is there any other way to make it work? Thank you in advance for your input.

As this is one of the first hits when you search for that error message posting solution here...
If you get this error when trying to "Turn Windows features on or off" in Windows 10 - make sure to disable Antivirus program.
Culprit for me was Avast.
To disable Avast right click on the icon in task-bar -> Avast shields control -> Disable until computer is restarted.
After Avast was disabled I had no problems with adding new features.

Related

NOP Commerce Plugin Crashes Entire System

I'm working on a fairly customized version of NOPCommerce 3.10. I don't even know how this is possible, but I have cloned an existing NOP Commerce "discount requirement" plugin, changed all of the relevant pieces of code to reflect a new name, etc, and when I run NOP Commerce locally through the Visual Studio 2012 IDE and debugger, install and then attempt to use that discount requirement plugin, as soon as I select it from the discount requirement dropdown, my entire computer immediately crashes. Not the site. Not IIS. Not Visual Studio. The whole computer immediately just turns off. I've reproduced the same issue on 3 other developer workstations, so it's not something weird with my PC.
To make matters even more confusing, I published the site, including this plugin to our staging server, and not only does it not crash the server, or the site, but the plugin actually functions completely as expected without any perceivable issues.
EDIT: If I reboot in safe mode with networking, the issue goes away and the plugin works as expected. However, if I use selective boot, disabling all startup programs and all services except those that are required for networking and SQL server, the issue recurs. I'm not an IT guy, so I really don't know what's the difference between safe mode with networking and selective boot with all but networking services disabled, but clearly there is a significant difference as it pertains to this issue.
How is this even possible, and more importantly, what could be causing this and how do I go about finding and resolving the issue?
Edit 2: If I debug on any workstation that is not the same model as mine, it works fine. I believe I have narrowed the issue down to the Intel Integrated HD Graphics display device and/or driver. I've tried several different versions of the driver to no avail, so it seems like either the issue is with the device, or it is so obscure that it's never been identified or fixed by the manufacturer.

Windows 8.1 / Windows 10 breaks my ASP.NET / IIS : "Service unavailable"

With Windows 8.1 finally released to MSDN/Technet today I came across the following issue running my ASP.NET application after doing an in place upgrade with Win 8.1 RTM:
Service Unavailable
HTTP Error 503. The service is unavailable.
The AppPool has died and shows a status of Stopped
The IIS log has nothing
There's a clue is in the Windows Application log which contains this error
The Module DLL C:\WINDOWS\system32\inetsrv\rewrite.dll failed to load. The data is the error.
How can I recover my IIS to make it work again?
It looks like a simple uninstall and re-install of the rewrite module will do the trick.
Edit: As others have said - try a repair first - if it works then that should be faster.
It doesn't look like the Microsoft Web Platform Installer is able to uninstall it so just go to Programs and Features to uninstall it.
You'll find it listed as IIS URL Rewrite Module 2 and just click the Uninstall button on top.
Then reinstall it from here:
http://www.iis.net/downloads/microsoft/url-rewrite
Make sure your App Pool is started - or just restart IIS and it should all work again.
Edit: 8/30/16 : A similar but unrelated error can occur if you have the 'new' .NET core installed and update to Win 10 Anniversary edition. See here: https://github.com/aspnet/Home/issues/1583 - Running a repair on VS 2015 Tooling Preview should fix it. Wanted to add it here since the errors are very similar to this answer.
I got this Event Log error after updating Win8.1 to Win10. To fix, go to the Control Panel -> Programs and Features, locate IIS URL Rewrite Module 2, right click and select Repair (it's quick). Next, restart your stopped AppPool(s). Should be OK now.
No need to uninstall nor reinstall.
Gary Davis
Don't need to uninstall. Just do a Repair instead, and it will works.
For some weird reasons, the only solution for me was to install previous version of the module, from https://www.microsoft.com/en-us/download/details.aspx?id=7435
I just ran in to this issue after an update. All of the app pools where stopped!
Starting them resolved the issue.
I struggled with similar issues last night.
It started out with a complaint about missing redirect.dll. After installing IIS' Redirect feature, that log message disappeared and all I was left with was a bunch of error messages from WAS. It tried starting my application pool five times until giving up.
A listener channel for protocol 'http' in worker process '120' serving
application pool 'my app pool' reported a listener channel failure.
The data field contains the error number.
The error code was "8007007E" (File not found according to google).
I then installed ProcMon from sysinternals.com and every time the w3wp process complained about "NAME NOT FOUND" right before terminating, I googled and installed the corresponding IIS feature. I repeated this until I had installed them all and got everything working again.
Installing everything is not a good solution, but I do not have time to investigate deeper right now.
I came across similar symptoms after changing my domain password. I had to also reset my password in my (hard coded!) App Pool settings on my dev box.
I had a similar issue with "httpplatformhandler.dll failed to load". Again the solution was to download the appropriate httpplatformhandler install msi from http://www.iis.net/downloads/microsoft/httpplatformhandler and then run a repair.
The Repair worked for me after updating to W10 Insider Preview 160826-1902
I encountered the same problem in Windows Server 2012 R2. After I update Windows Updates to newest, it works.

Redraw issue in Visual Studio 2012

I'm wondering if anyone else has seen this issue and has a fix for it? The problem is with VS 2012 Ultimate where when it has been minimised or the lock screen has covered it it appears as shown in the attached screenshot.
This is the only application on my system (Dell E6510 running Windows 8) that exhibits these symptoms so I'm inclined to lay the blame at the application's feet rather than the system.
Playing around with the following settings appears to have resolved the issue for me. Your kilometerage may vary
If I check then uncheck any of those options it works until I close it, then you have to repeat again next time.
So did more research and found this mentioned on MS Connect site...
"I had a quick look at the "Extensions" running in VS2012, and noticed one I remember magically appearing without me really asking for it. HDInsightTools for Azure."
I removed that and all works! :) So maybe you need to review Extensions installed?

Visual Studio 2012 Profiler wont produce any output (Win 8)

I searched both the web and stackoverflow and I feel I'm the only one, so probabyl I'm soing something very simple ver wrong.
I run VS11 (2012) on a Win 8 64 machine and everything is nice and neat, the profiler too seems (!) to work as it should just that at the very end he's never able to show any results. I get an almost empty window which say that there are no data to show.
I used the "Sampling"
What i found browsing the web is a MS article saying the "Sampling" (which I used) is not available, which would explain it, but A) the article was about the Win8 preview and B) I also found some people giving nice examples of using the VS11 Profiler on Win 8 (in Sampling), so I know some people got it working. But how ?
I also tried running VS explicitly as Admin but it didnt make a difference. And yes, Instrumentation is working, but thats of no help for our project, we need Sampling.
I am also having this problem (I'm running Visual Studio Ultimate 2012, Windows 8 x64). It seems that if the program runs very quickly (mine runs under a second), there are no results. I decided to make it run for a few seconds and the sampling profile worked. After scouring the internet I have found some unhelpful webpages - but maybe they will report a fix in the future:
A thread on msdn about this issue
http://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/c609d76c-be22-4ffb-858c-73ccab591a78/
A blog saying that you should use Windows 7 to be able to configure anything for sampling (I hoped to be able to turn the sampling frequency down, but that isn't possible).
http://blogs.msdn.com/b/profiler/archive/2012/12/10/the-visual-studio-profiler-on-windows-8.aspx

Visual Studio 2012 RTM intellisense: fix for "hang/pause"?

I've just installed the Visual Studio 2012 RTM on a Windows 7 x64 desktop.
Unfortunately, I'm very underwelmed by the performance of the out-of-the-box installation. Everytime I try to rename a file in the solution explorer, change to a MVC cshtml editor, open a designer view, or intellisense pops up when I start typing with the c# editor, the whole visual studio applications hangs for 5-10 seconds.
There are no customizations, plugins, extensions enabled here that do not get applied with the standard installation.
Has anyone else experienced this? Has anyone else found a way to log the application faults which occur, or detect the hang. I need some way to determine what is going wrong, in order to identify what needs to be altered to rectify the installation.
The problem is you are consuming the lot more resources of the system which is causing hung state of VS. Please close any of other application who is using more RAM. You can take the help of Task Manager to close those application. Please keep in mind if you are running SQL standalone database instance services then its also causes the hand issue. The best is keep you system free from running unuseful application or Go for System upgrade. :-)

Resources