≡ Menu




Compiler Error Message: CS0030: Cannot convert type ‘ASP.login_aspx’ to ‘System.Web.UI.WebControls.Login’

Problem occur when you page name is same as Class in .net
Usually we develop the login page as login.aspx . When we publish it, the aspx is retained and tries to compile against Login’s codebehind,  which is not resolve properly in the assembly due to System.Web.Login.
To avoid it developer must Insure that Page name will not the same as in System.Web.

{ 0 comments… add one }

Leave a Comment