一、运行aspx页面,显示错误
Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur.
原因:在安装IIS前,安装了Net
解决方法:
开始 >> 运行 >> CMD >> CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ >> aspnet_regiis.exe -i
>> CD C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ >> aspnet_regiis.exe -i
“setup has detected some errors during the operation. for details, please read the setup log file aspnetsetup_00008.log”
二、Iis上某种类型文件无法下载的问题
1.在IIS服务器属性里的MIME类型,添加.exe(举例说明) 类型 application/octet-stream
2.将网站属性里的执行权限设置为纯脚本
三、错误:无法下载Silverlight应用程序。请查看Web服务器设置
解决办法:
在IIS的HTTP头中,添加MIME类型:
.xaml application/xaml+xml
.xap application/x-silverlight-app
如仍有问题,请检查IE的配置,放开安全里面的Xaml Active 下载等选项
四、127.0.0.1无法访问iis上配置的默认站点,但localhost可以
1、C:\WINDOWS\system32\drivers\etc中添加
127.0.0.1 localhost
2、ie的安全设置中,把127.0.0.1设置为信任