口哨鱼 发表于 2010-3-9 09:44:02

HTTP Status-Code=500 (Internal Server Error)

大家帮忙看一下,录制网站的登录窗口失败,怎么解决?

Action.c(15): Error -26612: HTTP Status-Code=500 (Internal Server Error) for "http://csicnapp02:92/home.asp"       

Action.c(15): web_submit_form("verify.asp") highest severity level was "ERROR", 27565 body bytes, 4277 header bytes       

Action()
{

        web_add_cookie("LastDivisionId=; DOMAIN=ciw");

        web_url("test02:92",
                "URL=http://test02:92/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                LAST);

        web_submit_form("verify.asp",
                "Snapshot=t2.inf",
                ITEMDATA,
                "Name=login_id", "Value=sa", ENDITEM,
                "Name=PWD", "Value=sasa", ENDITEM,
                "Name=Submit", "Value=Login", ENDITEM,
                EXTRARES,
                "Url=../images/xMNUhome.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/xfolderopen.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../images/xvertline.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../images/xlastnode.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/xdoc.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../images/xnode.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/profile.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/menuhelp.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/about.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/password.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/logout.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../images/xpnodeOrange.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                "Url=../Images/xfolderclosed.gif", "Referer=http://test02:92/menu.asp?", ENDITEM,
                LAST);

森林一木 发表于 2010-3-9 11:13:10

web_url("test02:92",
                "URL=http://test02:92/",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTML",
                LAST);
你这段对吗?
500一般是服务器处理错误。URL=http://test02:92/ 改为URL=http://test02:92/home.asp能用不?

skyzhu 发表于 2010-3-9 11:19:20

web_submit_form错了,LZ查一下,连个提交的目标地址都没有

口哨鱼 发表于 2010-3-9 11:22:03

加上楼上说的变成现在的错误:
Action.c(13): Error -27979: Requested form not found       
Action.c(13): web_submit_form("verify.asp") highest severity level was "ERROR", 0 body bytes, 0 header bytes       

指向下面这段代码:
web_submit_form("verify.asp",
                "Snapshot=t2.inf",
                ITEMDATA,
                "Name=login_id", "Value=sa01", ENDITEM,
                "Name=PWD", "Value=infoshare", ENDITEM,
                "Name=Submit", "Value=Login", ENDITEM,
                EXTRARES,
                "Url=../images/xMNUhome.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/xfolderopen.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../images/xvertline.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/xdoc.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/profile.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../images/xnode.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../images/xlastnode.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/menuhelp.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/about.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/logout.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/xfolderclosed.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../Images/password.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                "Url=../images/xpnodeOrange.gif", "Referer=http://csicnapp02:92/menu.asp?", ENDITEM,
                LAST);

口哨鱼 发表于 2010-3-9 16:12:52

谢谢大家问题解决了。
是代码home问题
页: [1]
查看完整版本: HTTP Status-Code=500 (Internal Server Error)