locked
SPContext.Current.Web.EnsureUser() + threw an exception of type System.Threading.ThreadAbortException + Microsoft.SharePoint.SPUser + System.Threading.ThreadAbortException RRS feed

  • Question

  • Hi,
        I am trying to validate the currently logged in user through "Current.Web.EnsureUser(). "The above works fine on my VPC.But the same code throws error on another VPC.
    Error : SPContext.Current.Web.EnsureUser() + threw an exception of type System.Threading.ThreadAbortException + Microsoft.SharePoint.SPUser +  System.Threading.ThreadAbortException

    Anyone has any idea on whats wrong on the other VPC ?

    Thanks,
    Parag
    • Moved by nobugz Tuesday, May 5, 2009 4:19 PM (From:Visual C++ Language)
    Tuesday, May 5, 2009 5:39 AM

All replies

  • Could you please explain how your question is related to the C++ language?

    Hans Passant.
    Tuesday, May 5, 2009 6:34 AM
  • This is the Visual C++ language forum, not VPC forum.
    Post in the sharepoint forums instead.


    MSMVP VC++
    Tuesday, May 5, 2009 2:09 PM