T
Tim_Mac
Hi,
i have this in my web.config:
<pages validateRequest="false" >
<controls>
<add tagPrefix="uc1" src="/Whatever.ascx" tagName="Whatever"/>
i have this in Login.aspx:
<uc1:Whatever id="Blah" runat="server">
I get this error message:
Cannot use the user control '/Whatever.ascx', because it is registered in
web.config and lives in the same directory as the page.
this same message has been posted twice without answers on the forums at
www.asp.net
http://forums.asp.net/thread/1347796.aspx
http://forums.asp.net/thread/1253193.aspx
does anyone know what is going wrong?
i'm using a Web Application Project. the problem goes away when i move the
user control into a subdirectory and update the web.config reference etc.
thanks in advance
tim
i have this in my web.config:
<pages validateRequest="false" >
<controls>
<add tagPrefix="uc1" src="/Whatever.ascx" tagName="Whatever"/>
i have this in Login.aspx:
<uc1:Whatever id="Blah" runat="server">
I get this error message:
Cannot use the user control '/Whatever.ascx', because it is registered in
web.config and lives in the same directory as the page.
this same message has been posted twice without answers on the forums at
www.asp.net
http://forums.asp.net/thread/1347796.aspx
http://forums.asp.net/thread/1253193.aspx
does anyone know what is going wrong?
i'm using a Web Application Project. the problem goes away when i move the
user control into a subdirectory and update the web.config reference etc.
thanks in advance
tim