look under c:\inetpub\wwwroot for a aspnet_client directory

解决方案 »

  1.   

    yes, it should be automatically created when you installed .NET frameworktry what the error message said, run
    aspnet_regiis -c
      

  2.   

    我找到了安装时候自动生成的文件,保存到目录中,还是显示错误
    在安装目录下面我找到了这个文件,但是拷贝以后,打开页面总是提示生成的页面在157行有错误
    error: undefined为空或者不是对象,我查看了WebUIValidation.js中的下面一段代码,因为是系统提供的不知道如何修改
    <script language="javascript">
    <!--
    var Page_ValidationActive = false;
    if (typeof(clientInformation) != "undefined" && clientInformation.appName.indexOf("Explorer") != -1) {
        if (typeof(Page_ValidationVer) == "undefined") //有问题
            alert("Unable to find script library '/aspnet_client/system_web/1_0_3705_0/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c'.");
        else if (Page_ValidationVer != "125")
            alert("This page uses an incorrect version of WebUIValidation.js. The page expects version 125. The script library is " + Page_ValidationVer + ".");
        else
            ValidatorOnLoad();
    }
    function ValidatorOnSubmit() {
        if (Page_ValidationActive) {
            ValidatorCommonOnSubmit();
        }
    }
    // -->
    </script>
      

  3.   

    我把三个文件都拷贝到相应的目录中,问题就解决了!
    SmartNav.js ,SmartNavIE5.js,WebUIValidation.js
      

  4.   

    这可是自动生成的,根本不用管,
    可能是你的ASP。NET有问题,