Error using posdm.exe from POS for .NET on Windows 10 - pointofservice

On Windows 10 running a simple posdm.exe from the command line gives the error:
C:\Program Files (x86)\Microsoft Point Of Service>posdm listsos
POSDM: Error executing WMI query: 'SELECT * from ServiceObject ', res=c0c02402: 0xC0C02402
I am unable to find anything online about this. I have installed Microsoft POS for .NET version 1.12. Is this a compatibility issue?

It looks like this is just the error you receive when you use this old version on Windows 10. Upgrading to version 1.14.1 fixed the error for me. Unfortunately I will still need to test things on 1.12 for compatibility checking so will have to use a virtual machine for that.

Related

Install4j installer and launcher returns odd errors when Java 9 or 10 are installed

We're getting ready to deploy our application (Cytoscape) for Windows, Linux and Mac.
We find that when Java 9 is installed on Fedora 26 64 bit, trying to run the installer gives "JVM must be greater than 1.6", though our JVM range is set to 1.8.0_152...1.9.
Is there a later installer/launcher version that gives a more informative error message? ... could we have something misconfigured??
On the same platform, but with Java 10 installed instead, the launcher apparently allows execution to commence (despite our JVM range). This ends badly, as Karaf complains:
/opt/Cytoscape_v3.6.1/framework/bin/karaf: line 242: [: : integer expression expected
-Djava.endorsed.dirs=/usr/java/jdk-10/jre/lib/endorsed:/usr/java/jdk-10/lib/endorsed:/opt/Cytoscape_v3.6.1/framework/lib/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exceThe programmes occurred. Program will exit.
Is the launcher somehow misidentifying the JVM? Shouldn't it give an informative error and stop the launch (including Karaf) from proceeding?
Thanks!

Install/Use NpgSQL on Visual Studio 2010

I'm trying to connect to a Postgres 9.5 database using VB.NET/VS2010. I've got the 4.5 .NET framework installed and the project is targeting ".NET Framework 4". I used Npgsql-3.2.5.msi to install the NpgSQL.dll and referenced the dll, but was unable to build the project, or see any of the NpgSQL objects in the intellisense. I had tried using NuGet for the current version, but it threw errors when i tried to install it. I used
"Install-Package Npgsql -Version 3.2.5"
I did some research and was able to install the NuGet Legacy package
"Install-Package Npgsql.EntityFrameworkLegacy -Version 2.2.7"
but the project still refuses to build and I'm still unable to access the Npgsql objects, at least in the intellisense. When I try to build I get
"Could not load file or assembly 'PostGreSQL Test.exe' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." as an error.
Any help in getting a version of Npgsql to work with Visual Studio 2010 would be greatly appreciated! or at least let me know if it's not possible. This will be a read only connection.
here's the chunk of sample code i'm starting with:
Private Sub GetData()
Using conn = New Npgsql.NpgsqlConnection(connectionString)
conn.Open()
' Retrieve all rows
Using cmd = New Npgsql.NpgsqlCommand("SELECT some_field FROM data", conn)
Using reader = cmd.ExecuteReader()
While reader.Read()
Console.WriteLine(reader.GetString(0))
End While
End Using 'reader
End Using 'cmd
End Using 'conn
End Sub

MATLAB Error: Can't check VCRTs

When I start MATLAB I suddenly receive the following error message on the command line:
ERROR: Can't check 8.0 VCRTs (starter line:956) System Error:
0x00000005 ERROR: Can't check 9.0 VCRTs (starter line:995) System
Error: 0x00000005 Installing required 8.0 run-time libraries. This may
take a few minutes...
I tried to repair and reinstall the Visual C++ Redistributables (2005 and 2008), but that didn't solve the problem. Doing online research I mainly found out that people who had a similar problem reinstalled windows. Well, does anyone have another idea what I could try in order to solve that?

Compiling perl on windows

I am trying to compile perl(5.12.3) from source on windows(64 bit windows 2008 R2) using visual studio 10 )64 bit compiler.
Following configurations were done done:
Configure visual to compile 64 bit perl:
vcvarsall.bat x64
Changes in makefile:
uncommented:
CCTYPE = MSVC90
Set the value for MSVCDIR
On doing a make I am getting following error message:
..\miniperl.exe -I..\lib bin\exetype.pl ..\wperl.exe WINDOWS
'x' outside of string in unpack at bin\exetype.pl line 39.
NMAKE : fatal error U1077: '..\miniperl.exe' : return code '0xff'
Stop.
Please help me to understand what is missing.
I have tried with visual studion 13, but got same error.
You can try a couple of fixes:
Set CCTYPE = MSVC60
Quote "$offset" on line 37.
It's a known bug that might be fixed on newer versions.

Mongodb Error on running phpunit test

I tried to run mongdodb's driver test using phpunit as stated at http://www.php.net/manual/en/mongo.testing.php but it seems to have a problem with a MongoInt32Test.php filew.
# phpunit tests/mongosuite.php
Warning: require_once(MongoInt32Test.php): failed to open stream: No such file or directory in C:\Documents and Settings\owner\Desktop\mongo-php-driver\tests\MongoSuite.php on line 4
Fatal error: require_once(): Failed opening required 'MongoInt32Test.php' (include_path='.;\programming_tools\xampp-portable\php\PEAR') in C:\Documents and Settings\owner\Desktop\mongo-php-driver\tests\MongoSuite.php on line 4
I am using a php_mongo-1.3.1-5.4-vc9.dll and running mongodb 2.0.8 in windows xp. Anybody knows how to fix this? I can't find MongoInt32Test.php anywhere.
The PHPUnit tests in the extension are legacy tests and are no longer supported. I created a ticket, PHP-695, to remind us to remove mention of them from the documentation. All extension tests are phpt files, and instructions for executing them are documented in the GitHub repository.