OLE Print Error

Annie Parker 35 Reputation points
2025-08-02T09:58:08.0166667+00:00

Hi,

Whilst using Microsoft Project Professional 2024, I have a company logo inserted in the Header in the Print SetUp. I need to have the logo in my border, so removing it is not an option.

I have tried multiple picture setups, changing from jpeg to png etc and I get the same error message regardless.

'You are about to activate an OLE object that may contain viruses or may otherwise be harmful to your computer. You may want to verify that this object comes from a trustworthy source before you continue. Do you want to continue?'

If the error just appeared once, it might not be such an irritation but the fact that it pops up 3-4 times before I get into my print settings, and then again when I navigate to the header option and then again once or twice when I close the dialogue box, it is just very excessive.

I've seen other users have the same issue but no suitable fix. Please do something to save my sanity!!

Thanks

Microsoft 365 and Office | Project | For home | Windows

4 answers

Sort by: Oldest
  1. Anonymous
    2025-08-02T12:03:58.51+00:00

    Hi @Annie Parker

    Thank you for posting your question in the Microsoft Q&A forum. 

    Regarding that you getting the error when trying to change from jpeg to png. To better assist you, I’d like to ask a few questions so we can understand your situation more clearly:  

    Does this issue happen to all other project file when you try to change JPEG to PNG? 

    Are there any Trust Center or security settings customized in your setup? 

    Check Trust Center Settings  Go to: 

    File then go to Options, find the Trust Center and Trust Center Settings. Make sure the settings allow safe activation of embedded objects. You can try setting it to "Prompt me before enabling all controls with minimal restrictions" to reduce the number of warnings.   

    Or You could try this in the meantime 

    Try export to PDF First  Instead of printing directly from Project, export your file to PDF and print from a PDF viewer. This bypasses the OLE activation process entirely and avoids the warning pop-ups   

    I'm sincerely sorry for the inconvenience that you've encountered. But I need to know more about your situation so I can help you better. I appreciate your patience and are here to help. Looking forward to your response 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  User's image

    Was this answer helpful?


  2. John Project 49,720 Reputation points Volunteer Moderator
    2025-08-03T15:30:26.5666667+00:00

    You said you inserted the logo in the header but then you mentioned you need to have it in your border. Project will allow images in the header, footer and legend but not in the margins (i.e. border).

    I have no problem inserting an image in the header (i.e. no OLE warnings). Where exactly is your logo stored? That could be the issue that was touched on by Henry-N but not well explained. The screen shot below shows what I get with an .PNG image from my desktop inserted into the header of a sample file. I printed it with no issues, OLE warnings or otherwise, at any time during the process.

    2025-08-03_07-57-56

    John

    Was this answer helpful?


  3. Vitor Mendes 10 Reputation points
    2025-11-27T15:27:11.5833333+00:00

    Our IT team manage to fix this problem, makin c:\ a trusted location, under project options ->trust center -> trusted locations and adding a new location "c:" and selecting "include sub-folders".

    OLE error gone.

    Hope it help others.

    Was this answer helpful?

    5 people found this answer helpful.

  4. Sean Kearney 0 Reputation points
    2026-01-09T02:47:29.09+00:00

    A note to say we're experencing the same issues with Microsoft Project. We have tested in client enviroments and with our own copy of the Microsoft Project online desktop client. It appeatrs to have started a couple of months ago, and it can be replicated on the latest build Version 2511 (19426.20218).

    The scenario is an OLE wartning pop up durng print preview, or when switching tabs in the page setup tab.

    The images are inserted and have not been linked to an external source, or copp/pasted from another office app. We have tried multiple image files with no internet security locks, and the issue persists.

    The only resolution to the issue is to remove images from the header/footer.

    Office repairs are no use. We have tested this with a fresh install and experience the same issue. We have confirmed ole32.dll and oleaut32.dll load from C:\Windows\System32.

    We have also attempted the fix listed here, without success: https://www.reddit.com/r/MSProject/comments/1jfq9it/ole_project_error/

    There appear to be other reports online of the same issue recenly, suggesting a bug or change: https://learn.microsoft.com/en-us/answers/questions/5511656/ole-print-error

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.