Monday, 14 December 2020

Oracle Apex Form Download File link error - Server sent an invalid response.

I had the following problem reported by a user of one of my Apex applications when they were trying to download an attachment that had been added to a record as a clob using the built in functionality for Apex clob form fields. The error message wasn't very informative and gave "server name sent an invalid response."

The issue seemed to be that the file name the user was adding included commas in it which is obviously allowed in Windows but maybe not in other system processes. Once I removed the commas the download worked fine again.

In order to remove unwanted characters in file names I added the following code to the insert trigger on the Attachment table to automatically update them

-- Check and update Filename remove unwanted characters 

--*****************************************************************************

       :NEW.FILE_NAME := REPLACE ( REPLACE ( REPLACE ( :NEW.cat_FILE_NAME, CHR(44), NULL ), CHR(59), NULL ), CHR(39), NULL ) ;   

Monday, 7 December 2020

SecureDoc Password Different Windows 10 After Change

 SecureDoc is used to protect laptops so that the disc is encrypted before logging into the operating system. I have Windows 10 on my laptop and normally it's a seamless process to log in where you enter your credentials to SecureDoc on startup and this automatically logs you in to Windows.

However there seems to be an issue when Windows requires a password change and SecureDoc doesn't seem to be able to cope with this so you end up with the situation of needing a different password for SecureDoc to the one used for Windows and need to enter 2 different passwords.

The SecureDoc website is useless for finding information about this and doesn't have any support info - I guess because they expect support to be done by company helpdesks.

The answer seems to be to log in to the SecureDoc control center on your laptop once it has booted into the Operating System. Select the menu option to Communicate with Server and this appears to resync the password between Windows and SecureDoc. I don't know if the same process works for MacOS but it might be worth a try if you find that your password no longer matches SecureDoc.




Sunday, 22 November 2020

IOCrest SATA 6g Host Controller Not working - Hard Drives not showing

 For ages I've had an IO Crest 8 channel PCI-Express SATA (Serial ATA) host controller card that I've been unable to get fully working on my PC so it would allow the additional hard drives I'd got connected to it to be visible. There were a few suggestions online but nothing seemed to work and some posts had suggested the card was unlikely to function properly for various reasons so I'd not dug further into it.

I finally decided to give it another go and to look for new drivers. The driver CD that came with the card didnt have anything of use on it - not sure if it was the wrong CD but it had video software nothing to do with this card. It seemed that the card had Marvell chipsets on it so had a look on their website which was utterly useless and gave no information.

I then stumbled on a very informative post here https://www.tenforums.com/drivers-hardware/60112-marvell-92xx-sata-controller-6gb-driver-windows-10-1-2-0-1039-whql.html which gave some details of a site that had the drivers as well as the right driver to install.

Downloaded and installed - bingo - suddenly the missing drives all pop up in Windows explorer so I've now got it all working.

The website with the drivers on is https://www.evga.com/support/download/


The Marvell driver to look for is with the Intel Z87 motherboard, FTW part number. Select Sata 3G/6G and then the relevant Operating System.

Download and extract the files and a folder called 1.2.0.1039-WHQL will be created. Run the drvsetup.exe file and the drivers will be added to your system.

Once done you will see the following in the Control Panel Device manager and hopefully a bunch of disks if you have any attached.



Tuesday, 28 July 2020

Garmin Forerunner 45 Not Showing or Recording Distance Since Hack July 2020

Garmin systems appear to have been hacked from 23 July 2020 and as of 27th July are slowly starting to come back.

However I've found that since the systems started to come back online my Garmin Forerunner 45 hasn't been showing or recording the distance for activities. I rebooted it but that made no difference. The run or ride still records, it still detects the GPS signal but no distance is shown on the device screen. It shows the pace so something is getting the data for that but the distance stays as zero.
The solution that I've found is to turn the bluetooth on my phone off, then reboot the Forerunner 45 watch and the do the activity so that the watch isn't aware of the phone sync at that point. 

It seems to be the phone that is stopping the distance recording on the watch but not sure how that is being triggered. Until the problem with Garmin is sorted I'm leaving the watch like this so that I can still record distances. 

The Forerunner 45 watch stores quite a bit of data so I'm not in any rush to restart the sync if it stops distances being recorded

Tuesday, 25 February 2020

Strava Sony Smartwatch3 Data Sync Fails - How to Fix

Strava have long since stopped supporting the Sony Smartwatch 3. I first found the problem with loading my runs & rides from my watch to Strava back in late 2017 and all was working relatively smoothly with my Android phone being kept on the latest working version of Strava which I'd found to be v20.0.0

I've now got a new Android phone and am looking to sell my old phone so need to get another way to load the Strava data from my Sony Smartwatch to Strava online. I've found a great website that maintains old copies of the Android Strava app where I am able to obtain a copy of v20 of Strava.

https://strava.en.uptodown.com/android/versions

Luckily I have a very old phone that I'm able to install Strava on and use that purely for loading my activity from my Smartwatch up to Strava. I can then use my new Android phone with the latest version of Strava to view my activity and those of my friends - the old version 20 no longer shows any activity on the phone but still syncs the data from the Smartwatch in the back ground.

So if you want to continue to use Strava on your Smartwatch I'd recommend using the link above to get v20 of the Strava app to load to your phone which will continue to sync your data.