Archives
-
IIS7 Mime Mappings
Tweet For very good reasons, not all extensions are recognized by IIS by default and may return a 404 error when trying to access them from your site. If you have need to add more extensions to be “allowed” – …
-
ASP.NET Security Update Shipping Thursday, Dec 29th
Tweet Scott Guthrie just provided an update on an ASP.NET vulnerability and the availability of a patch to mitigate the issue. The patch will release today and everyone should start testing ASAP and planning the deployment to their servers. The …
-
Great Pointers For Analyzing Memory Crash Dumps
This is an older article (2006) but still an excellent resource for anyone who has to do deep troubleshooting and research to determine the cause of a crash in a .NET application. With these tips, and perhaps just a little luck, you can even trace the issue down to the exact line of code that's causing the crash.
-
Resolving the error: ~/Telerik.Web.UI.WebResource.axd is missing in web.config.
When attempting to run an application that uses certain Telerik controls, you may run into the error below:
-
What's a TCP/IP Port?
What is a TCP/IP port and why does it matter on my dedicated server?
Every accessible server has one or more IP addresses and each of those IP addresses has a large range (0-65,535) of "ports" that can be used. Connections to servers are made based on a combination of IP address plus port. Services running on the server that accept incoming requests designate what IP/port combination they are going to listen to, and only one service can listen to any combination at one time.
-
Troubleshooting SSL in IIS
Terri Donahue @ OrcsWeb was helping a client with an SSL problem recently and wrote up this nice guest post below to help anyone else who may be in a similar troubleshooting situation.
-
ASP.NET Has Finally Gone Social (Media)
ASP.NET is now on Facebook (http://www.facebook.com/asp.net) and Twitter (http://twitter.com/aspnet).
-
Microsoft Lightswitch Deployment Tip
A customer forwarded a screenshot to share a tip when deploying a LightSwitch application to a web host. There is a box in the LightSwitch publishgin wizard that reads "IIS Server has the LightSwitch Deployment Prerequisits installed". It seems that regardless of the server configuration, to assure compatability and successful deployment, clearing the check from that box before pushing the code is a good idea. Below is the image he sent:
-
How to set content expiration for your IIS7 site
Do you want to assure that client browsers will always download the latest copy of your page(s) rather than potentially pulling an outdated page from their local cache? You can enable and manage content expiration in IIS7 to control this at the server-side. Below is a walk-through of enabling this using the IIS7 Remote Management Services.
-
Installing and configuring Bonobo GIT Server for Windows (IIS7) for remote IIS push capability (Guest Post)
A co-worker - Terri Donahue - was helping a client the other day with some troubleshooting for GIT's remote push capabilities on Window Server (IIS7). She had zero previous experience with GIT but after some research and testing she got it working. I thought it might be useful to others so asked that she do a casual write up for a guest post that I could put on my blog, so here it is. Enjoy!
-
Microsoft Lightswitch
Lightswitch 2011 has been released now and if you haven't already checked it out, you should. We have been testing it through the beta cycle on an internal project and our experience has been extremely positive. Like any new technology there are little quirks to learn and accept but overall it is a great productivity enhancer.
-
Resolving a "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined" Error
People get this error a lot when upgrading an ASP.NET 2.0 application to ASP.NET 4.0.
-
Install and Use the IIS Database Manager to Manage a Remote SQL Server or MySQL Database
The IIS Database Manager is a *great* tool for connecting to, and managing, remote databases - both Microsoft SQL Server and MySQL databases. But don't install it from Microsoft's site or even WebPI or you'll just get headaches.
-
Problem Steps Recorder Overview
The Problem Steps Recorder is a handy tool you may want to check out if you ever need to capture issue-reproduction and share that information with others - or have others capture the information to share it with you. :)
-
IIS Database Manager
If you want to connect to, and manage, a database on a remote server using the IIS Database Manager tool - do NOT try to download and install it from the link below. All you'll get is frustration. While not clear to me, or several other people who stumbled upon, that link is for the server-side component... not the part you need as an end-user.
-
Deploying LightSwitch Applications
Hopefully this is because LightSwitch is still in beta (as of this writing on 5/31/11) but from our research and testing, it seems that the documentation in the following article is correct:
-
Help Test Cytanium's Site Cloud
Go get a free Site Cloud test account and check it out. You can upload content using WebMatrix or Visual Studio... or deploy any of the Web Application Gallery applications directly from the control panel. Set up multiple sites. Set up multiple instances (web workers*) per site. Hit it with some load and let us know how the experience goes.
-
10 Mistakes To Avoid In Setting Up An E-commerce Site
According to SearchEngineJournal.com, the main things to avoid in setting up an e-commerce site are:
-
Manage Your Default Documents with IIS Manager
Take charge of your default documents by using the IIS7 Remote Administration tool. If you don't already have it installed, check out the prerequisite step, then read this post on getting it installed and connected to your site.
-
IIS Compression
Do you want to both save money and speed the load time of your web pages? Then check out IIS's built-in compression feature.
-
Affordable Load Testing For Your Web Site
I stumbled across a cool SaaS load-testing site: http://loadimpact.com/
-
New Elastic Cloud Services on IIS
There are some very cool and exciting things happening with Microsoft's web stack, one of which is the new elastic cloud services for IIS. These new services leverage WFF and ARR, which are two awesome (fairly) new IIS technologies.
-
Access WebMatrix Project From Another Machine
By default WebMatrix projects, which run in IIS Express, are accessible only from the local machine using the localhost name in the URL. There are some situations though in which you might want to run the project on either the server name or an IP address so that someone on another machine can access the application for review.
-
URL Rewrite Sample to Add www to the URL
Here is a sample web.config file to redirect any requests to http://site.com to http://www.site.com.
-
URL Rewrite 301 Redirect For a Single Page
Want to set up a 301 redirect for a certain single page on your site to send users to a different URL?
-
Dynamic IP Restrictions for IIS
There is a new extension for IIS - currently in beta 2 - that helps mitigate or block a denial of service or brute force attack. It's called the The Dynamic IP Restrictions Extension for IIS.
-
Can't create a folder named com1
I find it interesting that in 20+ years of working in technology, most of those years working with Windows systems, that yesterday was the first day I ran into this issue: Windows cannot create a folder named "com1".
-
Microsoft Web Platform Installer Update
Microsoft updated Web PI 3 on Friday. You can get the update by opening Web PI on your local machine if it is already installed (it will auto-prompt you to update) or download it directly from here: http://www.microsoft.com/web/downloads/platform.aspx
-
Let's Install an Orchard "Module"
Orchard CMS has "modules" that you can install. Some interesting, many not so much. Here's a quick walk-through showing some images of when I recently installed the YouTube module.
-
FTP Publishing From WebMatrix (and FYI on Publishing Log)
After seeing a tweet from someone this morning, it occurred to me that I haven't personally tested out the FTP Publishing experience of WebMatrix yet. So, I did. :) I cranked up WebMatrix and my Orchard CMS build then adjusted the Publish settings to use the FTP information of my Cytanium (cheap shared Windows hosting) testing account. It was actually just as smooth as possible - smoother than I expected actually.