在Firefox ASP.NET AJAX / Jquery的可靠性高于一切 [英] ASP.NET Ajax/Jquery reliability on firefox above all

查看:97
本文介绍了在Firefox ASP.NET AJAX / Jquery的可靠性高于一切的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio中

I just encountered a problem when testing in visual studio with

XML解析错误:未找到元素

XML Parsing Error: no element found

在这里<一个href=\"http://stackoverflow.com/questions/3866511/why-do-i-need-registerstartupscript-for-a-simple-jquery-helloworld-in-asp-net\">http://stackoverflow.com/questions/3866511/why-do-i-need-registerstartupscript-for-a-simple-jquery-helloworld-in-asp-net

而这是非常简单的code

whereas it was very simple code

其他人也得到了这个错误的http://chiragrdarji.word$p$pss.com/2010/02/17/xml-parsing-error-no-element-found/

Someone else has also gotten this error http://chiragrdarji.wordpress.com/2010/02/17/xml-parsing-error-no-element-found/

我现在还记得一些同事说,我随意看到这个错误,使用AJAX,只有在Firefox而不是IE的UpdatePanel一个asp.net应用developped企业项目。因为它是随机的也不容易抓住它。古怪它没有IIS服务器上发生的不是Visual Studio的本地主机像一个以上这样的情况下甚至可能会有所不同。

And I now remember in an enterprise project developped by some colleagues that I saw this error randomly for an asp.net application that uses ajax with updatepanels only on firefox not on IE. Since it was random it wasn't easy to catch it. Weirdly it did occur on IIS server not on visual studio localhost like the one above so the context may even vary.

所以我很担心用ajax / jquery的,因为它似乎根本原因是很难找到和解决方案的更多。

So I'm worried about using ajax / jquery because it seems that the root cause is very difficult to find and solution even more.

所以,因为它似乎有风险的,而微软正在推广的jQuery似乎并不容易相比,使用jQuery和PHP作为可靠性应人真正走这条路?

So should one really go this route as it seems risky whereas Microsoft is promoting jquery it doesn't seem easy compared to using jquery with PHP as for reliability ?

更新:对于我当然ASP.NET的同事的真实世界项目安装:)。它的工作原理的大部分时间,然后在某些时期只适用于Firefox NOT FOR IE浏览器。

Update: For the real world project of my colleagues of course ASP.NET is installed :). It works most of the time and then on some periods generate error only for FIREFOX NOT FOR IE.

推荐答案

此错误是说来自服务器的响应是空白的Firefox的方式。有许多原因这个错误,包括没有安装在IIS(需要从Windows \\ Microsoft.Net运行为aspnet_regiis -i \\框架\\ V2。*)ASP.NET。

This error is Firefox's way of saying the response from the server was blank. There are many causes for this error, including ASP.NET not being installed on IIS (need to run aspnet_regiis -i from Windows\Microsoft.Net\Framework\v2.*).

这篇关于在Firefox ASP.NET AJAX / Jquery的可靠性高于一切的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆