Daily Archives: January 26, 2007

System.Web.HttpException: The file ‘/path/to/userControl.ascx’ does not exist.

If you’re working with User Controls (or other server side controls) and your file structure looks something like this: [] = directory [root] [userControls] ucTest.ascx ….. ucContainer.aspx Web.config And in your ucContainer.aspx file you have something similar to this: < %@ Register Src=”userControls/ucTest.ascx” TagName=”UserControl” TagPrefix=”uc1″ %> … … <uc1:UserControl id=”ucUserControl” runat=”server” /> … … And [...]