publishing .rds file in reporting server using rss script - sql-server-2008

I am having several rdl files which uses the shared data source, which is defined in the sample.rds file. Now when i try to publish the .rdl files using the rss scipt, i am getting the below error,
The dataset `Sample' refers to the shared data source `Sample', which is not published on the report server. The shared data source `Sample' must be published before this report can run.
It clearly says the 'Sample' data source referred in rdl files is not published.
So before trying to publish the rdl files, i need to publish the sample.rds file. How to do that? How do i publish the .rds files using the rss script?
Thanx in advance

Do you have access to BIDS?
If yes, you can just open your project, right click it and deploy.
All datasources will be deployed to the folder specified on the project configuration

Creating it manually worked for me:
Browse to http://localhost/Reports_SQL2008
Click New Data Source, add Name="Sample", connectionstring="Data Source=.\sql2008; Initial Catalog=yourDB;"
Use Windows credentials
Save

Related

How to distribute a report from MS Access to Sharepoint Online

In the Microsoft support document Distribute a report [https://support.office.com/en-us/article/distribute-a-report-561a9066-00ab-41ee-8f07-a0734810a778] is a section: Export a report to a folder or Sharepoint document library.
The description does not match with my MS Access version.
My version is Microsoft Access for Microsoft 365.
Can anybode tell me how to enter the URL of Sharepoint Online in the navigation pane?
Well, the instructions are that you want to put a word file, a pdf file, a text file or whatever into that SharePoint folder.
So, the advice in that example is NOT limited to Access. All they are saying is to run the report, export it as a PDF file. You are THEN free to copy and place that resulting PDF file into that shared folder on SharePoint. So, how you get/place/copy that PDF file into that folder is the same as how you would copy a word file, a excel file or any kind of windows file into that folder.
Quite sure you just type in the URL that points to the folder name, and then you are free to use the up-load files option in the SharePoint site. The other way is to use the "map" folder option from SharePoint, and that will give you a look alike or useable folder from the windows explore. So, how you get the exported Access PDF file (the report that is now a simple PDF) into that folder is no different then how you copy any other file into that SharePoint folder.
If a user can't copy or get a word file, a text file, Excel file, or in this case a simple PDF file into that folder, then all is lost here.
You are being asked to place/copy a pane jane windows file.
So, you run the Access report. In the ribbon (assuming Access 2007 or later) there is a export to PDF option. You thus create the PDF file on your computer, and then place that file on the Shared folder on SharePoint. So the REAL question here is?
I have a file on my computer - how can I place it into a SharePoint folder? How this works for ANY file, including that PDF you created (exported) from Access is 100% the same.
So, users will have to learn how to place a file into that SharePoint folder. Once they learn how to do this, then they can place any file - such as a PDF in this case into that folder.
So, creating that plain jane PDF file from the Access report results in a static PDF file, and then you simply copy that file to the SharePoint folder.
Now, you might want to be able to skip the step after you create the PDF, and it would be more convenient to simply specify the URL WHEN exporting the PDF from Access. As noted, to do this you need to map the SharePoint folder to a windows folder, and then this will work.
The steps are:
Log into https://portal.office.com
Click on your apps menu and choose SharePoint
Browse to a document library > Documents
In the bottom left corner of the browser click the “Return to classic SharePoint”
You have to set trusted locations. The full set of steps for this are here:
https://jasoncoltrin.com/2018/10/25/solved-sharepoint-office365-open-with-explorer-not-working-on-windows-10-internet-explorer-11/
Once that folder can be used/seen in windows, then you can specify that folder when you export the PDF. Only you can decide if all those extra steps are worth the effort, or that users just place the resulting PDF file into that SharePoint folder the SAME WAY that they now place any old windows file into that SharePoint folder.

Is it possible to upload/choose the file from sharepoint location to application using HTML5 file upload?

I would like to open/select the file from SharePoint location, the file dialogue box(HTML file upload feature) should open with a list of files from the SharePoint directory instead of pointing to the system directory. is it possible?
Currently, the dialogue box opens with the current system directory file location.
Is it feasible with all browsers?
Yes, it is feasible.
However, you might need to custom design the interface.
You would need to perform a rest API call to SharePoint document library to show the list of files. You can use Microsoft Graph API to make the calls and extract the details.

Moving SSRS reports to physical location

I have created a report using SSRS 2008 R2 and I need to copy the end report(.xlsx or .csv formats not .rdl file) to physical location.
anybody have any idea how to do this?
If you just want to do it once, you can just export it and save it.
But if you want it done automatically on a regular basis, set up a subscription to place the file where you want (that the server can access) with Windows File Share. You must use the network path and not mapped drive letters. You would need some credentials to allow the report server to save the file.
MSDN: SSRS Subscriptions

Need to open/edit SSRS reports copied from a local computer to a shared drive

I need to make updates to several SSRS reports. The problem is, these were originally developed on another developer's local computer. He quit suddenly and the SSRS project was copied to a shared drive by a manager. The original computer with the original SSRS project is no longer available.
I can launch the project, but when I try to open any of the rdls for editing I get an error message: "Could not find part of the path 'C:\Users\jsmith\Downloads\upload\3 Site Kits On Time.rdl'." Clearly, it's looking for files on the other programmer's C drive, which no longer exists.
Is there a way to get the rdls to open in the new location? The new path would be \\DataMgt\SSRSPackages\CTReports.
This is SSRS 2008. There is no version control (don't ask).
(Just to make this a formal answer as it seems to have worked fort the question setter...)
You are correct in identifying that the project file is looking for a specific file in a specific location.
To get around this you can create a new SSRS project in Visual studio, and then add all the rdls to those new project by inserting them to the new project by right-clicking the project, selecting 'Add' then 'Existing item...' and choosing the report files.

SSRS - Uploading a Report and copying to a network directory

We are using SSRS and when we "Upload" an .rdl file using the web report manager we would like to automatically take a copy of that .rdl file and put it on a network drive.
I'm not familiar with SSRS at all and I don't even know where to begin to look. I'm assuming that there is an .API.
Is there a way to capture via the web report manager after the file has been uploaded to the DB that I can then make a copy of that rdl file to the network path of my choosing?
Update:
It appears that Microsoft doesn't allow customization of the Report Manager.
http://msdn.microsoft.com/en-us/library/ms157147(v=sql.90).aspx
So maybe the answer is that I can't do what I want to do.
You can't do what you are asking using Report Manager. However you can use the rs.exe utility provided with Reporting Services to create a script that will download the rdl file(s) from the report server to disk.
Example here: http://blog.geektrainer.com/2012/04/download-all-reports.html
Looks like you are trying to keep the back up of the SSRS reports. Here is the link which downloads the file to your local drive. You can modify the same for copying to the network location if you want.