473,397 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Problem with: 'DirectoryServices' does not exist in the namespace 'System'

Hi Folks,

After the weekend I wanted to start working on my c#/asp.net project, but
when I tried to open it on my machine i got the following error:

Compilation Error

Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name
'DirectoryServices' does not exist in the namespace 'System' (are you
missing an assembly reference?)

Source Error:

Line 1: using System;
Line 2: using System.DirectoryServices;
Line 3: using ASPNET.StarterKit.IssueTracker.DataAccessLayer;
Line 4:
Source File: c:\(...)\Software.cs Line: 2

The System.DirectoryServices is included in the project references, even
tried to remove and add it again, but keeps giving the same error when I try
to reach the project via the browsers, it builds & rebuilds without problems
in vs.net.

Any suggestions?

Greets,
Gab
Nov 16 '05 #1
1 16115
Hi Folks,

Problem solved: I installed some Express applications of the dot.net 2.0
previews, which made 2.0 the default version to use on iis.

Greet,
Gab

"Gaab" <sp**@adiso.nl> schreef in bericht
news:10*************@corp.supernews.com...
Hi Folks,

After the weekend I wanted to start working on my c#/asp.net project, but
when I tried to open it on my machine i got the following error:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0234: The type or namespace name
'DirectoryServices' does not exist in the namespace 'System' (are you
missing an assembly reference?)

Source Error:

Line 1: using System;
Line 2: using System.DirectoryServices;
Line 3: using ASPNET.StarterKit.IssueTracker.DataAccessLayer;
Line 4:
Source File: c:\(...)\Software.cs Line: 2

The System.DirectoryServices is included in the project references, even
tried to remove and add it again, but keeps giving the same error when I try to reach the project via the browsers, it builds & rebuilds without problems in vs.net.

Any suggestions?

Greets,
Gab

Nov 16 '05 #2

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

Similar topics

1
by: Troy | last post by:
Hello, I'm getting the following error when I try to compile my code from the command line. Any ideas? c:\ad.csc(6,14): error CS0234: The type or namespace name 'DirectoryServices' does not...
0
by: Gaab | last post by:
Hi Folks, After the weekend I wanted to start working on my c#/asp.net project, but when I tried to open it on my machine i got the following error: Compilation Error Description: An error...
1
by: Andrew | last post by:
Hey all, Working on revamping our Intranet here and making use of the LDPA, Active Directory, Directory Services, etc. that .Net provides. I am still fairly new on this subject, so the problem...
1
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry =...
2
by: Julien | last post by:
Hello, I'm quite new in the .Net Framework Environment. I am currently trying to develop a VB.net appli that connects to my domain Active Directory using the "Microsoft.DirectoryServices"...
2
by: Kelvin | last post by:
Hello I am using web matrix develop a login page through Active Directory but I cannot figure out why it is giving me an error when importing system.directoryServices. Any help will do! thank ...
5
by: Keith Jakobs, MCP | last post by:
Hi All.... I'm having a HECK of a time connecting to Active Directory using VB in Visual Studio.NET 2003. Can anyone PLEASE help me? All I am trying to do is list the current members of our...
1
by: aamirghanchi | last post by:
Hi, I recently converted an ASP .net 1.1 project to 2.0 in VS 2005. Even though System.DirectoryServices reference has been added to the project, still for some reasons the Imports...
2
by: =?Utf-8?B?TmFt?= | last post by:
On my ASP.NET 2.0 website project on VS 2005, I am getting the following error when building the solution: “The type or namespace name 'ADSI' does not exist in the namespace 'myNameSpace' (are...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
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
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...
0
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,...
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...

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.