【问题标题】:Message: Invalid character Internet Explorer消息:无效字符 Internet Explorer
【发布时间】:2012-07-27 15:16:01
【问题描述】:

我正在尝试调试突然停止工作并出现以下错误的应用程序。当我通过 Google Chrome 运行该应用程序时,一切正常,但当它在 Internet Explorer 中运行时,它不起作用。应用程序已经投入生产很长时间了,但它刚刚开始无法工作我不知道是什么可能导致 Internet Explorer 中的这些错误以及如何调试它们?

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET      CLR 3.5.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
Timestamp: Fri, 27 Jul 2012 15:11:31 UTC

Message: Invalid character
Line: 1
Char: 2
Code: 0
URI: http://web-davw01/ApTrac/AddContact.aspx


Message: Invalid character
Line: 1
Char: 2
Code: 0
URI: http://web-davw01/ApTrac/AddContact.aspx

【问题讨论】:

  • 位置 2 第 1 行的字符是什么?
  • 正如@asawyer 所说...有人打开项目,做了一些愚蠢的事情,然后保存了吗?
  • @asawyer 是的,它位于 Line: 1 Char: 2
  • @Moo-Juice 没有,没有人打开过我知道上次修改日期是很久以前的项目。
  • 尼克,再次,位置 2 第 1 行的字符是什么?

标签: vb.net internet-explorer


【解决方案1】:

您需要在您的 IIS 网络服务器上register ASP.NET

  1. 运行CMD.exe
  2. 将目录更改为 .NET 框架的最新版本。例如cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
  3. 运行aspnet_regiis.exe -i

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-03-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-01-18
    • 1970-01-01
    相关资源
    最近更新 更多