---
title: "iis 不能解析 aspx，aspx文件报错"
author: "lkf009"
date: "2013-11-22T22:24:11Z"
tags: []
categories: ["编程语言"]
slug: "iis-aspx-aspx"
draft: false
lastmod: "2013-11-22T22:24:48Z"
id: 1979661
url: "https://lkf009.iteye.com/blog/1979661"
---

导致这种情况的原因是：先装.net，后装IIS

解决方法:

C:\\Documents and Settings\\Administrator&gt;C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0. 

50727\\aspnet\_regiis.exe -i 

The error indicates that IIS is in 64 bit mode, while this application is a 32 b 

it application and thus not compatible. 

 

C:\\Documents and Settings\\Administrator&gt;C:\\WINDOWS\\Microsoft.NET\\Framework64\\v2. 

0.50727\\aspnet\_regiis.exe -i