ASP MVC app sometimes crashes during conversion

,

Question:

I am using the ASP.NET Model View Controller (MVC) framework to convert files to XOD.

It seems to be partially working. Sometimes it works, sometimes it crashes. I’m trying this on my test machine and I’m the only user. We are currently converting it from pdf to xod every time a user tries to access the file.

We are calling PDFNet.Initialize in our Controllers constructor.

Answer:

PDFNet.Initialize cannot be called in your Controller subclass constructor. It should shortly after the Application starts.