Anyone ever got this error before and know how to fix it?
It just started happening to me for no apparent reason. All I did was edit the file. It is not compiled by Visual Studio, but dynamically:
<%@ Control Language="C#" src="mycontrol.ascx.cs"
Inherits="MyNamespace.MyStuff.MyControl" %>
Even though it is used on several pages, it only occurs on one of them. It has been in use for several years (so I know the code works).
Someone else had this problem with .NET 1.0 (I am using 1.1): error generated while debug is off, but no one answered. When debug is set to 'true' it works, when removing (or setting to 'false') the error occurs. Restarting the server is not an option (I did restart IIS, but that didn't work).
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.