cancel
Showing results for 
Search instead for 
Did you mean: 

Get FWM 00001 when SessionMgr do Logon()

Former Member
0 Kudos

I was trying to open the report in CRS using OpenDocument when press the submit button.
Unfortunately, an error was return [Transport error: Communication failure.(FWM 00001)] while the SessionMgr try to do Logon().
I have already checked the network & firewall. There shouldn't be any blocking...

What goes wrong !!!??? Please Help !!!

Below is the source code for the submit button.

     protected void Submit_Click(object sender, EventArgs e)

     {

            string username = "administrator";

            string password = "password";

            string server = "UAT44:6400";

            string auth_type = "secEnterprise";

            string token;

            string tokenEncoded;

            int reportid = 5360;

            string report_params = "SHOP_ID = 0";

            SessionMgr session_mgr = new SessionMgr();

            EnterpriseSession session = session_mgr.Logon(username, password, server, auth_type);

            token = session.LogonTokenMgr.CreateLogonTokenEx("", 120, 100);

            tokenEncoded = HttpUtility.UrlEncode(token);

            string url = string.Format("http://{0}/OpenDocument/opendoc/openDocument.aspx?sIDType=wid&iDocID={1}&lsS{2}&token={3}",

                server, reportid, report_params, tokenEncoded);

            Response.Redirect(url);

     }

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Hi Jerry

I understand you've checked the firewall and network, but I'd still like you to have a peek at the following:

1542846 - How to configure RAS and SDK custom applications to work through a firewall

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

DellSC
Active Contributor
0 Kudos

Another thing to check, that frequently is forgotten when looking at the firewall, is whether the Windows Firewall is running on the server.  It either needs to be completely turned off or it needs to allow traffic to and from all of the BO executables.

-Dell

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Ludek & Dell.
Figure out that it was a network problem finally.