getting OS Full name throws error - vb.net

I am trying to get OS full name using vb.net
Console.WriteLine(My.Computer.Info.OSFullName)
It works fine in most of the machines. One of the Windows 7 machine throws
Unhandled Exception: system.management.managementexception invalid class
google search does not help. Does anyone know what is causing this error?
It is set to Any CPU. So, It is not duplicate of ManagementException - Invalid Class
More Info:
I think below issue is causing the error. still checking how to fix this.

Related

Phalcon 5.0 Camelize throws a text not found error

I'm at Phalcon 5.0 and I am having issues calling camelize. I reached out to the community and was told that they will fix the help links that goes to 404.
Here's my issue:
$options['className'] = Text::camelize($options['name']);
is throwing error:
Fatal error: Uncaught Error: Class 'Phalcon\Builder\Text' not found
Long shot since I've never used Camelize, but in the 5.0 changelog there is a reference to Phalcon\Support\Helper\Str\Camelize. I'm wondering if they moved where Camelize lives?
Again... total guess on my part...

deferredCurrentActivation fatal exception

I'm suddenly seeing the following on Crashlytics for a macOS app, and this seems to happen only on macOS 10.14. I have no idea what this is. What's deferredCurrentActivation and how do I avoid this? Anyone else seen this?
Fatal Exception: NSInternalInconsistencyException
deferredCurrentActivation already set when we got another deferred activate event

WP10 TP Unable to get License Information 0xC03F7000

I'm testing my In-app purchases on my WP8.1 app as-is on Win 10 Tech Preview (tried on device as well as emulator with same result) and facing the following error while trying to get License Information.
Exception:
System.Exception: Exception from HRESULT: 0xC03F7000 at
Windows.ApplicationModel.Store.CurrentApp.get_LicenseInformation() at
App.OnLaunched(LaunchActivatedEventArgs e)
Code:
Dim oLicense As LicenseInformation
oLicense = CurrentApp.LicenseInformation
This is working fine on WP8.1. When I tried CurrentAppSimulator.LicenseInformation, I get a different error.
System.IO.DirectoryNotFoundException: The system cannot find the path
specified. (Exception from HRESULT: 0x80070003) at
Windows.ApplicationModel.Store.CurrentAppSimulator.get_LicenseInformation()
Any help/pointer is appreciated.
This has now been resolved with the release of Windows 10. It was a platform issue while in Technical preview stage.

Retrieving COM class factory ... failed error 80040154

I have an old VB.Net application using Interop.ebCryptLib.dll that I couldn't get to work. I get the following error:
Retrieving COM class factory for component with CLSID {...} failed due to the following error: 80040154
I've searched for the error online and tried the following:
Register the dll using regsvr32 but I get the error "entry point was not found"
I tried recompiling the project and set the platform to x86 but still get the same error.
Is there any other suggestion I can try? This is an old application developed by another person. I do have access to the code and am unable to get it to work properly.
Was able to resolve this by finding the original ebCrypt.dll online. Thanks for the help #HansPassant

Beginner needs help mono on os x 10.8.4

I'm a complete beginner at all of this so you may have to bear with me. I'm using a mac os x 10.8.4 and I want to run a windows exe file on my mac using mono. When I try to run any program I get the same error and I don't know what it means. Here's the first paragraph of the message:
Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
Could anyone tell me what this means and how to fix it? And please let me know if I can give more information to help. Thank you!
It could be related to this issue. Try installing X11.