Finally I solved this problem:
1) Open IIS Manager.
2) Highlight the "ReportServer" site.
3) Double click the "Handler Mappings" item (in either the IIS area or the Server Components category).
4) Click "Edit Feature Permissions" in the Actions Pane, and enable Script.
5) Restarted IIS - If you want.

Leave a comment