错误在asp.net中杀了我 [英] error kill me in asp.net

查看:86
本文介绍了错误在asp.net中杀了我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我完成m网站的设计之后,我在somee.com上发布了

但我看错误按摩

请看下面的链接

http://med-easy22.somee.com/ [ ^ ]



如何解决这个问题

最好的问候

somur

解决方案

将此代码添加到您的web.config



 <  配置 >  
< system.web >
< customErrors mode = / >
< / system.web >
< / configuration >





因为当您不添加此标记时,IIS会隐藏用户的错误不在本地网络服务器上。

重新打开网站后,错误应该清晰显示。如果你还想要帮助粘贴它导致的错误所以我们可以提供帮助。



最好问候,

Ibrahim Karakira


如果出现错误,请复制并粘贴错误消息 - 而不是指向它的链接。这使我们更容易看到它并帮助你。



错误信息非常明确:它甚至可以告诉你你要做什么来看看是什么实际问题是。



阅读错误页面,并按照说明进行操作。我们不能比错误信息本身更明确!



当你这样做了,再次运行它,你会看到一个不同的错误,页面和行引用,它将帮助您找到问题。


after I finished the design of m website, I published it on the somee.com
but I see error massage
please see the link below
http://med-easy22.somee.com/[^]

how can I solve this problem
best regards
somur

解决方案

Add This code to your web.config

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>



Since when you do not add this tag, IIS hides the errors from users that are not locally on the webserver.
After you do that reopen the website, the error should appear clearly. if you still want help. paste the error it causes so We can help.

best Regards,
Ibrahim Karakira


When you have an error, copy and paste the error message - not a link to it. That makes it easier for us to see it and help you.

The error message is very explicit: it even tells you exactly what you have to do to see what the actual problem is.

Read the error page, and follow it's instructions. We can't be any more explicit than the error message itself is!

When you have done that, run it again, and you will see a different error, with page and line references, which will help you to locate the problem.


这篇关于错误在asp.net中杀了我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆