Skip to Content
author's profile photo Former Member
Former Member

Cannot View Webi Document


I am new to this product and I am having problems with viewing sample Webi documentt from my application. I have Business Oblects Enterprise XI R2 and I am using

this is the code that I am trying to run in order to view the document

sessionMgr = new SessionMgr();

enterpriseSession = sessionMgr.GetSession(sessionID);

tokenMgr = enterpriseSession.LogonTokenMgr;

string logontoken = tokenMgr.CreateWCAToken(enterpriseSession.CMSName, 1, 100);

string str = "http://localhost:8080/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?sKind=FullClient&iDocID=" + idStr + "&token=" + logontoken;

Response.Redirect(str, false);

My page does redirect but I get HTTP Status 404 which is "Not Found"

Also when I try to access http://localhost:8080/businessobjects/enterprise115

from the brouser it automatically redirects me to">http://localhost:8080/businessobjects/enterprise115/desktoplaunch/InfoView/logon/

which is java path as i understand. Is my installation wrong?

Please help.

Thank you

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Mar 20, 2007 at 02:18 AM

    You need to remove the port 8080 from your URL. This is the port that Tomcat is usually listening on.

    Your ASPX pages are usually found on port 80. I believe this is your problem. Try it with port 80 and it should work fine for .NET.

    For more help go to the "Viewers SDK" book in the Developer Library. You will find a section in there called "COM Developers Guide and API Reference" --> "Viewing Reports and Documents Using URLs"

    Rob Horne
    Rob's blog ->

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.