Access to the path 'C:\Inetpub\wwwroot\wss\VirtualDirectories\80\UserControls\HelloSmartPart.ascx' is denied

Aug 27, 2009 at 5:15 PM

I installed, deployed and activated this Smart Part and it loaded fine.

Then I created the UserControls directory and added the sample user controls. And I received this message.

Is there a step I am missing? Do I need to assign security permissions on the folder for a specific login in order for sharepoint to access its files?


Sep 3, 2009 at 12:23 PM


I had the same problem until I gave everyone read access to the usercontrols folder in ntfs permissions.

Hope that helps.