Yes, I occasionally encountered the same error on pages that use server-side constructs on ASPX pages.
Overtime, I found a fix for it (sorry, I just couldnโt find out where I found this bit of information again), and this fix is โโto put the following code above errant <%...%> block:
<%-- For other devs: Do not remove below line. --%> <%="" %> <%-- For other devs: Do not remove above line. --%>
Apparently where you put the above code, everything matters for VS.NET, so it may take a few attempts to get it right.
Cerebrus Apr 15 '09 at 9:24 2009-04-15 09:24
source share