Basically it looks like Creators update did some stuff to how .NET 1.1 works. I have an application that runs fine on 14393 (Anniversary update). In Creators update version (15063) it fails with exact same error.
But, the application can still be run as Domain or local admin account. Hence, it must be some security issue.
EDIT (POSSIBLE ANSWER)
I have located and fixed the error in my project.
The error means there is StackOverflowException in your code. Yeah, I know.
In my project it was this piece of code:
public object GetValue(string someParam) {
try {
return GetValueEx(someParam).ToString();
}
catch (Exception ex) {
return null;
}
}
Method GetValueEx
returns object
.
Now, the problem was, that GetValueEx
returned null and for some odd reason on Windows 10 Creators update this will not just throw NullReferenceException
, but would start bubbling and bubbling until StackOverflowException
would be thrown.
In earlier versions of Windows OS, this works without a glitch.
I fixed this code snippet to:
public object GetValue(string someParam) {
try {
object result = GetValueEx(someParam);
return (null == result) ? result : result.ToString();
}
catch (Exception ex) {
return null;
}
}
and the problem was gone.