The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,839 other subscribers

Solved: Android Play Store error 926 while downloading new apps

Posted by jpluimers on 2015/11/25

I had this a while ago on one of my Android devices: an error 926 while downloading apps from the Play Store.

After searching, the only relevant solution I could find is in the below youtube video. These are the steps to resolve the problem:

  1. Reset the “Download Manager”
    1. Go to “Settings”
    2. Click “Apps”
    3. Click “All” (it will often not show up under “Running”)
    4. Click “Download Manager”
    5. Click “Clear cache”
    6. Click “Clear data”
    7. Reboot your phone
  2. Reset the “Google Services Framework”
    1. Go to “Settings”
    2. Click “Apps”
    3. Click “All” (it will often not show up under “Running”)
    4. Click “Google Services Framework”
    5. Click “Clear cache”
    6. Click “Clear data”
    7. Reboot your phone

For some users, just resetting the “Download Manager” might fix the 926 problem. I had to reset “Google Services Framework” as well. Others had to reset the “Google Play Store” app.

These were the circumstances I encountered the 926 problem:

  1. Brand new device
  2. Added Google account
  3. Performed the first firmware updates
  4. Added some apps from the web based Google Play Store
  5. After successfully installing some apps, the device would show error 926

After fixing the 926 error, I installed all apps using the Google Play app which then went fine.

–jeroen

Posted in Android Devices, Power User | Leave a Comment »

Raise specific exceptions like InvalidOperationException, not generic ones like ApplicationException.

Posted by jpluimers on 2015/11/25

Code Analysis in Visual Studio objects against using very generic exception types:

CA2201 Do not raise reserved exception types

‘BusinessClass<T>.StopProcessing()’ creates an exception of type ‘ApplicationException’, an exception type that is not sufficiently specific and should never be raised by user code. If this exception instance might be thrown, use a different exception type.

Company.Departement.Functionality BusinessClass.cs 157

Indeed ApplicationException and SystemException are bad (both mapping to also very generic COM HRESULT values COR_E_APPLICATION / -2146232832 / 0x80131600 and COR_E_SYSTEM / -2146233087 / 0x80131501).

Using InvalidOperationException is much nicer in this case. It still maps to a COM exception (in this case COR_E_INVALIDOPERATION / -2146233079 / 0x80131509).

–jeroen

Posted in .NET, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Development, Software Development | Leave a Comment »

Recommended read: What I learned while securing Ubuntu – major.io

Posted by jpluimers on 2015/11/24

Applying security hardening standards and generally securing Ubuntu has been a challenge.

Tell me about it (:

–jeroen

Source: What I learned while securing Ubuntu – major.io

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

Resolving “Unknown SSL protocol error in connection to bitbucket.org:443”

Posted by jpluimers on 2015/11/24

A while ago, I had this error on BitBucket:

Running git.exe with arguments "fetch --prune" failed with return code 128 and error output: "fatal: unable to access 'https://%account%@bitbucket.org/%user%/%repository%.git/': Unknown SSL protocol error in connection to bitbucket.org:443

A quick search for “Unknown SSL protocol error in connection to bitbucket.org:443” pointed me to a comment by Ludwik Trammer on an answer by Jordfräs:

I resolved the issue by upgrading from git 1.8 to git 2.0.

Which reminded me this was a Windows system, where there is no package manager that verifies how far your non-system software is behind.

One day, I will write a script that finds out about the git version history and inform me of major/minor versions I’ve skipped.

Some notes for that:

Probably I will need to do something similar for Mercurial/hg in the future as well.

–jeroen

via: git – Unknown SSL protocol error in connection – Stack Overflow

Posted in Development, DVCS - Distributed Version Control, git, Power User, Software Development, Source Code Management, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2 | Leave a Comment »

Ensure you know the state of an instance.

Posted by jpluimers on 2015/11/24

A while ago, I came across a class having (among other members) two methods named like this:

  • Start
  • Stop

Within one of the other members of the class, I had to (temporarily) Stop processing, then Start it again.

But I couldn’t, as neither Start, nor Stop would make a record of the state it left the instance in.

Always ensure you know the state of an instance.

So I added the state, and tests to ensure a Stop/Start change was indeed not breaking things.

–jeroen

Posted in .NET, .NET 1.x, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 1.0, C# 2.0, C# 3.0, C# 4.0, C# 5.0, C# 6 (Roslyn), Delphi, Delphi 10 Seattle, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Delphi XE6, Delphi XE7, Delphi XE8, Development, Software Development | 1 Comment »

DOT (graph description language) – Wikipedia, the free encyclopedia

Posted by jpluimers on 2015/11/23

Interesting: DOT (graph description language) – Wikipedia, the free encyclopedia

Posted in Uncategorized | Leave a Comment »

The number of connections to this computer is limited and all connections are in use right now. Try connecing later or contact your system administrator.

Posted by jpluimers on 2015/11/23

I never found the cause for this error:

The number of connections to this computer is limited and all connections are in use right now. Try connecing later or contact your system administrator.

I tried all the links I found via The number of connections to this computer is limited and all connections are in use right now. Try connecing later or contact your system administrator. – Google Search

In the end I did a hard power down of the machine and rebooted. The error never returned.

I tried these links all to no avail:

–jeroen

Posted in Power User, Windows, Windows 8, Windows 8.1 | 2 Comments »

Koninklijke KPN N.V Data Centers

Posted by jpluimers on 2015/11/23

Koninklijke KPN N.V Data Centers.

There are many more (for me) “local” Data Centers in:

–jeroen

Posted in Infrastructure, Power User | Leave a Comment »

As a parent this is very useful – Meme Guy

Posted by jpluimers on 2015/11/22

As a parent this is very useful – meme, parent, useful. Meme Guy photo.

Source: As a parent this is very useful – Meme Guy

Posted in Uncategorized | Leave a Comment »

This is why I love GExperts – via: What do you think of this?

Posted by jpluimers on 2015/11/22

This is why I love GExperts. The experimental build, that is.What do you think of this? – Thomas Mueller (dummzeuch) – Google+

Source: What do you think of this?

Posted in Uncategorized | Leave a Comment »