403 forbidden error while download file from sharepoint 2010 site

Venkatesh T J 1 Reputation point

I am trying to download multiple files from gridView by selecting checkbox( on SharePoint site), Actually it will fetch the file using SharePoint ID from list in the SharePoint site and write it my documents folder and then zip it. all the functionalities working in development server, I am able to download as zip file in the my documents folder in the system. Note: The same code deployed to QA environment, I tried to download it, but I am getting the 403 forbidden error. I could not able to download it. Could someone please help me on this issue.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,591 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jerryzy 10,566 Reputation points

    Hi @Venkatesh T J ,

    Seems you are using a GridView in SharePoint Visual Web Part and it's getting 403 error in QA environment, I suggest you could debug the code solution using Visual Studio in QA environment to see the detailed error information and check which line cause the issue:

    Debug SharePoint solutions

    Best Regards

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments