Monday, April 11, 2016

DMM SIM needs access point registration for data connection

I am temporarily using a SIM-free LG G2 mini (Japanese).

I inserted my DMM SIM card.  Phone and SMS worked fine, but there was no internet connection via 3G or LTE. I simply couldn't figure it out.

I thought about sending DMM a tech support ticket but before doing so went through their FAQs. It turns out you need to register the access point for it to be able to work. 

Here is the info (Japanese):
DMM mobileのSIMを端末に入れても、通信できません

Gotta remember that.

Sunday, April 10, 2016

Business hotels

If you are stuck in Japan without accommodation, there are actually tons of small hotels called "business hotels".

Generally you can always find vacancy in those somewhere in the city. The name sounds luxurious but they're actually low-priced and no-frills.

They typically don't have a restaurant or many amenities, and the rooms are small. However they are clean, comfortable and get the job done. They are mainly used by people on business trips.

I've used them a lot myself and was always pretty satisfied. However most of them don't have much info in English. If needed I can give you a hand with that when you're here.

Sunday, October 18, 2015

Export iCloud Contacts fails on IE, succeeds on Firefox

Downloading iCloud Contacts on Windows does NOT work on Internet Explorer, but works fine on Firefox.  Which is weird since IE is the recommended browser for iCloud on Windows.

The steps to export your iCloud contacts on a Windows machine:
  1. Log into
  2. Go to the Contacts application
  3. Click on the gear icon at the bottom-right. -> A menu pops up.
  4. Select "Export to vCard"
When I tried it on IE, very simply, nothing happens whatsoever.  However when I tried it on Firefox it works perfectly.

My environment is Windows 8, running the latest IE and FF.

My wife got the exact same results.  She uses Windows 7 with whatever the latest IE is there.

Sunday, July 26, 2015

Accessing MS SQL databases from classic ASP

I am writing a CMS (content management system) in classic ASP using Microsoft's JScript language (a server-side language based on ECMAScript3) with a database in Microsoft's MS SQL.

Why I am using such an ancient technology as classic ASP/JScript is a topic for another time.  Today I will focus on the steps it took to get it working, and the troubleshooting I had to do along the way.

First of all, you start by instantiating an ADO connection object as follows.
Next, connect to the database using a connection string.

var objADO = new ActiveXObject("ADODB.Connection");

var dbConnStr = "Driver={SQL Server};server=MyMachine\\SQLEXPRESS;database=MyDB;uid=MyId;pwd=MyPw;";

... use database ...

Note that the code is in a try/catch structure.  The output from err.description helps a lot in diagnosing problems.

First problem

err.description had value:
  • [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'MyId'.]

The solution to this was found here:

The problem was that in SQL Server Management Studio I had set the authentication of SQL Server itself to
  • Windows Authentication mode

It should be:
  • SQL Server and Windows Authentication mode

Second problem

err.description had value:
  • [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'MyId'.  Reason: The password of the account must be changed.]

The solution to this was found here:

The problem was that I had set following property for the login for MyId in SQL Server Management Studio.
  • User must change password at next login

It should be unchecked.


Tuesday, May 19, 2015

Test post

Checking out what is going on with the management of photos in Blogger.
Attaching a pic from last year's trip to Seoul.

Saturday, October 11, 2014

Unable to read downloaded compiled help (CHM) files?

A problem I keep running into and forgetting how to solve, so I will jot it down here for future reference.

You download some compiled help (*.chm) file from anywhere on the internet.  You open it and see the hierarchical Contents tree on the left panel, but no content on the right panel!

Steps to solve this:

  1. Open the files Properties
  2. Click the button Unblock, assuming it is displayed.
    • The button should disappear after you click it.
  3. Press OK.
You're good to go.

I think the reason the problem occurs is that later versions of Windows block them automatically as a security feature.   As with anything, make sure you are downloading them from a trusted site!