首页 新闻 赞助 找找看

IIS Server Error in '/' Application.

0
悬赏园豆:50 [已关闭问题] 关闭于 2010-05-07 21:09

iis出现 IIS Server Error in '/' Application.

求知情者帮忙,不慎感激

网址 www.youtel.cn

开始出现“Service Unavailable”错误,在网上找了一些方法试了一下,一直没有解决,

于是就重装了 iis6.0

现在出现IIS 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. -------------------------------------------------------------------------------- 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: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\0d79bdd6\5d373554\App_Web_login.aspx.cdcab7d2.thlj4tfe.dll' -- 'Could not execute CVTRES.EXE.' Source Error: [No relevant source lines] Source File: Line: 0 Compiler Warning Messages: Warning: CS0108: 'ASP.login_aspx.Profile' hides inherited member '_Default.Profile'. Use the new keyword if hiding was intended. Source Error: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\0d79bdd6\5d373554\App_Web_login.aspx.cdcab7d2.thlj4tfe.0.cs Line 125: } Line 126: Line 127: protected System.Web.Profile.DefaultProfile Profile { Line 128: get { Line 129: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile)); Warning: CS0108: 'ASP.login_aspx.ApplicationInstance' hides inherited member '_Default.ApplicationInstance'. Use the new keyword if hiding was intended. Source Error: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\0d79bdd6\5d373554\App_Web_login.aspx.cdcab7d2.thlj4tfe.0.cs Line 131: } Line 132: Line 133: protected System.Web.HttpApplication ApplicationInstance { Line 134: get { Line 135: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance)); Show Detailed Compiler Output: c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561
贤达的主页 贤达 | 初学一级 | 园豆:150
提问于:2010-05-07 19:15
< >
分享
所有回答(2)
0

好像dudu遇到过这个问题

小AI | 园豆:354 (菜鸟二级) | 2010-05-07 19:29
0

兄弟,你的服务器是虚拟主机,还是托管主机呀,这些信息不足以判断出问题所在呀。

如果是虚拟主机,你把web.config中的Mode设为Off,让详细的错误信息显示出来就知道什么原因了。

如果是托管主机或在服务器在本地的话,你可以直接在服务器上就可以看到详细的错误信息了,这样才可以判断出问题所在呀

上不了岸的鱼 | 园豆:4613 (老鸟四级) | 2010-05-07 20:08
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册