Check that the switch on the parking brake is actually engaging. It might require an adjustment. If it's a diesel with air brakes, it might be that the parking brake air valve, that has an electric switch built into it, might be bad.
Bob & Donna
'98 Gulf Stream Sun Voyager DP being pushed by a '00 Beetle TDI