<script type="text/javascript">
</script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
在一个偶然的时机,在研究代码的时候,发现机器上 asp. net 1.1网站打不开啦,到IIS里去一查,原来IIS上的 asp. net version 只有2.0的啦!这事怎么回事,我现在也还没查出其原因,反正没有 asp. net 1.1,在IIS里是没法运行1.1的程序,具体为什么,在这里就不多说啦。
<script type="text/javascript">
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
写这心得之前先申明一下前提条件是win2003 Microsoft Visual Studio .
net 2003 Microsoft Visual Studio 2005:
在一个偶然的时机,在研究代码的时候,发现机器上 asp. net 1.1网站打不开啦,到IIS里去一查,原来IIS上的 asp. net version 只有2.0的啦!这事怎么回事,我现在也还没查出其原因,反正没有 asp. net 1.1,在IIS里是没法运行1.1的程序,具体为什么,在这里就不多说啦。
后来想到一法,就是重新注册一下asp.net 1.1 在“Visual Studio .net 2003 命令提示”里输入“aspnet_regiis.exe -i”,嘿嘿,这下IIS里的asp.net 1.1出来啦,本想这下子应该可了啦。没想到,问题还是没有解决。后来想想,可能是系统内还驻留有原来的注册,后来想到的就是卸载 asp.net 1.1 的版本(Visual Studio .net 2003 命令提示行里输入:“aspnet_regiis.exe -u”),然后重新注册安装 asp.net 1.1版本,并中启用 asp.net 1.1(在“Visual Studio .net 2003 命令提示”里输入"aspnet_regiis.exe -i -enable"),这样一来,呵呵,网站又可以运行啦。
<script type="text/javascript">
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>