Error .Net Framework when executing app

0

I developed an app that targets .Net 4.0. Usually I install it in my clients with no problem.
But today I got an message when executing my app ( after install) that says:

".. the specified service does not exist as an installed service..Exception from HRESULT 0x80070424

The computer run Win7 SP1 ; 64bit I already unistalled the .Net Framework and installed the 4.5.1 version. But the problem is still the same ! Any ideias what this could be??

Thanks !

EDIT :: I found the origin of the problem ! I read the Bios Serial Number when I execute the app . I think I ´m not able to do that because when I execute in Ms-dos the command

 "wmic bios get serialnumber "

I get the same error "the specified service does not exist as an installed service"...

c#
.net
winforms
asked on Stack Overflow Nov 14, 2014 by hi itsme • edited Nov 14, 2014 by hi itsme

1 Answer

0

Check if the WMI service is installed and running.

Check this link for troubleshooting WMI http://community.spiceworks.com/help/Troubleshooting_WMI


User contributions licensed under CC BY-SA 3.0