SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get the following error on SharePoint pages: aspcompat not allowed on this page when I try to use it. Please help.

share|improve this question

i think this question was already answered on Stackoverflow: Here and here. Does that help you along?

What is the reason for you setting ASPCOMPAT? are you using single threaded COM components in your code?

hth Anders

share|improve this answer

Your Answer


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