Jump to content


drewz99

Management Point/Distribution Point mofcomp issue

Recommended Posts

We are having a very difficult time locating any posts, forum topics, or ms bulletins in regards to the attached distmgr.log file. If anybody of you knowledgeable helpful users on the forum can assist in ANY way, please feel free to offer any suggestions. We currently are unable to distribute any new data, sync dp's, etc...

We have performed a site reset. We have removed MP role. We have removed and replaced the mentioned file. Kind of at a loss. Short of rebuilding the main site server, I'm not too sure as to our next step. Any assistance would be greatly appreciated.

Thank you in advance for your time and assistance.

distmgr.log

mpcontrol.log

Share this post


Link to post
Share on other sites


Was able to locate the configuration.mof file and run the command mentioned above. Output was:

Parsing MOF file: configuration.mof

MOF file has been successfully parsed

Syntax check complete.

(followed by a warning regarding #PRAGMA AUTORECOVER)

 

Next step....

Share this post


Link to post
Share on other sites

sorry I write somting wrong about 'configuration.mof'

 

You should Compiling E:\Program Files\Microsoft Configuration Manager\bin\x64\smsdpprov.mof.

Path for MofComp.exe : C:\Windows\system32\wbem

Please copy smsdpprov.mof file from \Program Files\Microsoft Configuration Manager\bin\X64 to remote DP server c:\ and in CMD run ‘mofcomp.exe c:\smsdpprov.mof’ .

I hope this will help you.........

kind regard

sg

http://www.learnmesccm.com/

https://www.linkedin...ahic/a0/842/b21

Share this post


Link to post
Share on other sites

When executing this command, the following error is returned:

 

Parsing MOF file: c:\smsdpprov.mof

c:\smsdpprov.mof <1>: error SYNTAX 0X8004400a: Unexpected token at file scope

 

Compiler returned error 0x8004400a

 

Would you happen to have any other suggestions in regards to this issue?

 

Thank you

Share this post


Link to post
Share on other sites

I know it's an OLD post, but it did come up when I searched for the resolution of the same problem. 

I had spent almost 2 days troubleshooting this issue by myself and with MSFT CAS rep. 

After running Process monitor I noticed that MOFCOMP.exe is trying to access C:\Windows\Temp folder to write some temp file. I examined that folder and found that it has over 74,000 files in it dating as far back as 3 years ago.  I deleted all files in it (it had some files in use or locked, but MAJORITY of them have been removed), then restarted SMS Executive service and it all started to work. Next morning I validated packages and it all was distributed and re-validated successfully. 

 

Later on, I found that user Rbaker0 had the same solution on the TechNet forum:     https://social.technet.microsoft.com/Forums/en-US/574a9a72-1276-4500-94f3-12b0a31f1364/mofcompexe-failed-delete-the-classes-and-retry-compiling-0x8004400a-unexpected-token-at-file?forum=configmanagergeneral

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...