News in the Category: IIS Subscribe to the rss of this category.

Total posts: 862 | Sort by Views | Sort by Hits

What is: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level?

Jotekes Blog, September 1, 2007
Views: 26,395 | Hits 40

This error occurs quite often, because you have more than one web.config file in your application. You might have other web.config at the root or application level (they can be the...

Missing ASP.NET Tab in IIS MMC on 64 bit machines

Hannes Preishuber, September 9, 2006
Views: 16,210 | Hits 184

some guy from microsoft blogged about the missing ASP.NET Tab in IIS MMC. On 32 bit systems there are 2 major workarounds ( aspnet_regiis -i and regkey)It seems that on 64 bit systems its not possible...

ReportViewer Samples for Visual Studio

Thom Robbins .NET Weblog, June 5, 2006
Views: 11,301 | Hits 358

Visual Studio 2005 includes new ReportViewer controls that you can use to add rich data reporting to Windows forms and ASP.NET applications. This download provides two complete samples so that you can...

[fix] IIS Unexpected error 0x8ffe2740 occurred - Skype on Port 80

JonGalloway.ToString(), September 20, 2005
Views: 9,799 | Hits 338

"Unexpected error 0x8ffe2740 occurred" is not a particularly helpful error message. It just means IIS can't start a website because port 80 is already in use.MS KB article 816944 has more info. ...

Simple web.config encryption

Clarity Blogs: ASP.NET, July 3, 2006
Views: 9,109 | Hits 47

Building an ASP.NET website is becoming easier with each new release of the .NET framework, but as the learning curve flattens and more and more developers create forward-facing sites, security concer...

Authentication failed because the remote party has closed the transport stream

Software/Technology Discussion, January 19, 2009
Views: 7,480 | Hits 348

If you receiver the error "Authentication failed because the remote party has closed the transport stream" when accessing "Search Settings" in the SSP, the following steps will res...

Turing off Http Keep-Alive and using Windows Authentication with IIS: Don't do it...

Rick Strahls WebLog, February 5, 2006
Views: 6,606 | Hits 499

  I just ran my head against the wall with a really strange Authentication problem. Well in retrospect, not all that weird, but I was about to throw the computer out the window… <g> &...

Message: Could not download the Silverlight application. Check web server settings

Al Pascual, April 6, 2009
Views: 6,302 | Hits 386

When deploying a Silverlight application on IIS you may get this error below when you trying to test it. This is very frustrating when deploying it into a new computer with IIS installed. When IIS i...

How do I turn on windows authentication in IIS 7

hongmeigs WebLog, August 21, 2007
Views: 6,256 | Hits 223

In IIS 6, you can start the IIS manager by typing the inetmgr at the Start->Run windows, and click on the web site, Right click on the web site, go to the directory security, you will have windows ...

IIS Default Web Site Won't Start!, April 17, 2006
Views: 5,703 | Hits 244

So I am playing around with the Telerik controls, the LINQ preview and C# 3.0 code, some demos I am creating for the upcoming VSLive conferences and some work for my job … when all of the ...

Avoid IISRESET in ASP.NET applications (added bonus: ASPRESET)

JonGalloway.ToString(), June 1, 2006
Views: 5,552 | Hits 443

I'm always a bit worried when I work with developers or system admins that still think you should "throw in an IISRESET just in case" when deploying ASP.NET applications. Cargo cult server ad...

Recycling IIS 6.0 application pools programmatically

The Code Project Latest Articles, May 27, 2008
Views: 5,325 | Hits 140

A simple way to recycle IIS 6.0 application pools programmatically...

IIS 7 and Rapid Fail Protection

Rick Strahls WebLog, December 20, 2006
Views: 5,190 | Hits 299

I was doing some work testing one of my older ISAPI extensions under IIS 7. One of the tests I run purposefully terminates the process to simulate a hard crash in the ISAPI process. This should never...

How to setup SSL on Vista with IIS 7

hongmeigs WebLog, January 23, 2007
Views: 5,148 | Hits 720

IIS 7 has a new UI which is different from the previous version. Here I am going to talk about how to set up the SSL via the new UI. It is a different user experience for setting up the ssl certificat...

How to change your web site from https://localhost to

hongmeigs WebLog, August 29, 2007
Views: 5,069 | Hits 95

There are three steps you need to take to make it work.  1. Modify your hosts file under \Windows\System32\drivers\etc\hosts and add the following entry:    mydomain...

Extensionless URL Rewriting in ASP.NET without using IIS 6 Wildcard mapping

The Code Project Latest Articles, July 3, 2007
Views: 4,881 | Hits 1,037

In this article i will explain in detail with practical example how you will rewrite extensionless URL in ASP.NET without using IIS 6 Wildcard mapping or ISAPI module...

Facebook Developer Toolkit 3.0 ASP.NET MVC Sample

Clarity Blogs: ASP.NET, October 6, 2009
Views: 4,846 | Hits 43

Its almost time for the long awaited release of the Facebook Developer Toolkit 3.0, the most awesomest release of the toolkit to date. The new version has great support for ASP.NET, ASP.NET MVC, Silve...

503 Service Unavailable in IIS 7 - watch those Application Pools

Rick Strahls WebLog, December 5, 2006
Views: 4,757 | Hits 361

I ran into a funky issue with an application on IIS 7 today on my development machine: One of my Web applications simply would not respond to requests and IIS was reporting a 503 Error Service Unavai...

Recycle IIS App Pool from Script

Software/Technology Discussion, November 7, 2008
Views: 4,599 | Hits 91

My colleague, Carlos Fernandez, sent me this CSCRIPT command for recycling the an IIS application pool: %windir%\system32\cscript.exe c:\windows\system32\iisapp.vbs /a "SharePoint - 80" /r ...

Streaming music with Windows Media Services and ASP.NET

Darrell Nortons Blog [MVP], April 29, 2005
Views: 4,464 | Hits 778

Here's an interesting article by Shawn Wildermuth: Streaming with Windows Media Services and ASP.NET It shows you how to setup the Windows Media Services SDK on IIS, create a web site to browse a coll...

System.Argument Exceptions in W3wp.exe and the VS Just-in Time Debugger

Rick Strahls WebLog, March 25, 2007
Views: 4,376 | Hits 737

I've been noticing that on my server quite frequently I get managed exceptions bubbling up to the Dr. Watson and/or the Visual Studio Just In Time Debugging dialog on the desktop. Now this being a ser...

You receive a "Page cannot be displayed" error message when you use an ASP.NET application to open an .htm file or another static file that is hosted in IIS 6.0 :: .NET Framework 2.0, November 30, 2005
Views: 4,275 | Hits 199

909641 ... You receive a "Page cannot be displayed" error message when you use an ASP.NET application to open an .htm file or another static file that is hosted in IIS 6.0This RSS feed provided by k...

How to use WSDualHttpBinding on Windows XP for Hosted Services

Wenlong Dongs Blog, October 19, 2006
Views: 4,169 | Hits 331

On Windows XP, Internet Information Service (IIS) does not use HTTP.sys which is the HTTP driver that can be used to share HTTP traffic on the same port. This means that when IIS is running, the defau...

Light IIS (Run without IIS)

The Code Project Latest Articles, February 26, 2008
Views: 4,115 | Hits 452

A way to run without IIS and any server component...

How to Setup IIS 6.0 on Windows 7 to Allow Classic ASP Sites to Run

The Code Project Latest Articles, October 18, 2009
Views: 4,112 | Hits 293

How to setup IIS 6.0 on Windows 7 to allow Classic ASP sites to run...

HOWTO: Repair IIS Mapping After You Remove and Reinstall IIS :: Visual Studio 2005, October 23, 2003
Views: 4,001 | Hits 355

(306005) - After you install the Microsoft .NET Framework Software Development Kit (SDK) or Visual Studio .NET, Microsoft Internet Information Service (IIS) mappings are created to associate the new f...

How to find the SiteID in IIS5 and IIS6

Scott Forsyths WebLog, July 29, 2005
Views: 3,971 | Hits 594

Occasionally I need to explain how to find the SiteID / Site Identifier in IIS5 and/or IIS6 so I thought I would quickly blog on how to do that so that I have a page that I can reference rather than ...

IIS, Windows Authentication and the Double Hop issue

Scott Forsyths WebLog, August 22, 2008
Views: 3,968 | Hits 342

In IIS, you run into an interesting situation when you need to access another resource off of the IIS server and certain fairly common situations occur.  When using Integrated Security, anonymous...

Getting an Windows XP Audio Driver to run under Windows 2003?

Rick Strahls WebLog, February 2, 2006
Views: 3,960 | Hits 280

So I finally broke down and got a new computer. I guess I am a tool sucker, because much as I hate to admit it ended up going back to Dell. I picked up a new Dual Core machine (Inspiron 9400) and fr...

IIS Application Pool Crashes due to Temp File Permissions

Rick Strahls WebLog, July 10, 2007
Views: 3,932 | Hits 249

My IIS 6 Web Server has been throwing a bunch of nasty errors recently and I've been trying to figure out what the heck is going on. The problem is that apparently App Pools have been crashing hard fa...

IIS7 Integrated Mode and Global.asax

Jason N. Gaylords Blog, September 5, 2008
Views: 3,883 | Hits 48

In IIS7, there are two modes for ASP.NET application pools: classic mode (only mode available for IIS6) and integrated mode. Integrated Mode offers quite a bit with IIS7 and is the recommended mode fo...

PowerShell and AppPool Names

K. Scott Allen, July 18, 2006
Views: 3,864 | Hits 120

Yesterday we looked at stopping ASP.NET worker processes using PowerShell. However, I don't always want to stop the process by exe name or process ID, but by the name of the IIS application pool that ...

IIS URL Rewrite rewriting non-www to www

Scott Forsyths WebLog, November 28, 2009
Views: 3,775 | Hits 123

If youre using IIS 7.0 (or 7.5), URL Rewrite is a valuable tool, well worth installing and using. One common use of URL Rewrite is redirecting to  Many p...

Visual Studio IIS 7 and WebDAV

Hannes Preishuber, April 29, 2008
Views: 3,693 | Hits 185

Visual Studio 2008 have still no native WebDAV support. On the other hand Microsoft is stopping Frontpage Server Extensions Development. Both of this web publishing protokolls are *not* implemented in...

0x80005000 Exception IIS and Windows 2008 Server New Articles, December 29, 2007
Views: 3,666 | Hits 360

If you use .NET DirectoryServices and get COM exceptions like this lovely one "0x80005000" (unknown error) when referencing DirectoryEntry objects, simply install the following:  read moreBy Robbe M...

Tip/Trick: Url Rewriting with ASP.NET

ScottGus Blog, February 27, 2007
Views: 3,657 | Hits 446

People often ask me for guidance on how they can dynamically "re-write" URLs and/or have the ability to publish cleaner URL end-points within their ASP.NET web applications.  This blog post su...

Free IIS 7 hosting announced

Brettblog, February 9, 2007
Views: 3,610 | Hits 62

Some companies can't wait to get a good thing going! is offering free IIS 7 hosting. -brett Comments and opinions are Bre...

Removing the .SVC Extension from WCF REST URLs

Rick Strahls WebLog, December 16, 2008
Views: 3,595 | Hits 323

Ive been getting a lot of questions in the last few months regarding the URLs that WCF REST uses. WCF REST new in .NET 3.5 provides a pure Web based Binding (webHttpBinding specifically) that allows...

Virtual Application vs Virtual Directory

Wenlong Dongs Blog, November 22, 2006
Views: 3,578 | Hits 329

People are always confused by these two IIS concepts, especially for the new IIS7/WAS. These are not new concepts. They are available since IIS6 on Windows 2003 Server. However the terms were misused ...

I have Framework 3.5 installed, why does my IIS show only ASP.NET 1.1/2.0?

Jotekes Blog, May 3, 2008
Views: 3,561 | Hits 41

I've replied a lot to these questions lately. I'm not going to go to very deep with this, Scott Hanselman has excellent post covering this, see that: How to set an IIS Application or AppP...

Blocking IIS IP Addresses with ASP.NET

Rick Strahls WebLog, April 29, 2007
Views: 3,553 | Hits 309

Over the last few months I've had increasing SPAM traffic coming to my site, usually from a few select IP address groups. Most of this site spamming crap that I actually catch tries to simply POST to ...

IIS 7 with deployable IIS configuration settings

Clarity Blogs: ASP.NET, May 23, 2006
Views: 3,541 | Hits 47

Jon Rauschenberger just informed us that has launched, and I'm excited to try out one of the new features that should make IIS 7 great... deployable configuration settings. IIS Config now supp...

IISRESET Yields "Class not registered" and ASP.NET 2.0 Solution Model

Peter Brombergs UnBlog, July 23, 2005
Views: 3,538 | Hits 101

Here's the fix:Use the following command: C:\Windows\system32\inetsrv\iisrstas.exe /RegServer While I am on this, IISRESET comes with some handy command line switches that many people are not aware of...

Simple Reverse Proxy in C# 2.0 (description and deploiement)

The Code Project Latest Articles, November 28, 2008
Views: 3,486 | Hits 299

This article describes how to develop a Reverse Proxy in C# using the IIS HTTPHandlers....

Rewriting URLs on IIS5, IIS6, or IIS7 (mod_rewrite on IIS?)

All About Interop, June 18, 2008
Views: 3,400 | Hits 104

A couple weeks ago, Bill Staples made a splash when he announced a Rewrite Module for IIS7: Rewriting URLs?  This is ...

Enable Gzip compression in IIS6.0 for 2.0 web sites

The Code Project Latest Articles, November 19, 2008
Views: 3,368 | Hits 302

Enable Gzip compression in IIS6.0 for 2.0 web sites...

IIS 6 Kernel Caching from an ISAPI Extension - eek!

Rick Strahls WebLog, September 15, 2005
Views: 3,354 | Hits 603

Arrgh… After talking with some of the IIS team folks yesterday here at PDC about Kernel Caching in IIS, I thought it’d be nice to add this functionality to the Web Connection ISAPI extensi...

Extending the TreeView in IIS 7 in Windows Vista

CarlosAg Blog, August 12, 2006
Views: 3,333 | Hits 131

Extending the Hierarchy Tree View in InetMgr InetMgr exposes several extensibility points that developers can use to plug-in their own features and make them look and feel just as the built-in functio...

ASPNET_regiis.exe Tool, Setting the Default Version Without Forcing an Upgrade on All Sites

Scott Forsyths WebLog, May 31, 2006
Views: 3,325 | Hits 179

Starting in the first version of ASP.NET, Microsoft has provided a tool to control which version of the framework is registered in IIS. This tool, aspnet_regiis.exe, is quite flexible and with the rig...

Another weird IIS 6 Lock up

Rick Strahls WebLog, September 3, 2006
Views: 3,307 | Hits 88

So it happened again today… For reasons unknown all of a sudden IIS 6 locked up on my live server. I was on the box connected with Terminal Services to do some maintenance and next thing I know ...