Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


.NET 4.0 Error CS0433
error CS0433: The type ASCX_CONTROL exists in both X and Y.

I was not getting this error on my development machine, but did get it when I deployed to a web server.

Issue:
I had two ASCX Web Controls accidentally using the same class name in thier code-behind (and in the same folder).

Solution:
Renamed the code-behind class to match the control name, updated the ascx file, and it all worked.

Created By: amos 2/14/2013 5:46:58 PM