Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a webpart A and have two user controls UCA and UCB

When I try to use UCB in UCA and use UCA in WPA, I get this in my InnerException

The referenced file '/ControlTemplates/xxx/UCB.ascx' is not allowed on this page.

Any fix for this?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.