你要在IIS中重新注册ASP.NET:
在VS.NET的命令提示中,运行:aspnet_regiis -i或者在MS-DOS中,运行:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -iwindows 2000为:
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
如果系统盘不是C盘,把“C”改成你的相应的系统盘符。

解决方案 »

  1.   

    thanks lot.
    but can you tell me why??
      

  2.   

    <%%>在aspx中可以识别的
    但必须是这两种格式:
    <%=XXX%>和<%#XXX%>
    所以其他的格式就不能识别了
      

  3.   

    to:  superch0054(竹君子I know <%%>在aspx中可以识别的, so I very surprise.
    so your answer isnot right
    To: freecs(^=^) 
    your answer is right. but qiuji(忆秋季)'s is very clear. 
    and I don't know how give you score by other way. can you tell me?
      

  4.   

    give me some example,i will study them!
    3 x
      

  5.   

    he, ;-)the simplest example is:
    <%="2"%>but nothing been display. ;(
      

  6.   

    >>>>the simplest example is:
    <%="2"%>
    but nothing been display. ;(可以显示的。还有,这样也是可以的:<% Response.Write("2");%>