qq_32414277 2018-04-11 04:43 采纳率: 0%
浏览 1010
已结题

api采集直接前台卡死如何解决,或者是什么原因!

这个是链接数据库的web.config代码

 <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <connectionStrings>
    <add name="ConnStr" connectionString="Data Source=.;Initial Catalog=Ticket;Persist Security Info=True;User ID=sa;Password=sssaa05511" providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
    <add key="RootUrl" value="http://baidu.com" />
    <add key="CollectUrl" value="http://cj.wandayule.hk/index.php/cpapi/lotteryopen" />
    <add key="DataUrl" value="D:\\feifanNET\\Collect\\Data\\" />
  </appSettings>
  <system.web>
    <compilation debug="true" />
  </system.web>
    <system.webServer>
        <defaultDocument>
            <files>
                <add value="index.aspx" />
            </files>
        </defaultDocument>
    </system.webServer>
</configuration>

这个是index网页采集号码的代码

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://baidu.com">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="20"/>
<title>开奖自动刷新</title>
</head>
<body>
<iframe width="1500" height="1500" name="frame1" frameborder="0" src="http://xml.不能带链接替换下.pwt:20099/Default.aspx" /> <!-- xml.xfaaf.pwt替换成自己的域名,20099为开放端口 -->
</body>
</html>

图片说明

声明我本机测试的那个我已经替换过了!

问题是程序运行后链接前端后台会直接卡死!
如果问题有点笼统请有高手的请QQ3550700353

  • 写回答

1条回答 默认 最新

  • yuquan1987 2018-04-11 09:52
    关注

    你这个采集是什么意思,没太明白。你就是嵌套了对方的网站而已啊

    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器