在IIS上发布的项目,登录、修改操作都没有问题,但是注册时候就出以下的错误。这是在访问服务器时出的错
各种求。各位高手解答!!!急Server Error in '/DL' 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 '/DL' 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>
哥哥们赶紧进来看一看 瞧一瞧..... 走过路过千万不要错过啊!
在家靠父母,出门靠朋友!!!!!
解决方案 »
- 大哥,大姐帮帮忙,急需一个ASP简单查询功能的通讯录源代码,谢谢
- gridview 的问题
- 北京正在找工作的朋友进来
- VS2005 Team System 和 VS2005 Team suite 是一个吗?
- 如何用ASP.NET实现 网站上的音乐下载到手机里(付费功能)
- 请问如何将本地的数据库上传到已经有的web站点的服务器上?请详细说一下,我是新手!
- 大家帮忙看看,关于上传以及显示pdf文件的问题?
- 请问dotnet环境能不能安装在NT4.0系统上?
- 有关图片上传至数据库的问题,请高手赐教!
- 用datagrid控件做删除时,希望能有javascript窗口确认,该怎么做?
- mvc的参数传递
- 讨论ASP.NET中大家都是如何控制刷新的
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm" mod="off"/>
</system.web>
</configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
</configuration>
这样既可输出错误了
我在服务器上看到的错误是登录数据库失败.(注册模块,其他都OK)
在我自己电脑访问的话就报:
Server Error in '/DL' Application.
--------------------------------------------------------------------------------Runtime Error
!!
能否帮忙解决下下.
我在VS上运行是完全无有错误的.但是到IIS上就出错了 对与我这菜鸟来说还真不知道从何入手.
在VS中调试的时候是无问题的 但是一到IIS上就有问题了.
你insert的sql是不是有問題?Runtime Error 是超時了。sql相應的時間太長。你insert語句有問題吧
文件夹权限这个是怎么设置的 希望大哥详细的说一下 刚接触IIS 有点搞不明白啊..
你可以在web.config里面把这个选项设置一下,这样你就可以看到原始错误了。
在 web.config文件中,找到
<system.web>
一节,看看有没有
<customErrors mode="Off"/>如果是on,就改成off,如果没有,就加上这一节。然后你就可以看到原始错误了,就可以看到是不是你的insert有问题。
<customErrors mode="Off"/>
但是还是无法执行
<customErrors mode="Off"/>mode="off" 已经有了但是还是无用.
调试的时候真的一点问题都没.