Wednesday, February 22, 2012

The Safari’s and Chrome’s problems with Report Viewer 2010 + UpdatePanel + SharePoint 2010 or Uncaught Sys.ScriptLoadFailedException: Sys.ScriptLoadFailedException: The script '.....' could not be loaded. Uncaught TypeError: Cannot read property '_notified' of null.

Initial data
We have one WebPart for the  SharePoint 2010. In this WebPart we have one UpdatePanel. In this UpdatePanel  -  Microsoft Report Viewer 2010 is placed.

Situation
MS Report Viewer  works correct in the IE9.0 and in the Firefox. Report’s data being displayed correctly… But in the Chrome and in the Safari we have nothing.  Well, we see NOT active Report Viewer, without any content.  But if we remove UpadtePanel – all works  good in all browsers. I was trying to reproduce this issue by base website created in the VS2010 (UpdatePanel + Report Viewer) – and again all was good. There was not any problems.  But in the SharePoint2010 – no data in the ReportViewer.

Investigation
By the Chrome Dev Tool (F12) I found that the page had two JavaScript’s errors :
  1. Uncaught Sys.ScriptLoadFailedException: Sys.ScriptLoadFailedException: The script '....' could not be loaded. 
  2. Uncaught TypeError: Cannot read property '_notified' of null
And it was in the MicrosoftAjaxWebForms.js...

Solution
After internet’s revision I found that the same errors often occur in these browsers ( Safary and Chrome) if you use UpdatePanel/AjaxToolkit – all that uses  ScriptManager. MicrosoftAjax in one word… it looks like the problem is in the following - MicrosoftAjaxWebForms.js don't define WebKit browsers correctly
If you add following code on the page - all works correctly :

Sys.Browser.WebKit = {};
if (navigator.userAgent.indexOf('WebKit/') > -1) {
    Sys.Browser.agent = Sys.Browser.WebKit;
    Sys.Browser.version = parseFloat(navigator.userAgent.match(/WebKit\/(\d+(\.\d+)?)/)[1]);
    Sys.Browser.name = 'WebKit';
}

It looks like that correct JavaScript is present for these browsers, but definer is not present.  In any case these rows were solving my problems. But one question still present - why it was in the SharePoint2010 and was not present in the simple website created by VS2010… only one suggestion - different versions of the scripts for these products.

Hope it will help you.

42 comments:

  1. WHen I add that code to my website I get a "Sys not found" error. =/

    ReplyDelete
  2. Replies
    1. On my side, the problem occurred in a simple web site using VS2010 with .net4 (Just to report)

      Delete
  3. Planet Win 365 Casino Review 2021 ᐈ Up to 200,000 IN Welcome
    Planet Win 365 is a new online カジノ シークレット casino powered planet win 365 by Bet365 software. It 188bet offers a wide variety of games including slots, roulette, blackjack,

    ReplyDelete
  4. I went over this internet site and I think you have a lot of great info , saved to favorites.

    스포츠토토승부식

    ReplyDelete
  5. Casino Finder (Google Play) Reviews & Demos - Go
    Check Casino Finder (Google Play). air jordan 18 retro yellow suede from my site A where can you buy air jordan 18 retro \'toro\' men\'s sneakers look at some of the best gambling sites in 토토 벌금 넷마블 the bet365 우회 주소 world. They 먹튀검증 업체 샤오미 offer a full game library,

    ReplyDelete
  6. Amazing! Its really amazing article, I have got much clear idea regarding
    from this post. 토토

    ReplyDelete
  7. I really appreciate the kind of topics you post here. Thanks for sharing us a piece of great information that is actually helpful. Good day! 릴게임

    ReplyDelete
  8. Very interesting information!Perfect just what I was looking for! 토토사이트

    ReplyDelete
  9. I get pleasure from, cause I found just what I used to be having a look for. You’ve ended my four day long hunt! God Bless you man. Have a nice day. 경마

    ReplyDelete
  10. Nice informative post. Thanks for sharing this post. Keep sharing more blogs. DUI Lawyer Suffolk VA

    ReplyDelete
  11. Thank you for sharing this useful article. I really like the way you write.
    Divorce Lawyers Fredericksburg VA

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Data annotation services are truly an indispensable solution for data-heavy industries such as retail, gaming, healthcare, and manufacturing. And if you need these services or you need to structure them, I recommend that you contact the pros at the following link https://www.computervisionannotation.com/ and sign up for a consultation to find the best solution for you.

    ReplyDelete
  14. Thanks for sharing such a nice piece of information with us. This is very knowledgeable for me. If you are searching for topics on biology paper assignments then visit: Biology Paper Topics Assignment Help

    ReplyDelete
  15. This is really interesting, your post was so nice and very informative post thanks for sharing this post. If you are looking for the best Facebook page creation service then visit: Franchise SEO

    ReplyDelete
  16. I read this post, This is really interesting, You’re a very skilled blogger. Thanks for sharing your thoughts. If you are finding jobs in Ruby On Rails Software Development as a freelancer then visit: Find Ruby On Rails Software Development Jobs Freelancer

    ReplyDelete
  17. I'm happy to see some great articles on your site This is a great article. I love it. Many thanks for sharing it. If you are looking for Bow and arrow set toys for your kids then visit: Bow and arrow set toys

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Unlock the potential of your business with our top-notch custom software development company. We specialize in crafting tailor-made software solutions that streamline your processes, enhance efficiency, and drive growth. Our expert team ensures the delivery of scalable, secure, and high-performance software applications that align perfectly with your specific business needs.

    ReplyDelete
  20. Claws Custom Boxes has a team of experts offering the best services to brands in form of exceptional, durable, and eco-friendly Cereal Boxes.

    ReplyDelete
  21. It seems like you're experiencing issues with Safari and Chrome related to report reviews. To provide more specific assistance, I'll need more information about the problems you're encountering. However, here are some common issues users may face with these browsers: Abogado DUI Fredericksburg

    ReplyDelete
  22. Safari and Chrome may encounter issues with Report Viewer 2010, UpdatePanel, and SharePoint 2010, resulting in Uncaught errors. Debugging and troubleshooting are essential, considering browser compatibility, JavaScript conflicts, and SharePoint integration. Collaborating with developer communities and exploring updated solutions can help resolve these technical challenges effectively. virginia reckless driving ticket

    ReplyDelete

  23. اذا كنت تبحث عن خدمات عزل المواسير في الدمام، فأنت على الطريق الصحيح
    عزل مواسير المياه

    ReplyDelete
  24. مع شركة كلين بيور ستجد افضل خدمة لتنظيف الخزانات وتعقيمها شركة تنظيف خزانات

    ReplyDelete
  25. كلين الرياض افضل شركة تنظيف وامهر عمالة بالرياض ارخص شركة تنظيف شقق بالرياض

    ReplyDelete
  26. شركة تنظيف مكيفات بتبوك
    ماستر كلين لجميع الخدمات المنزلية المطلوبة

    ReplyDelete
  27. شركة تسليك مجاري بالقطيف مؤسسة النور لخدمة تسليك المجاري بالقطيف

    ReplyDelete
  28. Safari and Chrome may have different behaviors compared to Internet Explorer (often used for SharePoint environments). Ensure that your SharePoint site and the Report Viewer control are compatible with these browsers. Check for any known compatibility issues and apply any necessary updates or patches provided by Microsoft. The JavaScript errors you mentioned (such as "Uncaught Sys.ScriptLoadFailedException" or "Uncaught TypeError") indicate that there may be issues with loading or executing JavaScript code. Review the JavaScript code related to the Report Viewer control and ensure that it's correctly referenced and loaded in the browser. Check for any syntax errors or conflicts with other scripts on the page. vapes in delhi

    ReplyDelete
  29. Safari and Chrome have historically presented challenges when working with Report Viewer 2010 in conjunction with UpdatePanel and SharePoint 2010. It's essential to test extensively across all targeted browsers to ensure compatibility and a smooth user experience. How to reduce a reckless driving ticket in Virginia

    ReplyDelete
  30. The user is experiencing issues with Safari and Chrome browsers, possibly related to performance, website compatibility, extensions, or other issues fairfax Robbery Lawyer.

    ReplyDelete
  31. IsraFace - знакомства в израиле, это сообщество евреев, где находятся еврейки и евреи и русский еврей из России и Израиля. Выкладывайте классные кадры, видосики, подключайтесь в сообщества, читайте блог, посещайте форум, подбирайте еврейские знакомства.

    ReplyDelete
  32. Safari and Chrome users may encounter problems with Report Viewer, a web-based tool commonly used for displaying reports in various applications, such as business analytics and financial software. These issues are often related to browser compatibility, settings, and plugin requirements. Defense Base Act Lawyer Virginia

    ReplyDelete
  33. Продукция сменные кассеты gillette купить оптом, это отличный способ начать свое дело. Постоянные распродажи на съемные кассеты джилет фьюжен. Средства для бритья лезвие fusion функциональные комплекты gillette купить оптом по минимальной стоимости производителя. Не упустите возможность купить лезвия джилет mach3, станки для бритья джилет мак 3 турбо, а также любой другой продукт линейки джилет мак 3 по максимальной выгодой цене!. Всегда в наличии популярные одноразовые бритвенные станки gillette 2.

    ReplyDelete
  34. تُعتبر شركة رش حشرات في الدمام من أبرز الشركات التي توفر خدمات مكافحة الآفات بجودة عالية واحترافية حيث تعمل الشركة على استخدام أحدث التقنيات والمبيدات الآمنة للبيئة للقضاء على جميع أنواع الحشرات الضارة.
    شركة مكافحة حشرات بالدمام

    ReplyDelete
  35. Safari and Google Chrome are common browsers that can cause issues like software bugs, outdated versions, conflicting extensions, or browser settings. Common problems include pages not loading or crashing, slow performance, can't load certain websites, freezing or becoming unresponsive, high CPU or RAM usage, browser crashes or won't open, cache overload, poor internet, or DNS issues New York State Divorce Calculator.

    ReplyDelete
  36. Братаны, а вы когда-нибудь пробовали Мороженое венеция? Оно чертовски вкусное, поверьте мне на слово. Каждый раз, когда я его пробую, я погружаюсь в другой мир, где все круто и ничего не имеет значения. Если вы хотите узнать больше о венецианском мороженом, то рекомендую вам зайти по этой ссылке: https://fotoblik.ru/morozhenoe-venetsiya. Там вы увидите не только фотки, но и много интересных фактов про это наркотическое лакомство. Так что не теряй времени, заходи сюда, братиш!

    ReplyDelete
  37. Хочу поделиться с вами отличной идеей для стильного образа - мартинсы с джинсами! Это прекрасное сочетание комфорта и стиля. Я недавно наткнулся на фотогалерею на сайте Fotofakt.ru, где есть удивительные фото модных образов с этой замечательной комбинацией. Чтобы увидеть все эти модели мартинсов и джинсов, рекомендую вам пройти по ссылке https://fotofakt.ru/tufli-na-tolstom-kabluke-s-remeshkom. Там вы найдете множество вариантов, которые подойдут для любого случая. Отличная возможность найти вдохновение и обновить свой гардероб. Уверен, вы останетесь в восторге!

    ReplyDelete
  38. где брать внешние ссылки для арбитража создать ссылки для внешнего трафика

    ReplyDelete