We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Application_Error in Global.asax when loading a page containing SpreadSheet control

Thread ID:

Created:

Updated:

Platform:

Replies:

142725 Feb 16,2019 04:41 PM UTC Feb 25,2019 12:10 PM UTC ASP.NET Web Forms 4
loading
Tags: Spreadsheet
Hasindu
Asked On February 16, 2019 04:51 PM UTC

When Loading an ASP.NET web forms Page that is containing a Spreadsheet control, Application_Error void in Global.asax is getting called.

Application_Error is getting called twice every postback.

This is a part of the output from Visual Studio output. (Which came while this error)

Exception thrown: 'System.Threading.ThreadAbortException' in mscorlib.dll
Exception thrown: 'System.Threading.ThreadAbortException' in mscorlib.dll
Exception thrown: 'System.Threading.ThreadAbortException' in System.Web.dll
The thread 0x2a08 has exited with code 0 (0x0).
The thread 0x2750 has exited with code 0 (0x0).
Exception thrown: 'System.Web.HttpException' in System.Web.dll
Exception thrown: 'System.Web.HttpException' in System.Web.dll
Exception thrown: 'System.Web.HttpException' in System.Web.dll
Exception thrown: 'System.Web.HttpException' in System.Web.dll
Exception thrown: 'System.Web.HttpException' in System.Web.dll
Exception thrown: 'System.Web.HttpException' in System.Web.dll


This is the exception details for System.Web.HttpException

  System.Web.HttpException
  HResult=0x80004005
  Message=This is an invalid webresource request.


I suspect this is happening because of the SpreadSheet control. This does not happen in any other pages. Other parts This the ASPX page,
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ExamEdit.aspx.vb" Inherits="SMAS.ASPSvr.ExamEdit" StylesheetTheme="Proj" Theme="Proj" %>


<%@ Register Assembly="Syncfusion.EJ.Web" Namespace="Syncfusion.JavaScript.Web" TagPrefix="ej" %>
<%@ Register Assembly="Syncfusion.EJ" Namespace="Syncfusion.JavaScript.Models" TagPrefix="ej" %>



   
   
   
   
   
   
   


        
   
       
           
           
           

Exam Sheet Editor

           

               
                 
               
                 
               
                 
               
                 
           


           
               
                   
                   
               
               
                   
                   
               
               
                   
                   
               
           
Title
                        1
                   
Password
                       
                   
Details
                       
                   




           


           
               
           
           
       
   

  

Does it have anything wrong? 
Please help me to fix this issue. Ask me for more info if needed.

I'm having another issue on the same page. Check if they are related - https://www.syncfusion.com/forums/142722/changes-to-spreadsheet-sheets-not-updating


Silambarasan I [Syncfusion]
Replied On February 19, 2019 07:26 AM UTC

Hi Hasindu, 
 
Thank you for contacting Syncfusion support. 
 
We have looked into your reported query and before we provide solution, we would like to know the following details. 
 
1. Please provide more information about your issue while getting Application_Error on every post back such as details of Http Error Code with error message, Exception error details. If possible, please provide error screenshots or video demonstration or issue reproducible dummy sample. 
 
2. Please share your code snippet or details about the Spreadsheet rendering part to know about the used way of dataSource binding,  dataSource length and customization in Spreadsheet if you did. 
 
3. Please confirm that you are currently using Essential Studio product version ‘v16.4.0.42’. If not, please share your current product version details. 
 
Could you please get back to us with the above information so that we can analyze based on that and provide you a better solution at earliest? The information provided would be great help for us to proceed further. 
 
Regards, 
Silambarasan 


Hasindu
Replied On February 21, 2019 09:08 PM UTC

The version of Syncfusion.EJ is 16.4460.0.52

I'm receiving following many time in chrome console
WebResource.axd:1 Failed to load resource: the server responded with a status of 404 (Not Found)

The URL of that is 
http://localhost:2052/WebResource.axd?d=DdgjHcAzq1d56W0G9r8Y3WV9ugW8OLNkBfeS6nolYl-D5dpbMeosksCPRE02LIhaU59Kxc9YCSLXBBEX9bDIwLcAYFMH-ed3rlo3jn8L12tYLw8K-E80NBZR-8HCtA4L0jTfQfaPz_AfgOxTjqN3nsww68Z46JgQL-RmaAbDl9QtNjQ_1MRW6lj6ZZ3jdX-I0&t=636863876354096555

Sometimes I get following in chrome console
GET http://localhost:2052/WebResource.axd?d=_02HorMgHfpa-An8s4LPQMk8xjgqFU5oJuavVBICeekA-Npq2JPR-qAWMrsrRsd-HaviiuCAOK0KXsyjlp1_qsldqRv4RZloUUFvoNFunbn_qlT-BsESVKsXVpwSmoEblm7oioq-rmMUF8MkfOs05vNhrLoPkrRJ7VjxWF4L4aUci2y685oIJYJ_n0hLuDp-0&t=636863876354096555 404 (Not Found)


This is coming from my aspx page. From this script. (This is only the first few lines)
 
CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;