Error accessing database values.