Error: Invalid Class

Error: Invalid Class

Anonymous
Not applicable
2,420 Views
6 Replies
Message 1 of 7

Error: Invalid Class

Anonymous
Not applicable

What does this error mean and what do I need to do to resolve it?

2,421 Views
6 Replies
Replies (6)
Message 2 of 7

ihayesjr
Community Manager
Community Manager

Is this happening on one computer or multiple computers?




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
0 Likes
Message 3 of 7

AWBoluijt
Participant
Participant

I am having the same issue on one machine did a reinstall of Vault and Autocad 2019 version. that didn't resolve the issue. @Anonymous did you fix it?

@ihayesjr 

0 Likes
Message 4 of 7

ihayesjr
Community Manager
Community Manager

@AWBoluijt 

Try clearing out the Internet Explorer Browser cache.




Irvin Hayes Jr
Principal Product Manager
Autodesk, Inc.

Vault - Under the Hood Blog
0 Likes
Message 5 of 7

jimmy.wick90
Contributor
Contributor

1. About how to rebuild the WMI repository.

• Disable and stop the winmgmt service
• Remove or rename C:\Windows\System32\wbem\repository
• Enable and start the winmgmt service
• Open Command Prompt as Administrator
• Run the following commands:
cd C:\Windows\System32\wbem\
for /f %s in ('dir /b *.mof') do mofcomp %s
NOTE: This will take a minute or so to complete.
for /f %s in ('dir /b en-us\*.mfl') do mofcomp en-us\%s

 

Hope this helps,

J wick

0 Likes
Message 6 of 7

nkirton
Enthusiast
Enthusiast

Although this has been about 2 years, I wanted to come in and say that this (or a version of this) worked for me. 

I was unable to load ANYTHING into Vault using Autoloader, until I created a .bat file with this content:

@echo off
sc config winmgmt start= disabled
net stop winmgmt /y
%systemdrive%
cd %windir%\system32\wbem
for /f %%s in ('dir /b *.dll') do regsvr32 /s %%s
wmiprvse /regserver
winmgmt /regserver
sc config winmgmt start= auto
net start winmgmt
for /f %%s in ('dir /s /b *.mof *.mfl') do mofcomp %%s

For those that are unsure. Create a .txt file, add this text in, make sure you have file extensions shown in windows, and change the .txt to .bat
Next you'll need to run this .bat file as administrator. If you don't want to do that, simply run your command prompt (cmd) as admin, and enter this text.
Restart your machine, and you should be good to go!

Thanks!

Nathan Kirton


If what I said helped you out, please use the ACCEPT AS SOLUTION or KUDOS buttons.


"I don't know why it doesn't work. It fit in the model!"

Message 7 of 7

philippe.lagrue
Contributor
Contributor

It work for me, thanks.

0 Likes