There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Activation is stuck in an infinite loop
Hi again. Hopefully this will be the last message from me on this topic.
I downloaded and deployed the latest wsp. I notice that Activation was taking a much a long time to complete. So again, I downloaded and debug the source code and saw that the following exception was being thrown
An unhanded exception of type 'System.StackOverflowException' occurred in mscorlib.dll Make sure you do not have an infinite loop or infinite recursion.
This occurred with the following line of code in XmlSqlDataMapping.cs
Required = field.Attribute("Required") == null ? false : (string)field.Attribute("Required").Value.ToLower() == "true"
The same exception occurs at the following line of code in the same file:
return Regex.Replace(name, "[\W\s]", "");