gooleem
gooleem

Reputation: 332

Why is the Adobe PDF Control not opening outside debugging? (Error 103)

I'm using the ActiveX Adobe PDF Viewer Control (AxAcroPDFLib.AxAcroPDF) from Adobe Reader XI.

I load the PDF File with axAcroPDF1.LoadFile(_pdffile);

Everything works well in VisualStudio with debugger. But when I start the compiled EXE file, no PDF opens. Also tried with Administrator privileges. The area of the control is grey and after a while the error message

There is a problem with Adobe Acrobat/Reader. If it is running, please exit and try again. (103:103)

appears. I tried to disable the 'Protected Mode at startup' and I reinstalled Adobe Reader. But doesn't work!

How can I fix this?

Upvotes: 4

Views: 2275

Answers (1)

g_brahimaj
g_brahimaj

Reputation: 197

I had the same problem with my application and this worked for me:

  1. Go to Adobe=>Edit=>Preferences=>Security(Enhanced)

  2. Uncheck both "Enable protected mode at startup" and "Enable Enhanced Security"

Thats it! Hope it works for you/other in the future. enter image description here

Upvotes: 0

Related Questions