复制代码 代码如下:
@echo off
echo 卸载64Bit ASP.NET 2.0
C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/aspnet_regiis.exe -u
echo 切换IIS为32Bit运行模式
Cscript C:/inetpub/adminscripts/adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
echo 修复ASP.NET2.0
C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/aspnet_regiis.exe -r
echo 安装ASP.NET1.1
Frameworks/Framework_1.1.exe /c /t:c:/windows/temp/
c:/windows/temp/netfx.msi /passive
echo 切换Asp.net为v1.1.4322
C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/aspnet_regiis.exe -r
@pause
复制代码 代码如下:
@echo off
set /p vp="请输入要修改的站点标识符:"
echo 1、Asp.Net 1.1
echo 2、Asp.Net 2.0
echo 3、退出
set /p AspNetVer="请选择Asp.Net版本:"
if %AspNetVer% == 1 goto one
if %AspNetVer% == 2 goto two
if %AspNetVer% == 3 goto end
:one
%SYSTEMROOT%/Microsoft.NET/Framework/v1.1.4322/aspnet_regiis.exe -s W3SVC/%vp%/ROOT/
goto end
:two
%SYSTEMROOT%/Microsoft.NET/Framework/v2.0.50727/aspnet_regiis.exe -s W3SVC/%vp%/ROOT/
goto end
:end
echo end
@pause
新闻热点
疑难解答
图片精选