So this happens every time i regenerate my code, (using .NetTiers and codesmith).
(I'm leaving it codefile instead of codebehind as I believe codefile is supposed to be the preferred syntax).
to let you know my configuration:
I'm using the webadmin controls generated by .NetTiers in a Web Application Project. The error occurs when I run it on my local machine.
The page that it occurs on is using a very simple master page and really the only thing on the page is the content control with the NetTiers UC in it.
As I mentioned before, it doesn't happen on all the user controls generated by NetTiers, but I can't find a difference that would do this between the control that works and the one that needs to be altered to work.