Error: (100) System.Exception: System.Exception: Exception decrypting...
Scenario
You may see this message if the GFRLookUpListSync.ini was copied from one machine to another when migrating the service.
Error message
(100) System.Exception: System.Exception: Exception decrypting. Decryption failed. Key not valid for use in specified state. at DataProtection.DataProtector.Decrypt(Byte[] cipherText, Byte[] optionalEntropy) at GFR_LookuplistSync.Encryption.Decrypt_DPAPI(String EncryptedValue) at GFR_LookuplistSync.IniFile.Initialize() at GFR_LookuplistSync.SyncLookuplist.tmrSyncLookuplist_Elapsed(Object sender, ElapsedEventArgs e)
Cause
The GoFileRoom Lookup List Sync service was unable to read the GFRLookUpListSync.ini file.
Solution
- Select the Windows Start button and choose Run.
- Enterservices.mscin the search field and press ENTER.
- In the Services dialog, locate theGFR Lookup List Syncservice and select theStop Servicebutton on the toolbar.
- Navigate to the GFRLookupListSync folder at the following location:
- 64-bit operating system:C:\Program Files (x86)\GoFileRoom\GFRLookupListSync
- 32-bit operating system:C:\Program Files\GoFileRoom\GFRLookupListSync
- Rename the GFRLookUpListSync.ini file toGFRLookUpListSync.old.
- Right-click theGFR_LookupListSync.ini(Manage).exefile, then selectRun as administrator. If you get a prompt asking if you want to allow the program to make changes to your computer, click Yes to open the file.
- On the General tab, enter the correct upload account and password.
- On the List tab, enter the correct data source password if you are using SQL authentication for the ODBC connection.
- SelectSaveto create a new GFRLookUpListSync.ini file.
- Restart the service.
Internal use only
The .ini file has the password hashed in for the data source, and the upload account. It will not be able to be read from anything but the original machine.