【发布时间】:2010-06-27 11:28:19
【问题描述】:
我正在使用WSPBuilder 开发Sharepoint2007 站点,每当我尝试使用不是System Account 的用户之一进行调试时,调试器会进入断点并等待一个步骤(F10),当我按下F10,在有断点的行上按F10后,调试output窗口出现以下异常:
A first chance exception of type 'System.Threading.ThreadAbortException'
occurred in XXX.dll
An exception of type 'System.Threading.ThreadAbortException'occurred in XXX.dll
but was not handled in user code The thread '<No Name>' (0xfc4) has exited with
code 0 (0x0).
我被重定向到共享点页面:
Go back to site
Error: Access Denied
Current User
You are currently signed in as: SHAREPOINT\ZZZ
Sign in as a different user
当我尝试 RUN 不使用同一用户进行调试时,我没有这个问题。
另外,当我尝试使用System Account (MOSS ADMIN) 进行调试时,我没有这个问题吗?
如何克服这个问题?
顺便说一句,我正在尝试调试作为网站功能安装的自定义 ASPX/CS 页面。
仅供参考,它只适用于这个项目,而不适用于我拥有的所有项目,它也适用于这个项目中的所有页面,而不仅仅是一个页面。
【问题讨论】:
标签: sharepoint debugging sharepoint-2007 moss wspbuilder