cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
vickyPBI Frequent Visitor
Frequent Visitor

Power BI SSRS 2016 server not enter into SSRS URL

Hi,

 

In my customize c# code i am sending SSRS subscription to users mail directly through SSIS.

 

I am getting the error when code reaching to one of the ReportingService2010 webservice method.

 

Subscritpions[] sub = rs.ListSubscriptions("ReportPath")

 

ReportPath = https://<server>/ReportServer/Pages/ReportViewer.aspx?%2fxxx%2fyyy%2fzzz+bbb+ccc%2faaa&rs:Command=Render

 

Note: xxx, yyy,(zzz+bbb+ccc)are folder name into my report structure.

 

I am getting this below error when breakpoint hits to rs.ListSubscriptions method.

 

The path of the item 'https://<server>/ReportServer/Pages/ReportViewer.aspx?%2fxxx%2fyyy%2fzzz+bbb+ccc%2faaa&rs:Command=Render' is not valid.
The full path must be less than 260 characters long; other restrictions apply.
If the report server is in native mode, the path must start with slash. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InvalidItemPathException: \
The path of the item 'https://<server>/ReportServer/Pages/ReportViewer.aspx?%2fxxx%2fyyy%2fzzz+bbb+ccc%2faaa&rs:Command=Render' is not valid. The full path must be less than 260 characters long; other restrictions apply.
If the report server is in native mode, the path must start with slash.

 

Please help with your suggestions what is the wrong i am doing in this.

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft gboreki
Microsoft

Re: Power BI SSRS 2016 server not enter into SSRS URL

The path to the report should be just the folders, not the url.

e.g. /Folder1/Folder2/ReportName

you should use the http://server or the querystring

 

Thanks

-G

View solution in original post

2 REPLIES 2
Microsoft gboreki
Microsoft

Re: Power BI SSRS 2016 server not enter into SSRS URL

The path to the report should be just the folders, not the url.

e.g. /Folder1/Folder2/ReportName

you should use the http://server or the querystring

 

Thanks

-G

View solution in original post

vickyPBI Frequent Visitor
Frequent Visitor

Re: Power BI SSRS 2016 server not enter into SSRS URL

I tried that way, But still getting the same error. Does the script task should get any special access to acces that URL.

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)