SAP Knowledge Base Article - Preview

3346413 - 'sapgui' start failed and RFC_ATTACH_GUI_FAILED dump occurs while opening BEX query designer as of SAP GUI 800 64-bit version


  • 'sapgui' start failed while opening BEX query designer after recently upgraded SAP GUI from version 770 PL 5 to 800 64-bit:
  • After SAP GUI installation, Analysis for Office (AFO), Query Designer and  Web Application Development (WAD) were not working. 

Detail error message:

"SAP.Middleware.Connector.RfcAbapRuntimeException: 'sapgui' start failed. at SAP.Middleware.Connector.RfcConnection.ThrowRfcErrorMsg() at SAP.Middleware.Connector.RfcConnection.ReadBytes(Byte* buffer, Int32 count) at SAP.Middleware.Connector.RfcConnection.ReadRfcIDBegin(Int32& length) at SAP.Middleware.Connector.RfcConnection.ReadUpTo(RFCGET readState, RfcFunction function, RFCID toRid) at SAP.Middleware.Connector.RfcConnection.RfcReceive(RfcFunction function) at SAP.Middleware.Connector.RfcFunction.RfcDeserialize(RfcConnection conn, IRfcIOStream stream) at SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn, RFCID rid) at SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn) at SAP.Middleware.Connector.RfcConnection.AttachSAPGui(RfcConfigParameters options) at SAP.Middleware.Connector.RfcConnection.ConnectAsClient(RfcDestination destination, Boolean forRepository) at SAP.Middleware.Connector.RfcConnectionPool..ctor(RfcDestination destination, Boolean forRepositoryCalls) at SAP.Middleware.Connector.RfcConnectionPool.GetPool(RfcDestination destination, Boolean forRepository, Boolean create) at SAP.Middleware.Connector.RfcDestination.GetClient(Boolean forRepository) at SAP.Middleware.Connector.RfcDestination.Ping() at SAP.LogonControlEx.NCO3_Wrapper.Logon(String strClient, String strUser, String strPassword, String strLanguage, LogonControl_Wrapper& logonWrapObj, RfcConfigParameters& rfcConfigParam, Boolean isProxyRunning) "

  • The following dump also occurs:

Category               Installation error
Runtime Errors         RFC_ATTACH_GUI_FAILED



SAP GUI for Windows 8.00 (64 bit version).


ABAP platform all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions


RFC_ATTACH_GUI_FAILED, 'sapgui' start failed, BEx, SAP GUI for Windows, dump, Patch level 2, SAP.Middleware.Connector.RfcAbapRuntimeException, 64 bit. , KBA , BC-FES-GUI , SAP GUI for Windows , BC-MID-CON-NCO , SAP .Net Connector , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.