我正在使用WSPBuilder
开发Sharepoint2007
站点,每当我尝试使用非用户之一进行调试时System Account
,调试器都会进入断点并等待一个步骤(F10),当我按 F10 时,我在调试output
窗口中得到以下异常按下F10
有断点的行:
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
当我尝试用同一用户运行不调试时,我没有这个问题。
另外,当我尝试使用System Account
(MOSS ADMIN
)进行调试时,我没有这个问题吗?
如何克服这个问题?
顺便说一句,我正在尝试调试作为站点上的一项功能安装的自定义 ASPX/CS 页面。
仅供参考,仅适用于这个项目,而不适用于我拥有的所有项目,也适用于该项目中的所有页面,而不仅仅是一个页面。