SharePoint 2013事件接收器问题 [英] SharePoint 2013 event receiver problem

查看:125
本文介绍了SharePoint 2013事件接收器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

sharepoint 2013事件接收器存在此问题:

I have this problem with sharepoint 2013 event receiver:

在网站集中添加新库(列表)时,我正在尝试使用事件接收器.我想以编程方式向此新添加的库中添加两种内容类型.不幸的是,事件接收器没有被触发.我没有收到错误.

I'm trying to use event receiver when a new library (List) is added in a site collection. I want to add two content types programmaticaly to this new added Library. Unfortunatelly the event receiver is not fired. I'm not receiving errors.

提前谢谢!

Lori_Vasile

Lori_Vasile

推荐答案

你好,

首先,请确保您的事件接收器与(  ListAdded)事件类型相关联,此事件在列表添加操作上触发,其次,如果您已经执行了此操作,请在调试器中附加所有w3wp进程以检查确切位置错误发生.

firstly, make sure that your event receiver is associated with ( ListAdded ) event Type, this event is firing on list added action , secondly if you already do this, please attach all w3wp process in the debugger to check where's exactly the error occurs.

请执行以下操作,然后让我知道您的情况,而dnt会随时与我交流.

please apply the following then let me know what happened with u and dnt hesitate to communicate with me any time.


这篇关于SharePoint 2013事件接收器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆