question

VenkateshTJ-1035 avatar image
0 Votes"
VenkateshTJ-1035 asked ·

403 forbidden error while download file from sharepoint 2010 site

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.

office-sharepoint-server-development
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Jerryzy-MSFT avatar image
0 Votes"
Jerryzy-MSFT answered ·

Hi @VenkateshTJ-1035 ,

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


Thanks
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.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.