Tobias Zimmergren 6/5/2009

Debugging your code execution for anonymous users in SharePoint

Read Original

This article provides guidance for developers debugging SharePoint solutions that allow anonymous access. It explains the challenge where code requiring authentication automatically logs in the user, breaking anonymous debugging. The solution involves enabling Remote Desktop on the development machine, attaching Visual Studio to the IIS worker process, and browsing the site from a local machine to trigger access denied exceptions instead of auto-login. The technique helps maintain anonymous context during debugging.

Debugging your code execution for anonymous users in SharePoint

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet