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

Hi Friends, This is after a long time.
Now I am sharing a Login problem in ASP.NET 2.0.
Actually I was uploading our new website before two days. In My application I have a Login.aspx page for user login.
First of All, I want to say to those who are not familier with the asp.net 2.0 that here we use PUBLISH web site option in place of RELEASE that was in older versions.
 
So, after i published my site sucessfully, & try to run the site, it rurns fine. But as soon as i hav clicked on the Login page link,
I surprised because there is an error...
Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'
When I tried a name like MemberLogin.aspx,    my application ran sucessfully after publishing online.
 
So, After all the result of the above problem is, that you will have to create your login page with any name other then Login.aspx.
Because if u use login.aspx, .net compiler assumes that it use the Login control provided by MS along with .net 2.0.
 
You can use any name like MemberLogin.aspx or Signin.aspx or whatever you want except login.aspx.


Regards,
Anuj Kumar