Tag Archives: IIS

IIS Outlook

OWA saves .docx and .xlsx file as .zip

The problem:

When any Office 2007 attachment (.docx, .xlsx, etc) is opened from OWA, the user is asked to save the document before they open it. When they do this, the default extension is .zip. If the user changes it to the correct extension before opening, the file opens correctly.

This happens because the Office 2007 MIME file types are not configured on the web server and the users browser does not know how to open the files. If IE is configured to open files based on the file header, it identifies the file as a zip, which is technically correct.

The administrator can fix it site wide by adding the Office 2007 file types to the MIME settings on the server.

On the user side, IE has an option to open files based on content, not extension. The user should add the OWA URL to the Trusted (or Local Intranet) list before making this change.

read more »

IIS Microsoft

Changing the Framework on IIS7

dotnet

Simple, but a little hidden:

  1. Open IIS
  2. Click on “Application Pools” :
  3. In the side panel (right) click on “Website” you want to change the framework:
  4. Sidebar, locate the “Edit Application Pool” and then click Basic Settings
  5. Clicking on “Basic Settings …” will appear the following selection screen FrameWork:
  6. Now, select the framework of your choice by clicking on the list. NET Framework Version:
  7. Once selected click “OK”
IIS Silverlight

How to solve Unhandled Error in Silverlight Application Code: 2104

The Problem: You ftp a Silverlight App to an IIS website, go to the website in a browser, and get the following error:

Message: Unhandled Error in Silverlight Application
Code: 2104
Category: InitializeError
Message: Could not download the Silverlight application. Check web server settings

The Cause: The Silverlight Mime types (.xaml, .xap and .xbap) are not listed in that websites registered mime types, therefore IIS will not send those files to the browser.

The Solution: Open IIS on the server, go to HTTP headers, click on Mime Types, click “Add New” and add the following:

Extension – Mime Type
.xaml – application/xaml+xml
.xap – application/x-silverlight-app
.xbap – application/x-ms-xbap

Hit Apply and your application will load!

IIS

Creating and Configuring FTP Sites in Windows Server 2003

In this article we’ll walk you through the steps of creating FTP sites in Windows Server 2003 using both Internet Services Manager and scripts. The tutorial will also will explain how to perform common administration tasks involving FTP sites and also how to implement FTP User Isolation, a new feature of Windows Server 2003 enables users to have their own separate FTP home directories.

http://www.windowsnetworking.com/articles_tutorials/Creating-Configuring-FTP.html

Utils

ISAPI_Rewrite

ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions. It acts mostly like Apache’s mod_Rewrite, but is designed specifically for Microsoft’s Internet Information Server (IIS). ISAPI_Rewrite is an ISAPI filter written in pure C/C++ so it is extremely fast. ISAPI_Rewrite gives you the freedom to go beyond the standard URL schemes and develop your own scheme.

http://www.isapirewrite.com/

http://www.addedbytes.com/apache/url-rewriting-for-beginners/