Spreadsheet file not opening/file open api returnig status 500

I used spreadsheet component in angular a few days ago for a sample app to test spreadsheet on web. It was working fine until I checked today. File from url wasnt loading and when I saw console, there printed that url I passed in [openUrl] prop is throwing 500. Is it related to licensing? or what could be the issue?

9 Replies 1 reply marked as answer

SP Sangeetha Priya Murugan Syncfusion Team November 12, 2020 09:15 AM UTC

Hi Hyder Ali, 
 
Thank you for contacting Syncfusion support. 
 
We have checked your reported issue and the file loaded properly in our Angular Spreadsheet by using our EJ2Service. For your convenience, we have prepared the sample that load the excel file in spreadsheet created event as like in the below code example. 
 
created () { 
    fetch( 
      https://js.syncfusion.com/demos/ejservices/data/Spreadsheet/LargeData.xlsx // provide your server path for excel file 
    ).then(response => { 
      response.blob().then(fileBlob => { 
        var file = new File([fileBlob], "Sample.xlsx"); 
        this.spreadsheetObj.open({ file: file }); // To open the excel file 
      }); 
    }); 
  } 
 
 
Could you please check the above sample and kindly share the imported excel file that you have loaded in spreadsheet and more details regarding this. Based on that we will check and provide you a better solution quickly. 
 
Regards, 
Sangeetha M 



Marked as answer

HA Hyder Ali November 13, 2020 06:38 AM UTC

Hello Sangeeta,
Thank you so much for addressing. It resolved my issue


SP Sangeetha Priya Murugan Syncfusion Team November 16, 2020 06:24 AM UTC

Hi Hyder Ali, 
 
Thank you for your update. Please feel free to contact us, if you need any further assistance on this. 
 
Regards, 
Sangeetha M 



HA Hyder Ali November 17, 2020 06:55 AM UTC

Hey Sangeetha,
I have this large file so I keep scrolling till I reach row 843 and it start showing loading and in the console there is a crash "ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'style' of undefined
TypeError: Cannot read property 'style' of undefined
    at setRowEleHeight (util.js:897)"


SP Sangeetha Priya Murugan Syncfusion Team November 18, 2020 08:44 AM UTC

Hi Hyder Ali, 
 
Thank you for your update. 
 
We have checked your reported issue with our previously updated sample and it is properly worked in our end. Meanwhile, we have prepared the video demonstration of this. If you have facing issue with another imported excel file, please share that file to us.  
 
 
Could you please check the above link and get back to us with more details like issue replicable excel file and spreadsheet customization codes. Based on that we will check and provide you a better solution quickly. 
 
Regards, 
Sangeetha M 



HA Hyder Ali December 9, 2020 06:58 AM UTC

Hey,
  1. Request URL:
    https://ej2services.syncfusion.com/production/web-services/api/spreadsheet/open
  2. Above api keeps crashing. Its again returning 500 since morning. My file is a little big. I have started feeling that this module is not a good option. Or if there is any option to load excel file without calling this api. Please let me know.


SP Sangeetha Priya Murugan Syncfusion Team December 9, 2020 07:57 AM UTC

Hi Hyder Ali, 
 
Thank you for your update. 
 
We have checked your reported issue with our previously updated sample that refers our online service for open/save functionality. It works properly in our end, if you are facing issue with our online service we would suggest you to use local service for open/save functionality. For your convenience, we have modified our previously update sample that refers the local service. Please find the links below. 
 
 
 
Note: launch the service first and then open the stackblitz sample for import and export. 
 
Could you please check the above link and get back to us, if you need any further assistance on this. 
 
Regards, 
Sangeetha M 



GO gofeatureus July 27, 2022 08:28 AM UTC

Issue occur with  latest version ( formula, hyperlink)



SP Sangeetha Priya Murugan Syncfusion Team July 29, 2022 08:57 AM UTC

Hi gofeatureus,


Before, we proceed further please share the below details.


1. Please share the saved JSON data of spreadsheet by using saveAsJson method in the text file format (which contains applied formula details).

2. If you are facing this issue with the imported file, please share it to us.

3.Please share the stack trace of the issue that you are facing

4. Please confirm whether you are using the latest scripts and assemblies in your application.

5. Video demonstration of this issue in your end.

6. If possible, please share the issue replicable sample or spreadsheet rendering codes.


Could you please check the above details and get back to us with the above requested information, based on that we will check and provide you a better solution quickly.


Regards,

Sangeetha M


Loader.
Up arrow icon