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

G

Gaab

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
 
G

Gaab

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top