How to solve “add/remove operation is impossible, because the code element 'Cxxx' is read only”

With Visual Studio 2008, we may meet “add/remove operation is impossible, because the code element 'Cxxx' is read only” error when we want to add a new message handler in “properties” window. In order to solve this issue, we shall:

1) Close current project

2) Enter the directory where the project located

3) delete the .ncb and .suo file  (When I meet this problem, I only delete the .ncb file, and it becomes ok.)

4) reopen the project

Then we shall can add new message handler without any issue

add/remove operation is impossible, because the code element 'Cxxx' is read only相关推荐

  1. [Code: -668, SQL State: 57016] Operation not allowed for reason code “7“ on table “XXX“.. SQLCODE=-

    db2 表字段操作 –新增字段 alter table Student add T56 DECIMAL(12,2) ; –删除字段 alter table Student drop column T5 ...

  2. DB2遇到这样一个问题 。 ‘’Operation not allowed for reason code 7 on table DB2ADMIN.XXX. SQLSTATE=5701‘’

    工作中数据库:DB2遇到这样一个问题 . ''Operation not allowed for reason code "7" on table "DB2ADMIN.X ...

  3. linux下rm无法删除文件夹,在linux下解决rm: cannot remove : Operation not permitted 无法删除文件...

    今天在操作一个文件的时候,遇到一个问题.使用rm命令无法删除一个文件目录 报错rm: cannot remove : Operation not permitted 经过我的一番查询,原来是lsatt ...

  4. SQL0668N Operation not allowed for reason code 3 on table TEST.

    SQL0668N Operation not allowed for reason code "3" on table "TEST". SQLSTATE=570 ...

  5. win7安装wince6.0中遇到的问题 CDeviceSDKInstallShim Add/Remove failed. HR=0x8007005

    原文地址:http://blog.sina.com.cn/s/blog_5aea09bb0100m22m.html 以前用xp,安装wince6.0一切顺利,能够正常使用.最近换了一台新电脑,安装了w ...

  6. SharePoint自动化系列——Add/Remove Record from items

    转载请注明出自天外归云的博客园:http://www.cnblogs.com/LanTianYou/ 目的:批量的将SharePoint items变成records或者将records变成普通的it ...

  7. VS Code Element 提示 VSCode-Element-Helper 插件

    文章目录 1. 安装插件 2. 效果图 1. 安装插件 2. 效果图

  8. vs2008中常见错误解决方法汇总

    1.error C2859 vc90.idb is not the idb file that was used when this precompiled header was created. 解 ...

  9. VS2005中关于.sln,.suo,.ncb文件的可能的一些问题

    .sln 和 .suo都是是解决方案文件. .sln(Visual Studio.Solution):它通过为环境提供对项目.项目项和解决方案项在磁盘上位置的引用,可将它们组织到解决方案中.包含了较为 ...

  10. java队列 双队列_Java队列– Java队列

    java队列 双队列 Java Queue is an interface available in java.util package and extends java.util.Collectio ...

最新文章

  1. 什么是交换(Swap)与伪交换(Pseudo swap)
  2. 学习Kali Linux必须知道的几点
  3. JAVA访问控制符(写给初学者的)
  4. 在ubuntu中使用cookiecutter搭建django项目时命令迟迟没有反应
  5. 步入三十岁前的总结:看似经历很多得到很多,但,实际却一无所得
  6. 判断某个字符出现的次数
  7. 看好你的数据库连接字符串!
  8. asp.net安全身份验证
  9. 有意思的堪称世界级的电视广告!!:)
  10. Oracle GoldenGate Director安装配置详细手册
  11. web网页设计期末课程大作业~超高仿英雄联盟LOL游戏官网设计与实现(HTML+CSS+JavaScript)
  12. Misc_PNG高宽详解
  13. 圆跳动基础知识(几何公差)
  14. java微信刷卡支付demo,微信刷卡支付API详解
  15. 计算机协会素拓小游戏,素拓游戏策划书-20210418231500.doc-原创力文档
  16. Idea无法自动补全代码,ctrl+Alt+v无法使用解决方法
  17. 华为设备常用软件包名
  18. VS与OpenGL画蜗型线、心形线、三叶曲线、四叶曲线、螺旋线(内附修改教程)
  19. Python代码计算素数(质数)
  20. 机器学习对回归模型的评价指标:均方误差、可解释方差和R方值

热门文章

  1. Verilog | 卷积码实现
  2. 戴尔游戏PC凭什么做到全球第一:信心来自于品质
  3. 雅思考试费发票申请及报销
  4. Python 基本数据类型(六)
  5. 用Python爬虫爬了世纪佳缘后发现了一个秘密
  6. 在java求学java教程之路上四个禁忌,你知道吗?
  7. ue4添加bp_sky_Sphere
  8. browser-sync : 无法加载文件 C:\Users\Peppa\AppData\Roaming\npm\browser-sync.ps1,因为在此系统上禁止运行 脚本。有关详细信息,请参阅
  9. linux操作系统SSD磁盘IO调度算法及配置方法[特指kylin、suse]
  10. CSS+HTML代码制作安卓LOGO