我在服务器上所有的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>
---------------------------------请教怎么解决??万分感谢
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>
---------------------------------请教怎么解决??万分感谢
解决方案 »
- js 中如何调用asp.net后台中的Session变量
- context.Request.Files.Count
- sql存储过程
- $能否引用一个命名空间或继承一个类,自动执行某个函数$
- 问一个select语句?不知道用没有
- 关于网络通信程序的系统结构方案?
- ASP.NET中使用用户控件(ascx)的问题!
- Page.IsValid问题
- 水晶报表9.2安装不了
- HyperLinkColumn中DataNavigateUrlFormatString="detail.aspx?id={0}" 后面这个{0} 是什么意思?怎么给它动态赋值?
- 各位前辈,我要做个ASP.NET项目找工作,可否指点一下
- 大家有没有遇到过这种情况?????急。。。。。。。。。
然后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。
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
改为
<customErrors mode="Off" defaultRedirect="mycustompage.htm"/>(注意Off大小写)
他会有比较细的出错说明
----------------------------------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"
谢谢,上周还好好的呢,今早也好好的可以执行程序,可后来我打开页就不行了,什么都不执行,我什么也没动呀,什么都没改过,一下子就不行了,求帮忙呀!谢谢
http://www.codecomments.com/archive289-2004-8-227078.html
可是怎么办呀??上面的意思就是没救了呗,ASP.NET不会有这么大的漏洞吧,
咋办??
还是求帮忙呀,??万分感谢,谁要是解决了我把我所有分都给他,以后要是我有分了也给他,急呀,谢谢
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
先改一下web。config 看看具体是什么问题 估计是服务器上的
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
再运行, asp.net会把详细错误信息列出来,
你把它贴出来,我们大家看一看
如下: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
就是这样子喽,在网上查了好多文档,都没有解决的方法,帮帮忙吧,各位大哥,再这样下去老板就要发火了,万分感谢
因为你的系统自动根新了微软的js,但是你的站点文件不会自动更新