I took a fast look at your log and there does seem to be a problem with one of the calculations at your contact with Approach but I'm unsure of the reason, and also unsure whether the error message regarding your database could be related. We'll need to wait for Dave to have a look.
Your last waypoint in this case is about 44 miles out and that should work, so something else is going on.