Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

I get 'Error Could not execute main' on startup – how can I fix it?

I get ‘Error Could not execute main’ on startup – how can I fix it?

Become a Patron of Ask Leo! and go ad-free!

Microsoft has a knowledgebase article on something that sounds exactly that
issue: “WJView error Could not execute main” error message
when you start your Windows XP-based computer

Subscribe to Confident Computing! Tech problem solving & safety tips & a weekly confidence boost in your inbox every week.

I'll see you there!

10 Reasons Your Computer is Slow

Slow Computer?

Speed up with my special report: 10 Reasons Your Computer is Slow, now updated for Windows 10.

NOW: name your own price! You decide how much to pay -- and yes, that means you can get this report completely free if you so choose. Get your copy now!

5 comments on “I get 'Error Could not execute main' on startup – how can I fix it?”

  1. I am getting this WJView Error: Could not execute Main: The system cannot find the file specified.

    According to the document you have posted this is a windows xp issue… I have window’s me not xp.
    I cannot access my controll panel it appear’s blank though it show’s 29 object’s along the bottom of the window, same with msn login, window’s update, system restore all show blank browser’s… How do I fix this
    Thank you,

  2. Got To Run and type regedit
    Double click on HKEY_LOCAL_MACHINE
    THEN microsoft
    current version
    delete ANYTHING that contains WJVIEW

    chances are that its adware…

    I had the same problem on my Win ME Machine


  3. lately every time I turn on my computer my dial up connection will pop up in the middle of my screen . How can can I prevent this from happening ? Just because I turn on my computer dosen’t mean I need the Internet.


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.