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.
Tag Archives: IIS
While attempting to install IIS through role services with other than the default options checked or ASP.Net under IIS in role services on Windows Server 2008 and 2008 R2 you may come across errors like the one below; ‘Attempt to install XXX failed with error code 0x800736B3. The referenced assembly is not installed on your system.’
After little success trying a variety of ‘fixes,’ I came across this KB article:
Once I downloaded and installed the proper hotfix, I was able to install IIS and ASP.Net on my Windows 2008 R2 server.
There are some neat counters available in Windows Performance Monitor for showing some IIS (Internet Information Server) statistics. My three favorites are:
- Current Anonymous Users: This counter shows the number of current anonymous HTTP connections. Since most web sites serve content to anonymous users, it’s the one that seems to make the most sense to me when trying to gauge current traffic / activity on the site.
- Anonymous Users / Second: This counter shows the data above, but how many connections per second those site visitors are generating.
- Maximum Anonymous Users: This counter just show the peak number of anonymous users that were connected at a single time. Sometimes it’s neat to see where the site activity peaked.
How do you see these? Here are the steps and screenshots:
First find the Performance Monitor by clicking the Start Menu then Administrative Tools then Performance Monitor:
Then click on Performance Monitor in the left-hand pane under Monitoring Tools. After that you are presented with the graph window and you can click the green plus icon to add counters to this window (play around and different counters – there is a LOT of really neat information available).
After clicking the green plus icon, you are presented with a huge list of counter groups. Within each of those groups are individual counters. There are a ton – you really do need to just play around and check out the options.
For web (IIS) counters though, look for the group named Web Service and click the plus sign next to it to expand and show the individual counters.
After you add the counters you’ll see them listed at the bottom of the graph window, along with the color of each counter so you can match them easily.
There you go. Play around and have some fun checking out what type of traffic is hitting your site and how well the server is performing.
Open WebPI, select Products in the top menu bar, then select Server in the left menu bar, then choose the IIS Recommended Configuration. What’s installed/configured with the IIS Recommended Configuration install?
- Static Content
- Default Document
- Directory Browsing
- HTTP Errors
- HTTP Logging
- Logging Tools
- Request Monitor
- .NET Extensibility
- Request Filtering
- Static Content Compression
- ISAPI Extensions
- ISAPI Filters
- WAS Process Model
- Management Console
- WAS Configuration API
- WAS .NET Environment
- .NET 4.5 Extended with ASP.NET for Windows 8
- .NET 3.5 for Windows 8
Let WebPI install all these things for you and you’re pretty much ready to roll. A few other things you might want to install on your web server afterward (also through WebPI) are:
- Web Deploy
- URL Rewrite
- FTP Publishing
Did you know that WordPress works – and works great – on Microsoft Windows? Sure, WordPress runs on top of PHP and MySQL, which are commonly thought to be related to Linux, but they work perfectly on Windows Server also. In fact, this blog post that you’re reading right now is running via WordPress on Windows, MySQL, and PHP.
As you can see in the post, Microsoft’s WPI (Web Platform Installer) makes it super-easy even for non-administrators.