473,738 Members | 10,068 Online
Bytes | Software Development & Data Engineering Community
+ 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>;sama ccountname;subt ree (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 5339
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: OrganizationalU nits
Table: Users
Table: Groups
Table: Workstations
Table: Printers
Table: Servers
Table: EventLogs
Table; EventLogEvents
"ATroy" <AT***@discussi ons.microsoft.c om> wrote in message
news:E2******** *************** ***********@mic rosoft.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>;sama ccountname;subt ree (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
4248
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 have been doing research on it and I can't figure it out. I am used to using com objects and active reports to display reports like this. I just need a basic explanation of what it takes to get this done. I want the reports to show as HTML, and all...
7
3376
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 only developer licenses. On a cost only basis, it seems pretty obvious but what about feature wise. I simply do not have enough time to do a drawn-out analysis and was wondering if anyone else had. Regards
7
5016
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. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
3
2288
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 uses forms authentication but authenticates against Active Directory.) Now, it no longer can run the Crystal Report. (Within the ASP.NET page I would retrieve the data, put it into a dataset and then assign the dataset to the CrystalReportViewer...
2
3563
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 being the case I worked with what was available: I used vb.net and crystal 8.5. The crystal reports are being viewed in the crystal report viewer which is still included in vb.net. I went ahead with developing this project because I found that...
3
8924
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 from sql server) and I was wondering whish of these is the better tool .. We're still not sure if they'll be loaded from an existing VB6 application or if I'll have to make a separate module for them (in .Net). In general, which is the better tool?...
6
1631
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 generator in VS 2005, and this seems more than sufficient at the moment. But still I would like to have some advice; should I move to Crystal Reports for improved performance? The question may be lacking substance about the complexity in the report,
1
8144
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 file and itself into the exe. You would probably want a tool for this bit which could be in the zip too. So the app isnt single exe when running but when not running, it is. Just an idea for you to think about. Another option would possibly be to...
4
3025
by: =?Utf-8?B?Z2lkZHk=?= | last post by:
hi, I posted here earlier with a great reply: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.dotnet.languages.csharp&mid=ed6d7673-0e25-417d-849b-c4b270c76044&sloc=en-us Something like this works nicely: List<Personps = new List<Person>(); ps.Add(new Person("Gideon",15)); CrystalReport11.SetDataSource(ps); crystalReportViewer1.ReportSource = CrystalReport11;
0
8788
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9335
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9263
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8210
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6751
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4570
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2193
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.