我需要你的帮助。
当我的asp.net代码出现问题时,它只返回此消息“呃 - 哦,出错了!错误代码:500”并且它没有给我特定的错误,所以请有人告诉我如何解决这个问题。
答案 0 :(得分:1)
您需要检查web.config
个文件。并查看customeError
标记使用了打击设置
<customErrors mode="Off"/>
以下是customeError的详细信息 你可以在SO上提到类似的问题 Asp.net - <customErrors mode="Off"/> error when trying to access working webpage
有关自定义错误的详细信息
http://www.codeproject.com/Articles/2345/Custom-Errors-in-ASP-NET
答案 1 :(得分:0)
您的代码中可能存在一些错误,哪些服务器无法识别可能是您的代码中的拼写错误。 当我使用join并给出错误的返回值时,我在查询中遇到此问题 对于Eg:
select tia.*,aht.tutor_uid,ucm.name,ucm.contactdetail from tutor_invoice_against_contract as tia
left join tutor_billing_against_contract as tba on tba.tbill_id = tia.tbill_id
left join ad_hoc_teacher_master as aht on aht.contract_id = tia.contract_id
where tia.tin_id = '".$id."'
当我使用ath代替它给它这个
时