Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 24th, 2003, 11:24 PM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default Unable to use System.DirectoryServices


Hi all,

I am trying to create a .NET app to administer IIS 5.0 and am trying to use the System.DirectoryServices namespace. I see lots of tutorials on the web but the main problem that I'm having is that I always get the following error:

Compiler Error Message: BC30466: Namespace or type 'DirectoryServices' for the Imports 'System.DirectoryServices' cannot be found.

The only way that I can get this namespace to work is to copy the System.DirectoryServices.dll file and place it inside a /bin folder inside the app. Is this really necessary? Is there anything else that needs to be done on the server end (permissions, anything) so that the namespace can be normally called just like the other namespaces??

Many thanks,
Marlon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete file System.IO.Delete error maricar C# 13 March 14th, 2014 06:50 AM
Insert System date and System Time -Form _TextBox cnkumar74 VB How-To 14 February 14th, 2007 10:52 AM
Unable to locate System.Runtime.dll anujrathi ASP.NET 1.0 and 1.1 Professional 0 June 15th, 2006 10:13 PM
Problem with System.DirectoryServices.SortOption Surre ASP.NET 1.0 and 1.1 Professional 0 March 8th, 2006 08:19 AM
Unable to use System.DirectoryServices planeswalk Pro VB.NET 2002/2003 5 November 12th, 2004 06:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.