【问题标题】:An application error occurred on the server ASP.net Selenium服务器 ASP.net Selenium 上出现应用程序错误
【发布时间】:2017-11-21 13:24:36
【问题描述】:

我在 asp.net 上使用 selenium 创建了一个应用程序,该应用程序自动登录到 facebook.com 并登录。我的网站在 Visual Studio 上运行,但上传到我的软管后,我收到了这个错误。我是asp.net的新手,请帮助我!

【问题讨论】:

  • 您需要更加努力 - 第一步是获取相关日志,首先为什么会发生错误 - 检查运行应用程序的机器上的事件查看器或打开完整错误- 参考stackoverflow.com/questions/9286113/…
  • 有人对我说不能在现场网站的asp.net上运行selenium,它只在visual studio上运行测试项目!是真的吗?

标签: c# asp.net selenium selenium-webdriver automation


【解决方案1】:

要在远程机器上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录的“web.config”配置文件中创建一个标签。然后该标签应将其“模式”属性设置为“关闭”。

更多信息:Asp.net - <customErrors mode="Off"/> error when trying to access working webpage

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-10-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多