Share via


SPS development tip of the day

Tip of the day for developing under SPS-

If you get “Debugging is not supported under current trust level settings“ when trying to attach to the w3wp.exe process from VS, modify the following line in your web.config:

<

trust level="WSS_Minimal" originUrl="" />   

change it to:

<trust level="Full" originUrl="" />

Comments

  • Anonymous
    November 09, 2003
    Works fine !! Thanks
  • Anonymous
    January 12, 2004
    Hi Addy !

    Just wanted you to know that this tip seems to apply to scenarios where a custom web service is to be installed on the SPS machine as well. I've seen this mentioned on Google groups and here, and it actually worked for us, but I still need a better way since messing with the site-wide trust level is something I would like to avoid. Perhaps there is a way to change the existing trust levels to be more specifically generous towards this web service in particular (as it is when using the SPS object model from a web part)? I'll check this out later (when a presentation is NOT imminent).
  • Anonymous
    February 20, 2004
    Worked perfectly.
    Thanks!
  • Anonymous
    March 25, 2004
    Thanks - this did the trick
  • Anonymous
    July 16, 2004
    This appears to be the recommended Microsoft Solution as well.

    See:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;828810&FR=1
  • Anonymous
    July 16, 2004
    The comment has been removed
  • Anonymous
    August 02, 2004
    For detailed information on why this message is received, the following post is helpful. Net: setting trust level to Full is overkill.

    http://www.bluedoglimited.com/SharePointThoughts/ViewPost.aspx?id=60