<%@ Page EnableSessionState="ReadOnly" %>
<%
response.write("a");
%>
返回500,错在哪里,如何移掉500错误,显示具体?
<%
response.write("a");
%>
返回500,错在哪里,如何移掉500错误,显示具体?
解决方案 »
- 一个textbox,要求实现焦点移动上去后,触发服务端事件,请问如何实现?
- 网站页面错误?
- 如何取得视图中的字段,select * from syscolumns where id = object_id('XT_JCDW')
- fckeditor2.6 在ascx中怎么就不显示呢?点一个按钮就能出来?
- 在asp.net.页面中应用iframe的问题 请高手进来帮忙一下!
- 请问这种SQL语句怎么写?
- IBatis的问题?
- 如何在asp.net程序中将同一服务器中aaa目录下的图片转到bbb目录下
- 笨鸟自己做的Onmouseover 显示图片问题
- GridView中的TextBox获取焦点触发事件并获取TextBox在GridView的位置
- 新建的项目总是出错
- ASP.NET Repeater控件 的一个高深问题?
不要后面的分号";"
Inherits="Login" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<%Response.Write("a"); %>
</div>
</form>
</body>
</html>
你是这么写的吗?
<%@ Page EnableSessionState="ReadOnly" %>
主要是用来测试改写 session 状态为只读
而且即便我如下写:
<%@ Page Language="vb" EnableSessionState="ReadOnly" %>
仍然报错
试过大写"VB"也一样
在IE浏览器里 工具->Internet选项->高级->浏览->显示友好的http错误通知,前面的勾去掉就可以显示这个500到底是什么错
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.More information about this error may be available in the server error log.
asp.net c#版本
<%@ Page Language="C#" EnableSessionState="ReadOnly" %>
<%
Response.Write("a");
%>
asp.net vb版本<%@ Page Language="VB" EnableSessionState="ReadOnly" %>
<%
Response.Write("a")
%>显示详细错误服务器端的设置方法将“将错误发送到浏览器”设置为true