我在服务器上所有的ASP.NET程序都不能执行了,谁知道帮帮我,万分感谢如下错误:-------------------------------------
Server Error in '/' Application.
--------------------------------------------------------------------------------Runtime Error 
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File --><configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>
 
---------------------------------请教怎么解决??万分感谢

解决方案 »

  1.   

    1。右键我的电脑--管理--本地用户和组,给IUSR_机器名和IWAM_机器名两个用户设置密码,要一样。2。开始--运行--打cmd,
    然后cd D:\Inetpub\AdminScripts(我的系统在D盘),
    然后cscript.exe adsutil.vbs set w3svc/wamuserpass 你的密码,
    然后cscript.exe adsutil.vbs set w3svc/anonymoususerpass 你的密码看一下,行了没有?如果还不行,那么
    cscript.exe synciwam.vbs -v,
    然后iisreset。
      

  2.   

    其它程序如asp和html可不可以运行?
      

  3.   


     <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    改为
     <customErrors mode="Off" defaultRedirect="mycustompage.htm"/>(注意Off大小写)
    他会有比较细的出错说明
      

  4.   

    asp和html都可以运行,就是.NET程序不行,我的程序也没问题,我在别的机器上测过了急呀,搞了一天了,没个头续,我跟了一下错误原因,如下:
    ----------------------------------Server Error in '/' Application.
    --------------------------------------------------------------------------------Compilation Error 
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code 128.Show Detailed Compiler Output:
    C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll" /R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\caa66005\3f07124e\qmey7tez.dll" /debug- /optimize+ /win32res:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\caa66005\3f07124e\qmey7tez.res" /warnaserror /w:1  "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\caa66005\3f07124e\qmey7tez.0.cs" 
    谢谢,上周还好好的呢,今早也好好的可以执行程序,可后来我打开页就不行了,什么都不执行,我什么也没动呀,什么都没改过,一下子就不行了,求帮忙呀!谢谢
      

  5.   

    bluelily22(丁丁) 他可能是是讲那两个账户密码不同步.但如果能运行asp,说明密码是同步的..那么关键就是在asp.net本身上了.
      

  6.   

    是呀,我也知道关健是在ASP.NET上了,现在是问题是编议不了,可就不知道怎么解决,我真的是没办法了,哪位大哥能帮上忙重谢!
      

  7.   

    楼主看这吧
    http://www.codecomments.com/archive289-2004-8-227078.html
      

  8.   

    非常感谢!karykwan(独行者)
    可是怎么办呀??上面的意思就是没救了呗,ASP.NET不会有这么大的漏洞吧,
    咋办??
    还是求帮忙呀,??万分感谢,谁要是解决了我把我所有分都给他,以后要是我有分了也给他,急呀,谢谢
      

  9.   

    在.Net命令提示符下用aspnet_regiis命令重新注册一下看看。
      

  10.   

    如果不行就把IIS 和ASP。net重新安装下!
      

  11.   

    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
     先改一下web。config 看看具体是什么问题  估计是服务器上的
      

  12.   

    先改web。config 
    <configuration>
        <system.web>
            <customErrors mode="Off"/>
        </system.web>
    </configuration>
    再运行,  asp.net会把详细错误信息列出来,
    你把它贴出来,我们大家看一看
      

  13.   

    我已经把错误贴出来了呀在五楼呀,
    如下:Server Error in '/001test' Application.
    --------------------------------------------------------------------------------Compilation Error 
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: The compiler failed with error code 128.Show Detailed Compiler Output:
    C:\WINNT\system32> "c:\winnt\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\winnt\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\winnt\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\winnt\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\winnt\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\winnt\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\winnt\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\winnt\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\winnt\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll" /out:"C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\001test\b21165e5\a1c75d6c\zs7sjwrt.dll" /debug- /optimize+ /warnaserror /w:1  "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\001test\b21165e5\a1c75d6c\zs7sjwrt.0.cs" Show Complete Compilation Source:****这里是程序,是没问题的,就是最简单输出字符串。(太长所以没贴出来)****
    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 服务器是 WIN2K+.NET FRAMEWORK1.1+IIS5.0
    就是这样子喽,在网上查了好多文档,都没有解决的方法,帮帮忙吧,各位大哥,再这样下去老板就要发火了,万分感谢
      

  14.   

    更新你的所有站点下的v1.1.4322中的文件,
    因为你的系统自动根新了微软的js,但是你的站点文件不会自动更新