8 comments

  1. Hi, i got following error after i deployed the solution and clicked on ‘download all documents’
    Request for the permission of type ‘Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ failed.

    any idea?

    junaid raza

  2. Yes, Raise the trust level to “Full” 🙂

    bartg

  3. Hi Guys,

    This feature is pure gold.
    What did you have to do to get the DownloadDocs.aspx page to have a code behind page?

    Nimrod Rozenfeld

  4. Hi Nimrod,

    Glad you like it!

    To answer your question, edit the Assembly attribute in the <% Page %> tag inside the aspx file and refer to the signed assembly. Deploy the assembly in the GAC and presto! 🙂

    (Check out the sources if you like)

    Hope this helps.

    Bart

    bartg

  5. Hi Bart,

    Thanks for the prompt reply, I noticed the DownloadAllDocumentsWeb.dll is not the GAC. am I wrong?

    Nimrod Rozenfeld

  6. Nope, you are right sorry 🙂

    So the proper answer to your previous question was:
    You need to edit the Assembly attribute in the <% Page %> tag inside the aspx file and refer to the assembly. Deploy the assembly in the bin directory of the webapplication and you are ready to go.

    However, you could also put the assembly in the GAC and refer to it throught the Page tags.

    bartg

  7. Not sure how to set the trust level to full. Could you clarify?

    Thanks!

    Greg Palmes

  8. Edit the web.config, search for the tag and change the level to ‘Full’ (case sensitive!)

    bartg

Comments are closed.