ASP.NET 2005 Menu.aspx を利用するとコンパイルエラーが発生
[ASP.NET 2005][ASP.NET][Visual Studio][C#]
- Menu.aspx を利用すると、開発環境では正常に動作するのに、サーバーに配置すると以下のエラーが発生。
- Default.aspx にリネームすると発生しなくなる。
- サイドMenu.aspxに戻すも再現せず。
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();
YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto
Copyright© 矢木 浩人 All Rights Reserved.