トップ 一覧 ping 検索 ヘルプ RSS ログイン

ASP.NET 2005 Menu.aspx を利用するとコンパイルエラーが発生の変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!!!ASP.NET 2005 Menu.aspx を利用するとコンパイルエラーが発生
[ASP.NET 2005][ASP.NET][Visual Studio][C#]


*Menu.aspx を利用すると、開発環境では正常に動作するのに、サーバーに配置すると以下のエラーが発生。
*Default.aspx にリネームすると発生しなくなる。
*サイドMenu.aspxに戻すも再現せず。


*http://connect.microsoft.com/VisualStudio/feedback/details/102543/cs0030-cannot-convert-type-asp-login-aspx-to-system-web-ui-webcontrols-login

 Compilation Error 
 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 120:        public login_aspx() {
 Line 121:            string[] dependencies;
 Line 122:            ((Login)(this)).AppRelativeVirtualPath = "~/login.aspx";
 Line 123:            if ((global::ASP.login_aspx.@__initialized == false)) {
 Line 124:                global::ASP.login_aspx.@__stringResource = this.ReadStringResource();