User1915461910 posted
This is interesting because it started happening abruptly to all of our developers within the past few days.
Within our error handling across many of our applications, we use the following line of code to determine the method location when the error was thrown when logging the error:
Reflection.MethodInfo.GetCurrentMethod.Name
This is something that we have been using for years and it has been working just fine, but locally when debugging applications over the past few days, evaluating the GetCurrentMethod now returns the following exception:
{"Cannot evaluate a security function."}
Any ideas what can cause this to suddenly happen across developers and applications? We do not see any common updates that were recently installed. It's possible that something changed across our network's group policy, but I'm kind of guessing at that point.
I'll also note that our code in our Production environment for our Web applications is still working, but it does not run under a user's window credentials.
Any helpful feedback is appreciated!
-Scott
PS: Note that we are on Windows 7 with Service Pack 1 and our Visual Studio version is Ultimate 2013 12.0.31101.00 Update 4