为什么防病毒软件会阻止我的网络服务?
我正在编写一个 Flex 应用程序,该应用程序对 ASP.NET Web 服务进行 Web 服务调用。我没有配置 IIS,因此我运行 Visual Studio 开发服务器的 Web 服务来测试应用程序。
一切都很顺利,直到我将 AVG 防病毒软件升级到最新的 2011 版本。突然之间,网络服务变得不一致,大多数情况下都无法调用!如果我禁用 AVG,一切都会正常。
我不明白为什么防病毒软件会有这种效果。我注意到其他人也遇到了类似的问题: .NET Webservice 不再返回 JSON 数据。有人可以阐明此事吗?
I am writing a Flex application that makes web service calls to an ASP.NET web service. I do not have IIS configured, so I run the web service of the Visual Studio development server to test the application.
Everything was going well until I upgraded my AVG antivirus to the latest 2011 edition. Suddenly the web services became inconsistent, with calls failing on the majority of occasions! If I disable AVG, everything works fine.
I cannot figure out why an antivirus should have this effect. I notice others have had similar problems: .NET Webservice doesn't return JSON data anymore. Can someone shed light on the matter?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
一些防病毒程序提供额外的“互联网安全”功能,在假设流量是恶意的情况下阻止某些类型的流量。您最好的选择可能是在 AVG 程序中为您希望不受其影响的所有进程和程序设置例外。
Some antivirus programs provide additional 'internet security' features that block certain kinds of traffic under the assumption that the traffic is malicious. Your best bet is probably to set up exceptions in the AVG program for all of the process and programs you want to be unaffected by it.
AVG 的链接扫描器中可能存在错误,它可能会弄乱 HTTP 请求或响应标头。例如,对于 Web 服务,正确的内容类型和编码非常重要,而且还有一些 SOAP 特定的标头,例如 SOAPAction。
There could be a bug in the AVG's link scanner, it could be messing up the HTTP request or response header. For example, for webservices the correct content-type and encoding are very important and there are also some SOAP-specific headers like SOAPAction.