Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'

Posted by Ryan Baxter Thu, 28 Feb 2008 18:38:00 GMT

Just a quick fix. If you’re experiencing the error message, Cannot convert type ‘ASP.login_aspx’ to ‘System.Web.UI.WebControl, try renaming your page from Login.aspx to something else.

I ran across this earlier this morning when attempting to deploy an ASP.NET 2.0 WebSite project. My code worked great locally (isn’t that always the case). I haven’t had time to really dig into why this happens, but maybe someone else can provide an answer.

Trackbacks

Use the following link to trackback from your own site:
http://crunchlife.com/articles/trackback/50

Comments

Leave a response