Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

Use ReportViewerWebPart inside Sharepoint Hosted Application

$
0
0

Hi,

Let me describe the issue that I have come across step by step:

  • First, I created a simple SharePoint Hosted Application
  • In the main page (Default.aspx) I want to use a ReportViewerWebPart in order to display an SSRS report
  • I have registered the assembly correctly and included the control withoutsetting yet the ReportPath
<RSWP:ReportViewerWebPart id="m_sqlRsWebPart" runat="server" SuppressWebPartChrome="true" Height="100%" Width="100%" />
  • At this point, if I run the application, the WebPart container is created, but indicating an error ~  "The web part is not correctly configured"
  • So, I set the ReportPath but my problem comes into place: "Sorry, this site hasn't been shared with you."
  • This issue is happening for any value that I assign to the ReportPath. Either if I write a valid path to an.rdl file or if I write a dummy text, I get the same access denied result. I am accessing the application using the SharePoint site administrator account so for sure I have access to the website.

So, I have a few questions:

  1. First of all, can we use WebParts inside SharePoint Hosted applications ?
  2. Where should I continue my investigation in order to overcome the access denied issue ? Should I set additional parameters to the ReportViewerWebPart ? Should I wrap the ReportViewerWebPart in other containers ?

Any help or suggestion would be greatly appreciated!

Many thanks!


Viewing all articles
Browse latest Browse all 8089

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>