Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Windows Server 2012 "The requested mode is invalid" error enumerating domains with .net 2

$
0
0

We have a user management application using .net 2 that we need to work on Windows Server 2012. I have been testing this on the latest RC and our call to Forest.GetCurrentForest returns a Domain object but the domain mode is "the requested mode is invalid". The forest mode is "Windows Server 2012".

I presume this is the same issue as in <http://support.microsoft.com/kb/2260240FIX:"The requested mode is invalid" error message when you run a managed application that uses the .NET Framework 3.5 SP1 or an earlier version to access a Windows Server 2008 R2 domain or forest. 

In this hotfix the DomainMode enumeration has been updated to include 2008 R2 domain. I couldn't find a similar hotfix to pick up Server 2012 domains? Can anyone confirm if it is available for .net 3.5 and below or if Microsoft plan to do this (and when)?

Thanks,

Nigel

 

 


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>