how can i get the file "BusinessObjects.Enterprise.Sdk&

I have a .net web application,when i run, i get the error: “Could not load file or assembly ‘BusinessObjects.Enterprise.Sdk, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304’ or one of its dependencies.”

 source code below:

protected void Page_Load(object sender, EventArgs e)
{
CrystalDecisions.Enterprise.SessionMgr oSessionMgr;
CrystalDecisions.Enterprise.EnterpriseSession oEnterpriseSession;
CrystalDecisions.Enterprise.EnterpriseService oEnterpriseService;
CrystalDecisions.Enterprise.InfoStore oInfoStore;
CrystalDecisions.Enterprise.InfoObjects oInfoObjects;
//CrystalDecisions.Enterprise.BusinessObjectsMgr
//pwin2003sql2000.
oSessionMgr = new CrystalDecisions.Enterprise.SessionMgr();
oEnterpriseSession = oSessionMgr.Logon(“Administrator”, “”, “pwin2003sql2000:6400”, “secEnterprise”);
//oEnterpriseSession = oSessionMgr.Logon(“Administrator”, “iv1234”, “10.139.20.35:6400”, “secEnterprise”);
string ss = oEnterpriseSession.CMSName;

    tb1.Text = "";
    foreach (string strServerName in oEnterpriseSession.ServerNames)
    {
        foreach (string strServiceName in oEnterpriseSession.GetServiceNames(strServerName, CrystalDecisions.Enterprise.CeServiceType.ceServiceAllServices))
        {
            tb1.Text = tb1.Text + strServerName + "   " + strServiceName + "  " + "\n";

        }
    }

    oEnterpriseService = oEnterpriseSession.GetService("InfoStore");
    oEnterpriseService = oEnterpriseSession.GetService("PWIN2003SQL2000.AdaptiveProcessingServer", "AuditingService");
   // oEnterpriseService = oEnterpriseSession.GetService("CNDEVBOXIVM01.AdaptiveProcessingServer", "AuditingService");



}[/img][/code][/b]

ivson168168 (BOB member since 2008-09-18)

If your IIS / Visual Studios is installed on the same machine as your BusinessObjects Enterprise (BOE) then the SDK should already be available.
Otherwise, you will need to install the SDK on IIS / Visual Studios machine.
To install the SDK you can use the BOE installer and install the client components.


darcstorm :philippines: (BOB member since 2008-07-22)

Hi darcstorm,

Could you please let me know how to install Business Object SDK in IIS, i did install SDK using the CD but dont know how to configure SDK in IIS, the code snippet “SessionManager.Logon(UserID, Password, CMS, Aut)” in our ASP throws “page cannot be displayed” error which means the SDK functions and properties are not recognized in our ASP, what we need to do to use the functions/properties defined in dynamic library files in SDK, i am quiet new to BO, please suggest.

thanks,
Saran


BO Saran (BOB member since 2009-04-23)