Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: How to overwrite a report in SAP BI 4.1

$
0
0

Good day Dell, and thanks for the fast answer.

 

I was developing an small windows form program to go with your approach but when I do login, show me the error:

 

FWM 00001.png

 

I've research this error and could be a firewall issue but, the system guys opened for me the ports 6400-6490 and still the same error, here the piece of code that make the connection:

 

//Log in into CMS                using (SessionMgr sessionMgr = new SessionMgr())                {                    try                    {                        string serverCon = string.Concat(txt_server.Text, ":", txt_serverport.Text);                                               groupBox_login.Text = "Login Information - Connecting to CMS...";                        groupBox_login.Refresh();                        //login                        _BOSession = sessionMgr.Logon(txt_userid.Text, txt_pwd.Text, serverCon, "secWinAD");                        //Get the InfoStore Service??                        _BOService = _BOSession.GetService("InfoStore");                        //Cast from an EnterpriseService to an InfoStore so we can use it                        _BOInfoStore = (InfoStore)_BOService;                        _initialized = true;                        groupBox_login.Text = "Login Information - Connected to " + txt_server.Text +                            " User: " + txt_userid.Text;                        groupBox_login.Refresh();                        //Disabling text inputs                        txt_server.Enabled.Equals(false);                        txt_serverport.Enabled.Equals(false);                        txt_userid.Enabled.Equals(false);                        txt_pwd.Enabled.Equals(false);                        btn_login.Enabled.Equals(false);                    }                    catch (Exception ex)                    {                        MessageBox.Show(ex.Message, "Login Error", MessageBoxButtons.OK);                        groupBox_login.Text = "Login Information - Not Connected";                        groupBox_login.Refresh();                    }                }

Our authentication method it's Windows AD, so I researched that I need to use "secWinAD" but not sure.

 

Also one more doubt: Is there any way to log the connection? I mean maybe a way to catch all the messages in the log in process.

 

Thanks in advance for any help that you could provide me, your website it's awesome!!


Viewing all articles
Browse latest Browse all 8372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>