Telerik spreadsheet now says file in use when reading a file

1 Answer 47 Views
Spreadsheet
Ken
Top achievements
Rank 1
Iron
Ken asked on 01 Dec 2022, 05:35 PM

This was reported by a user, so it could be a Windows issue.

The user says it was not doing this a month ago. We generate a template file for the user to fill. After saving they upload/import and it used to work OK.  Sometime over the last few weeks, users started to get the "File in use" error.

Google is of no use as it only brings back "file in use when trying to delete it" results.

Any ideas?

Is there an option that can be set in code to avoid this?

1 Answer, 1 is accepted

Sort by
0
Nikolay Demirev
Telerik team
answered on 02 Dec 2022, 08:24 AM

Hi Ken,

This error appears when another software has locked the file. For example, if the file is opened in MS Excel, it can not be imported into the RadSpreadsheet because Excel locks the file, and it can not be opened in .NET Framework at all.

You could change the message's text by changing the localization strings, as explained here. That way, you could instruct your clients to close all other software using the file.

Regards,
Nikolay Demirev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Spreadsheet
Asked by
Ken
Top achievements
Rank 1
Iron
Answers by
Nikolay Demirev
Telerik team
Share this question
or