Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why are my references ignored

Status
Not open for further replies.

ClarenceTunstall

Programmer
May 7, 2012
1
US
This is my code:

using CrystalDecisions.Enterprise;

SessionMgr sessMgr = new SessionMgr();
EnterpriseSession entSess;
EnterpriseService edgeService = entSess.GetService("InfoStore");

entSess = sessMgr.Logon("userid", "pa$$w0rd", "CMS:6400","secWinAD")


This is my results when I build my code:
The type or namespace name 'SessionMgr' could not be found (are you missing a using directive or an assembly reference?)


I know this is a simple assembly reference, but this assembly is properly referenced. For BO 4.0 version we have, we should be able to use at least this much of their API. Can anyone help me to see what I'm missing here?


 
I'm not sure whether this will work as I don't have VS installed on this computer so that I can test, but try adding CrystalDecisions.Enterprise.Desktop to your references. Looking at the sample code I have on my website, it looks like I always have that in the using statements in addition to CrystalDecisions.Enterprise.

-Dell

A computer only does what you actually told it to do - not what you thought you told it to do.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top