473,466 Members | 1,396 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Crystal Reports and Active Directory

Hello!

So far, I can't find any information on making a connection to active
directory for reports in visual studio .net 2003.

From the list of Available Data Sources I select "OLE DB (ADO)" and from the
list of OLE DB Providers I select "OLE DB Provider for Microsoft Directory
Services". On the next screen where I put in my data source I try something
like: LDAP://OU=<ou>,DC=<dc1>,DC=<dc2> OR
LDAP://OU=<ou>,DC=<dc1>,DC=<dc2>;samaccountname;subtree (for example)

When I click 'Finish' a tree node labelled "Active Directory Service
Interface" under OLE DB (ADO) shows up with "...no items found..."

I'm not sure what to do. Is there something wrong with my LDAP query or am I
looking to make the connection in the wrong place or the wrong way?
Jan 16 '06 #1
1 5317
I would propose that you instead specify a strongly typed dataset, manually
populate the dataset via code, and pass the dataset to your report. This
will allow you to have an easier time in development, plus it would be
easier to take advantage of custom properties in AD.

Example,

Table: Domains
Table: OrganizationalUnits
Table: Users
Table: Groups
Table: Workstations
Table: Printers
Table: Servers
Table: EventLogs
Table; EventLogEvents
"ATroy" <AT***@discussions.microsoft.com> wrote in message
news:E2**********************************@microsof t.com...
Hello!

So far, I can't find any information on making a connection to active
directory for reports in visual studio .net 2003.

From the list of Available Data Sources I select "OLE DB (ADO)" and from
the
list of OLE DB Providers I select "OLE DB Provider for Microsoft Directory
Services". On the next screen where I put in my data source I try
something
like: LDAP://OU=<ou>,DC=<dc1>,DC=<dc2> OR
LDAP://OU=<ou>,DC=<dc1>,DC=<dc2>;samaccountname;subtree (for example)

When I click 'Finish' a tree node labelled "Active Directory Service
Interface" under OLE DB (ADO) shows up with "...no items found..."

I'm not sure what to do. Is there something wrong with my LDAP query or am
I
looking to make the connection in the wrong place or the wrong way?

Jan 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jandoca | last post by:
Hi, I am new to crystal reports and I have to build some reports and call them from an ASP page and display them. I am using Crystal Reports Developer 9.0 and the client has Professional 9.0. I...
7
by: Sink | last post by:
Hi, Looking at reporting tools and was wondering if anyone else has gone thru this. Crystal seems rediculously expensive once you take into account licensing, while Active is runtime-free meaning...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
3
by: Rod | last post by:
I've got a Crystal Reports for Visual Studio.NET 2003 that I wrote. Up until now, I have been able to run it just fine, however, I had to change the access method to use Active Directory. (It...
2
by: fig000 | last post by:
Hi everyone, I recently wrote a vb.net app which includes some crystal reports. The user has very little money in their budget and have been without a working application for quite a while. This...
3
by: VMI | last post by:
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their data...
6
by: Bjorn Sagbakken | last post by:
Hi I have done some work with VS 2005 but no report-issues yet. Now I want to step up, and implement reports for printing and PDF export. I have just briefly studied the build-in report...
1
by: =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post by:
On reflection, you could possibly make the app a self extracting zip file which extracts the EXE and a settings file and then starts the app, then when you app closes, it can repack the settings...
4
by: =?Utf-8?B?Z2lkZHk=?= | last post by:
hi, I posted here earlier with a great reply:...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.