I thought I solved the error with the code block you sent, but I was wrong.
The error repeats like this. I am running the system. I am opening an excel file. It opens smoothly. When I open the second excel file it splits into too many pages. It opens a large number of sheets and these sheets become repetitive sheets. Or there are blank sheets.
When I try to find the error by debugging the code, you are redirecting the GroupDocs.Viewer.UI.SelfHost.Api.Viewer namespace to the GetViewInfo function within the GetDocumentInfoAsync function. Here is the source of the error. However, since this method is inside the GroupDocs.Viewer namespace, I am not authorized to access it. There is a problem with the function in GroupDocs.Viewer.Dll. dll in version 22.1.1 we are using the updated package.
I am sharing the 2 samples I have uploaded and their screenshots.
by the way, the problem is the same in every environment regardless of linux and windows.
I’m waiting for your help.
fine working excel example that opens on first boot.png (87.0 KB)
Second opened corrupted excel example.png (90.7 KB)
testexcel1-2.zip (1.3 MB)