Okay, this bit me again today, and I didn’t remember the solution from previous research so I had to research it again. That to me means I need to write it up in a blog post. :)
I’m running WordPress for this blog. It is hosted on a Windows 2012 R2 server (using IIS, not Apache) with the latest versions of PHP and MySQL installed.
I uploaded a post earlier that had a PNG file screenshot included. The PNG file uploaded fine and showed up fine in the Media management screen of WordPress but it wouldn’t display in the actual post. The issue winds up being a permissions problem. Read more »
I got behind again on my WordPress updates – I can be pretty lazy about that with the theory of “if it ain’t broke…” but I was doing a post or two today and the available updates were screaming at me (well, that little icon kept catching my eye). I had 6 plugin updates and one full WordPress update available.
So, I took the plunge. Being a Windows guy, and a long time server guy, I’m ALWAYS nervous about updates. But once again WordPress held strong and true. Every one of the updates processes flawlessly without any issues at all.
Good for you WordPress.
BTW – I like the new administration console interface. Very nice. :)
I was trying to associate an elastic IP to a running EC2 VM today and kept hitting this error. There is surprisingly little available via Google when typing in the error message – nothing actually with an exact match. So I figured I’d drop a quick post to help out other people like myself who might run into this issue. Read more »
The topic recently came up of the best way to convert a folder to an application on remote shared hosting server. Some hosts may have this built-in to their control panel. I know many (like Cytanium) have options in the control panel to create Virtual Directories, but sometimes an application specifically needs its folder to be marked as a literal “application” within IIS. Read more »
I fought with IIS8 and ASP.NET 4.5 way longer than I should have had to this morning.
Per previous lessons learned, I used WebPI to install IIS and the recommended configuration. I also selected .NET 4.5 and Web Deploy. Afterward I threw up a simple Hello World type ASP.NET page but when I hit it I got this error:
HTTP Error 404.17 – Not Found
The requested content appears to be script and will not be served by the static file handler.
I checked the application pool and saw that it was set to 4.0. I also checked under Roles-IIS and confirmed that the server thought ASP.NET 4.x was installed. Yet obviously something wasn’t working properly. If I changed the application pool to 2.0 the test page loaded fine.
After a bunch of troubleshooting trying to figure this out, I decided to step back into WebPI and see if I could reinstall 4.5 that way. While it doesn’t allow a “reinstall” I did notice that the “IIS: ASP.NET 4.5″ component was showing as available for install. Hmm. Worth a shot.
So I let it run through that install, tested again, and the test page worked. Yeah! It seems like there might be some sort of failure or bug in this process since IIS thought 4.x should work yet it seems that there were no mappings set up until I did the additional component install.
(BTW – I tested this on two different fresh Windows Server 2012 installations, so it wasn’t just one bad build.)
Well, lesson learned and I’ll get through this a lot faster next time. Hopefully this saves someone else hours of troubleshooting and allows them to get on with their coding.