When using AspUpload under ASP.NET on IIS 7 or IIS 7.5, the following error may occur:System.Runtime.InteropServices.COMException: Content-Type header could not be obtained.
In IIS 7.0 and 7.5, classic ASP is not installed by default. It needs to be installed for AspUpload to work under ASP.NET.
- Windows Vista/7: Go to Control Panels, click Programs and Features, and then click Turn Windows Features on or off. Expand Internet Information Services, then World Wide Web Services, then Application Development Features. Select ASP, and then click OK.
- Windows 2008: Go to Administrative Tools, and then click Server Manager. In the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS). In the Web Server (IIS) pane, scroll to the Role Services section, and then click Add Role Services. On the Select Role Services page of the Add Role Services Wizard, select ASP. If prompted, add role services required by ASP, then click Install.