403 forbidden when using composite control in custom webpart RRS feed

  • Question

  • Hello ,

    - I have created a composite control  by inherirting from "CompositeControl"  class . I have its dll .

    - Then I create a web Application  . And Use the composite control in "userControl.ascx" .

    - I add the UserControl in my share point site  by using smart webpart .

    - I add the dll (webapplication.dll) and (compositecontrol.dll)  in the bin folder of share point site .

    - I add also safe control tag in web.config .

    - I try to open the page that hosts this webpart , but there is a following error "403 forbidden" .

    - If I but the dll of Composite control in GAC .  the page opende successfully.

    - So How Can I solve this problem .


    Monday, December 13, 2010 3:25 PM