
Hello all,
i have been struggling for several days with the export PDF function in MVC Scheduler. When i click the export button i receive a 404 not found in my console. I have already try changing the bundle config, i have moved my files to differents folders, i have included them in my index.cshtml, everything. But i still receive this message, even if my files are on the url that is shown in my console, i really don't know how to make it work. I give you my project folder structure to see if there is something wrong with it. I'm trying it in my development pc.
I hope you can help me, i don't know how to tell my boss that i have spent this amount of hours with this export.
Thank you very much.
5 Answers, 1 is accepted

Hi Jose,
I tried to reproduce the reported behavior in a sample application and in our demos, but to no avail. Can you send a sample where the issue is reproducible and can be observed? This way I can be of better help.
That said, normally, when static files are not found you need to update the web.config file, as suggested in the SO threads here and here, for example
<system.webServer>
<staticContent>
<remove fileExtension=".ttf" />
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
</staticContent>
</system.webServer>
I hope the above helps.
Regards,
Aleksandar
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/.

Hi Aleksandar,
thanks for your reply. I tried the solution that you have given to me but it still doesn't work. I can't give you a sample project since it's a private project of the enterprise. I have prepared a pdf file with the portions of code that i think are remarkable. I hope you can help me with this information.
Kind regards,
Francisco.
Hello Jose,
Thank you for the details provided. I tried to reproduce the issue based on the details, but without success. Attached you will find a sample application with the Scheduler and the PDF Export functionality where the fonts are loaded and the PDF exported as expected. Make sure to run a NuGet restore command before starting the application. Can you review it and modify it so the behavior reported is reproducible and send it back to me? This way I will be able to debug locally and investigate the issue further.
Looking forward to hearing back from you.
Regards,
Aleksandar
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/.

Hi Aleksandar,
i'm sorry for not replying your last post. One of my colleagues has succeeded with this problem. The files had the extension like this: ".ttf@v=1.1". So, to make it work, he has added the following:
<staticContent>
<remove fileExtension=".ttf" />
<mimeMap fileExtension=".ttf@v=1.1" mimeType="application/octet-stream" />
</staticContent>
Thank you very much for your help.
Kind regards,
Francisco.