Migration Problems from Visual Studio.NET 2005 to Web Application Project

Well, call me crazy but I decided to migrate from Visual Studio.NET 2005 WebSite to Web Application Project. It was a bad decision as now I am facing annoying errors. Check out the error below which is thrown because of the Login control.

Description: An error occurred during the compilation of a resource
 required to service 
this request. Please review the following specific
 error details and modify your source code appropriately.

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

Source Error:

 

Line 118:        
public login_aspx() {
Line 119:            
string[] dependencies;
Line 120:            ((Login)(
this)).AppRelativeVirtualPath = "~/Login.aspx";
Line 121:            
if ((global::ASP.login_aspx.@__initialized == false)) {
Line 122:                dependencies = 
new string[3];
 

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
 ASP.NET Files\root\23c2a77e\aa6cf731\App_Web_login.aspx.cdcab7d2.iei5x67s.0.cs    Line: 120 
 

 

powered by IMHO 1.3

Print | posted @ Wednesday, May 31, 2006 8:15 PM

Twitter