Getting started with a new project. But this exception is bugging me when I try to run an .aspx page. This project has a reference to System.DirectoryServices dll. Help would be greatly appreciated.
Asked
Active
Viewed 1,033 times
0
-
Welcome! What .NET version are you using? What is the properties for the reference to System.DirectoryServices dll? – Feb 08 '17 at 09:36
-
Check if your `Project -> Properties -> Application -> Target framework` matches the `System.DirectoryServices dll` version. – Jeroen van Langen Feb 08 '17 at 09:42
-
@Micky: I'm using .Net Framework 4.5 and System.DirectoryServices is getting picked up from GAC of version 1.0.3300.0 and my project target version is .net framework 3.5 – Abhilash V Feb 08 '17 at 10:19
-
@Jeroen: Project .Net version is 3.5 and dll version says 1.0.3300.0 – Abhilash V Feb 08 '17 at 10:20
-
Thats a dll versioninfo, not the .Net version. – Jeroen van Langen Feb 08 '17 at 11:08