Closed mahmoodvcs closed 8 years ago
Thanks for reporting this - sorry for the delay in responding. I haven't had a chance to look at it yet, hopefully I'll be able to dig in sometime this week. It's interesting that it's different based on the platform. The message you're seeing is a safety check designed to make sure that the FluentBootstrap control stack doesn't get corrupted. Can you provide any more information about the environments (OS, .NET runtime version, Visual Studio/IIS version, etc.)?
Hi. Thank you for your response. I published all the files again on the server and the problem went away. But now in another project that I started recently, I have the same problem on my dev machine. The problem occurs if I'm using @form.EditorFor and I have a UIHint attribute on the model property and defined an EditorTemplate. I'm using Visual Studio 2015 and .Net 4.5 on Windows 10. In the other project I have the same situation but it works fine.
I realized that it will happen when I have an error in my editor template. But instead of seeing the actual error I see this error. Thanks for your support.
I have a simple form that works fine on my machine but gives me error on production server:
this is the code in the form:
the original form had more controls but I removed other parts to find problematic part. and I still see the error even with a single control on the form. It seems like a bug.