Print View

Application Error with FlexRefresh.exe in the Flex Profile Kit

Issue

When using the Flex Profile Kit/Flex Framework the following error may be caused during logon:

Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Description: Faulting application FlexRefresh.exe, version 0.0.0.0, faulting module FlexRefresh.exe, version 0.0.0.0, fault address 0x00002cdf.

This does not appear to happen consistently, or when the application is run interactively.

Resolution

Ensure the user profile/Default Profile has all of the following registry keys:

[HKEY_CURRENT_USER\Control Panel\Colors]
"ActiveBorder"="212 208 200"
"ActiveTitle"="10 36 106"
"AppWorkSpace"="128 128 128"
"Background"="58 110 165"
"ButtonAlternateFace"="181 181 181"
"ButtonDkShadow"="64 64 64"
"ButtonFace"="212 208 200"
"ButtonHilight"="255 255 255"
"ButtonLight"="212 208 200"
"ButtonShadow"="128 128 128"
"ButtonText"="0 0 0"
"GradientActiveTitle"="166 202 240"
"GradientInactiveTitle"="192 192 192"
"GrayText"="128 128 128"
"Hilight"="10 36 106"
"HilightText"="255 255 255"
"HotTrackingColor"="0 0 128"
"InactiveBorder"="212 208 200"
"InactiveTitle"="128 128 128"
"InactiveTitleText"="212 208 200"
"InfoText"="0 0 0"
"InfoWindow"="255 255 225"
"Menu"="212 208 200"
"MenuText"="0 0 0"
"Scrollbar"="212 208 200"
"TitleText"="255 255 255"
"Window"="255 255 255"
"WindowFrame"="0 0 0"
"WindowText"="0 0 0"
"MenuHilight"="210 210 255"
"MenuBar"="212 208 200"


The last two were found to be missing. To add these the Default User profile:

SET LoadKey=DefaultUser
REG LOAD "HKU\%LoadKey%" "%SystemRoot%\Documents and Settings\Default User\NTUSER.DAT"
Rem Fix FlexRefresh Application Error
REG ADD "HKU\%LoadKey%\Control Panel\Colors" /t REG_SZ /v MenuHilight /d "210 210 255" /f
REG ADD "HKU\%LoadKey%\Control Panel\Colors" /t REG_SZ /v MenuBar /d "212 208 200" /f
REG UNLOAD HKU\%LoadKey%

References

Products

Login Consultants Flex Profile Kit 5.1

Created: 4th April 2008
Updated: 4th April 2008

Print View

© 2005-2024 Jamie Morrison