Flex Profile .OPS files may be deleted intermittently, including backup .OPS files
Issue
When using Flex Profiles the store of .OPS files may be deleted at logoff, and not recreated, leaving the user with no profile settings.
Resolution
It would appear that the Flex_Framework.vbs script crashes or the PROFLWIZ.EXE process does not complete the export.
Comment out the following lines (348-362) to avoid deleting the .OPS files before they are successfully exported:
' 'Remove redundant OPS files
' Set CheckFolder = ObjFSO.GetFolder(Store)
' For Each Filer in Checkfolder.Files
' File2 = ObjFSO.GetBaseName(Filer)
' If Not ObjFSO.FileExists(TEMP_INI & "" & File2 & ".INI") Then
' ObjFSO.DeleteFile(Filer), true
' End If
' Next
' Set CheckFolder = ObjFSO.GetFolder(BackupFolder)
' For Each Filer in Checkfolder.Files
' File2 = ObjFSO.GetBaseName(Filer)
' If Not ObjFSO.FileExists(TEMP_INI & "" & File2 & ".INI") Then
' ObjFSO.DeleteFile(Filer), true
' End If
' Next
The files will be overwritten, without needing to be deleted beforehand.
Products
Login Consultants Flex Profile Kit 5.1
Created: 12th June 2008
Updated: 12th June 2008
© 2005-2024 Jamie Morrison