Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Oct 09, 2024 9:54 am

Since yesterday our application (ASP.NET MVC, .NET 4.78, Azure Web App) is throwing exception

Common Language Runtime detected an invalid program.​


when calling

Code: Select all
using (var document = new Document())


What happened? Seems to be some .NET updates cause our app code did not change.
Regards

Sven

DarthSonic
 
Posts: 4
Joined: Mon Apr 12, 2021 11:50 am

Thu Oct 10, 2024 5:32 am

Hello,

Thanks for your inquiry.
Are you meaning that the error occured when you deployed your project on Azure? Do you have any issues when running it locally? If the issue only occured on Azure, it is necessary to confirm whether there has some adjustments on the Azure environment. If the issue still exists locally, please provide us with a project that can reproduce your issue for further investigation. You can upload your project, and then share the download link with us here or via ([email protected]). Thank you in advance.

Sincerely,
Amin
E-iceblue support team
User avatar

Amin.Gan
 
Posts: 305
Joined: Mon Jul 15, 2024 5:40 am

Return to Spire.Doc