• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Kevin Wu's Corner
暂时停一停
博客园    首页       联系   管理    订阅  订阅

无法将类型“ASP.login_aspx”转换为“System.Web.UI.WebControls.Login” 错误处理

错误:
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.
编译器错误信息: CS0030: 无法将类型“ASP.login_aspx”转换为“System.Web.UI.WebControls.Login”

原因:在 .NET Framework 2.0 版中新增Login类.而我们又增加Login.aspx时莫名地冲突了。这个问题也不给提示,让人分析起来好困难。

解决:删除Login.aspx或使它不关联主命名空间下的login类。

by Kevin wu  
posted @ 2007-05-19 09:44  Kevin Wu  阅读(2175)  评论(1)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3