惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cisco Talos Blog
Cisco Talos Blog
V
V2EX
C
Check Point Blog
GbyAI
GbyAI
D
Docker
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
N
Netflix TechBlog - Medium
T
Troy Hunt's Blog
博客园 - Franky
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Microsoft Security Blog
Microsoft Security Blog
P
Privacy & Cybersecurity Law Blog
WordPress大学
WordPress大学
The Cloudflare Blog
S
SegmentFault 最新的问题
Latest news
Latest news
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
I
InfoQ
博客园 - 【当耐特】
NISL@THU
NISL@THU
A
About on SuperTechFans
T
Tailwind CSS Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
The Hacker News
The Hacker News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Scott Helme
Scott Helme
雷峰网
雷峰网
C
CXSECURITY Database RSS Feed - CXSecurity.com
Security Latest
Security Latest
V
Vulnerabilities – Threatpost
Security Archives - TechRepublic
Security Archives - TechRepublic
A
Arctic Wolf
Hacker News: Ask HN
Hacker News: Ask HN
N
News and Events Feed by Topic
IT之家
IT之家
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
aimingoo的专栏
aimingoo的专栏
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
阮一峰的网络日志
阮一峰的网络日志
SecWiki News
SecWiki News
大猫的无限游戏
大猫的无限游戏
S
Security Affairs
The Register - Security
The Register - Security
www.infosecurity-magazine.com
www.infosecurity-magazine.com
L
LINUX DO - 热门话题
T
Tor Project blog

博客园 - Peter Wang

SharePoint 备忘录 查找ContentType的依赖项 Different users – Calendar Audience Targeting Guide SharePoint 2010 Audit log report SharePoint workspace 2010同步功能 sharepoint 引用不起作用 整合Bing Maps silverlight performance tip DotNet软件测试实战技术 VSTS 架构版share 敏捷开发中的项目管理利器-Mingle Castle揭密2----IOC(1) Castle揭密2----IOC(3) Castle揭密2----IOC(2) Castle揭密1--前言 概念回顾--MDA 概念回顾---中间件(IDC) 实现Web Service依赖倒置 SQL Server 索引结构及其使用(四) SQL Server 索引结构及其使用(三)
SharePoint 2010 bug
Peter Wang · 2010-11-23 · via 博客园 - Peter Wang

1:SharePoint项目刚好在一个solution folder(VS中的解决方案文件夹)里面,新建list definition(列表定义)时找不到自定义的内容类型

步骤重现,先定义一个content type,用vs2010 deploy上去。在新建list definition,选择模版list definition from content type,进入下一步,结果找不到我刚才的自定义content type。郁闷了几个小时,找遍微软的帮助。最终解决方案是,把project拖到solution根目录下就可以了。由于我的project是在一个 solution folder下面。这真是管用的奇淫技巧,微软太忽悠我们了

2: 部署内容类型(Content Type)的问题

1)   Error occurred in deployment step Activate Features” The content type with Id ‘xx’ defined in feature ‘yy’ was found in the current site collection or in a subsite.

解决方案:http://blog.hagenberg-software.at/2010/06/visual-studio-2010-deploying-content-types-and-site-columns/?replytocom=2703#respond

 把deployment步骤改为不激活,手工激活

2)   Error occurred in deployment step 'Activate Features': The field with Id {a6a841d7-4067-4519-b794-e25ac438e9cf} defined in feature {a6192d76-512f-48de-9284-251b49902345} was found in the current site collection or in a subsite.

解决方案:http://blogs.msdn.com/b/chandru/archive/2010/09/06/visual-studio-2010-f5-solution-deployment.aspx

 步骤如下,主要是杀掉vssphost4进程,强迫其开启一个新的

1. F5 (Deploy the solution)

2. Shift +F5 (Retract the solution)

3. Again F5.  This time it will fail.

4. Open the task manager and kill VSSPHost4 process.

5. Now F5 and the solution gets deployed successfully.