I’ve been trying to access some of the Active Directory information in code. When I tried to preview the form I got a permissions error message with a suggestion to use full trust. So I did. Doing so resulted in the above-mentioned error message being generated. So I Googled like every good little boy and girl would do and the unanimous suggestion was “Set Trust to Full Trust – Wait! I just did that, that’s what caused my error message to be generated.
OK – Ron in debugging mode – Tried to remove all sorts of stuff that “Might” have caused the problem, nothing works. As long as I had Full Trust set, I’d get the error message. Uncheck it and the error message goes away, the form renders but the A/D stuff won't work, everything else does though.
So to prove a point, I created a new Blank Project. Set the option for Full Trust and Previewed the page. Same result. Notice the part where I didn’t put anything on the form, just changed the Trust Option.
Any suggestions would be extremely appreciated.