Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Compliments on a fantastic web site. I have learned so much from my threads and even if sometimes I cannot solve the problem, it gives me the reassurance that I am not the only one putting up with it!..."

Geography

Where in the world do Tek-Tips members come from?
ClarenceTunstall (Programmer)
7 May 12 15:02
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?


hilfy ( IS/IT--Management)
7 May 12 16:39
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.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close