IBM Support

"Invalid character in a Base-64 string" when launching FAP client

Troubleshooting


Problem

User launches FAP Client. User types in password, and logs onto the FAP database. An error appears.

Symptom

Microsoft .NET Framework

Unhandled exception has occurred in your application. If you click Cotinue, the application will ignore this error and attept to continie

Invalid character in a Base-64 string

[Details] [Continue] [Quit]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    System.FormatException: Invalid character in a Base-64 string.
    at System.Convert.FromBase64String(String s)
    at FAPClient.FAP.Dao.SourceDao.Decode(String encodedText)
    at FAPClient.FAP.Dao.SourceDao.GetItemFromRow(DataRow& row)
    at FAPClient.FAP.Dao.SourceDao.ListItems(Context& ctx)
    at FAPClient.frmDefine.SetupSources()
    at FAPClient.frmDefine.Connect()
    at FAPClient.frmDefine.frmMain_Load(Object sender, EventArgs e)
    at System.EventHandler.Invoke(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ContainerControl.WndProc(Message& m)
    at System.Windows.Forms.Form.WmShowWindow(Message& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If the user clicks 'Continue' then the FAP screen's contents looks strange:


Source 1 Source 2 123 123123 123123123 123123 123123

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

1031255

Document Information

Modified date:
08 May 2025

UID

swg21370845