Can I use RS.exe to create the folders in Sharepoint-Integrated Reporting service?

Hello All,
Recently, I am using rs.exe and .rss files to publish my reports to SharePoint-Integrated Reporting Service.
The outstanding issue is, it cannot create non-existing folders for me automatically. I have to created the folder manually.
Thinking BIDS "Deploy" function can make folder creating happen, why the RS.exe doesn't support so?
Does anyone know how to change .rss and rs files to make folders creating automatically. 
E.g. If I pass in "ParentFolder" and it doesn't exist on SharePoint, then RS.exe can create the folder first then deploy the RDL files under that folder.  
Derek

Hi Derek,
In SSRS, we can use .rss files to publish our reports to a new folder. Please refer to the following script:
Dim definition As [Byte]() = Nothing
Dim warnings As Warning() = Nothing
Dim destinationFolder As String = "DemoReports"
Dim reportsTargetPath As String = "/" + destinationFolder
Dim reportsSourcePath As String = "C:\Demo"
Dim datasourceName As String = "DataSource1"
‘Create the destination Folder
Try
rs.CreateFolder(destinationFolder,”/”, Nothing)
Console.WriteLine("Parent folder {0} created successfully", destinationFolder)
CreateReportDataSource(datasourceName, "SQL", "Data Source=.;Initial Catalog= AdventureWorksDW2012")
Catch e As Exception
Console.WriteLine("Tasks completed successfully.”)
End Try
You can refer to the script in the following blog.
http://sqlserverselect.blogspot.in/2010/10/rsexe-and-rss-scripts-for-automation-of.html
Regards,
Alisa Tang
If you have any feedback on our support, please click
here.
Alisa Tang
TechNet Community Support

Similar Messages

  • Urgent Please: Cannot publish Reports to the Sharepoint Integrated - Reporting Services Login

    Hi,
    Sharepoint 2010 / SQL Server 2008 R2
    The user I am using in BIDS to deploy the reports has Admin permission to the site collection and databases.
    Reporting Services Login prompt all times and I can´t go ahead to publish the reports.
    I ve reviewed my deployment properties -
    http://msdn.microsoft.com/en-us/library/bb283155(SQL.90).aspx
    The same test works to my dedicated server (Sharepoint and SQL Server in the same machine) but not to the enviorement bellow:
    Server 1 - SSED, SSAS, SSRS, Sharepoint Web Front (minimal installation)
    Server 2 - Sharepoint Server 2010 (SSRS Sharepoint Integration Mode)
    I´ve read all the discussions and articles I couldn´t find anything conclusive.
    Please, any clues?!
    Thanks in advance,
    Alex Berenguer

    Hi Syed, thank you so much for your help. I have already spent many hours in order to solve this issue but nothing so far.
    The Web Application I created to test it has a Business Intellicente Center as Site Collection. The Report Services features is running on it. I checked it. Thanks.
    Follow more details I ´ve discovered:
    Here's the scenario:
    I have a Web Front End (WFE) server, and an Application Server (AS) in a Sharepoint 2010 Farm.  The configuration database, content database, etc.. are located on a clustered SQL 2008 R2 instance on another set of machines.  I have installed SQL
    2008 R2 Reporting Services w SP1 on the AS.  I have installed the SQL 2008 Reporting Services Add-In for Sharepoint 2010 on the WFE.  I have gone through all the configuraiton settings, set the SPNs for the service accounts, etc... The Excel Services
    with external data, for example, is working fine.
    When the reporting services integration is set to "Trusted Account", I can deploy reports to the server with no problem, EXCEPT that I can't deploy data sources that use "Windows Authentication" as their credentials, which is desirable for our implementation.
    When I switch the reporting services instance to "Windows Authentication", I can no longer deploy projects to the report server.  When I go to deploy the reports, I continually get a "Reporting Services Login" prompt, showing the server it is being deployed
    to, and requesting a username and password.  No combination of username and password works.
    Here's a fun little bit for you too, if I continue to try to login to the server, I will eventually (after hitting the GPO threshold) lock out my account from Active Directory.  This I found out after nearly creating a set of tracks down my scalp all
    day today trying to figure out what was happening to my sharepoint sites while I was debugging this....
    So it seems that it is trying to authenticate my login credentials through BIDS, but is unable to do so.
    Also, when I attempt to "Manage Datasource" directly through the Sharepoint interface I am getting 401 errors.
    I appreciate any assistance.
    Thanks a lot.
    Alex Berenguer

  • Can we use custom RFC in creating models in Visual composer??

    Dear Experts,
    Can we use custom RFC in creating models in Visual composer??
    If yes, kindly provide some documents or links which would guide me how to achieve it.
    Warm Regards
    Upendra Agrawal

    Hi,
    Yes,you can do it.
    Configure the rfc and use like others Standard BAPI procedure.
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/connectivity]
    Regards,
    Govindu

  • Hi can I use apple pages to create a line or scatter graph ?

    Hi can I use apple pages to create a line or scatter graph ?

    If you need to see the legal document that makes this OK see this Apple document, section 2C

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • My IPOD is already synced to iTunes.  My friend just acquired an iPhone and he wants to purchase an app through my iTunes.  Can he use my iTunes to install the app to his iPhone without screwing up my IPOD information already on my iTunes?

    My IPOD is already synced to iTunes.  My friend just acquired an iPhone and he wants to purchase an app through my iTunes.  Can he use my iTunes to install the app to his iPhone without screwing up my IPOD information already on my iTunes?  Also, how does he install ONLY that app on his iPhone without syncing my music also?  I haven't done this before with just an app.  Thanks.

    Since you and your friend aren't married or in the same household (I assume you wouldn't have referred to this person as "my friend" otherwise), what you want to do is not permitted by the terms of use of the iTunes Store.
    Your friend should create his own Apple ID. He can use your computer; just have him log into your computer with a user account you create just for him, not your own user account. Doing it that way is almost like having your friend use a different computer, since both Mac OS X and recent versions of Windows do a pretty good job of segregating the data of multiple user accounts.
    He can then purchase the app using iTunes and sync it to his iPhone. When he's done, he should log out of your computer.
    However, be aware that there is no reason to purchase an app using iTunes on a computer and to then sync it to the iPhone. Your friend can use the App Store app that's installed on the iPhone by default in order to download and install any app he likes from the iTunes App Store.

  • What kind of  inforobject can be used for compounding while creating charac

    Hi all :
         what kind of standard inforobject can be used for compounding while creating characteristic ?
        I found that some could be , but some couldn't ,  like 0RESP_PERS.
    THE ERROR :
    1      Characteristic 0RESP_PERS was included in the compounding for COS09 (-> Long Text)      QLong text exists
    2              0RESP_PERS is just an attribute and is not allowed in the compounding No long text exists
    0RESP_PERS is an object, why  can't be  used for compouning? 
    Could you please tell me why ?
       Thank you very much!
    Edited by: jingying Sony on May 10, 2009 7:05 AM

    Hi Jingying Sony,
    One can mark an infoobject as an Attribute Only in the General tab.
    This means that the infoobject will only act as an attribute and cannot be used as a characteristic in infocubes. Neither can it be used as a navigational attribute and I guess it may not be available for compounding then(since in compounding - it implicitly becomes a characteristic).
    For your ref
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    If you uncheck this checkbox, then may be it will allow you to compound this characteristic..
    You may try with a (self created) ZRESP_PERS reference chararacteristic of 0RESP_PERS, to confirm this.
    One more link for your reference
    http://jgtang82.javaeye.com/blog/191795
    Hope this helps,
    Best regards,
    Sunmit.

  • How can i use my apple ID with the itune store over my windows laptop

    how can i use my apple ID with the itune store over my windows laptop

    If you don't have iTunes installed on your laptop then you can download and install it from here : http://www.apple.com/itunes/download/
    You can then log into your account on it via the Store > Sign In menu option (on iTunes 11 on a PC you can get the menus to show via control-B) :
    And you can then select the Store on the left-hand sidebar (you can enable the sidebar via control-S), and then browse items in the store and buy them by clickin on their price.

  • My wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the photo

    my wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the primary photo iCloud account and thus our shared photo system. We are running yosemite OS X 10.10 and iOS 8.0.2... Is there any way to do this?

    my wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the primary photo iCloud account and thus our shared photo system. We are running yosemite OS X 10.10 and iOS 8.0.2... Is there any way to do this?

  • Hi, we have two iphones with two accounts.  The apple tv automatically syncs with one account to play music from the iphone to apple tv.  How can I use my iphone to do the same?

    Hi, we have two iphones with two accounts.  The apple tv automatically syncs with one account to play music from the iphone to apple tv.  How can I use my iphone to do the same?

    Our experience is a little different, we have different iTunes accounts for different family members, each family member has their own iTunes library on their own mac, each mac uses my Apple ID for homesharing and we are able to play purchased content from each library on the Apple TV.

  • Can i use two icloud accounts on the same computer?

    can i use two icloud accounts on the same computer?

    You can have content from two iTunes Store accounts in one library, and multiple libraries on a computer.
    (98306)

  • Can I use two apple TV on the same wifi system?

    Can I use twoo apple tv on the same wifi system??

    Winston, what sort of set up do you have for 10 apple tvs? - I currently have 2 and cannot stream different movies successfully at the same time to both of them from a single macbook pro. I am looking at upgrading to a system with a macbook mini or server streaming different content to 3-5 apple tvs. Currently all streaming is on the same channel and via 2 airport extremes and a new express. Still finding the system very very slow.

  • Can I use 2 Time Capsules on the same network

    Can I use 2 Time Capsules on the same network
    Posted: Jul 23, 2009 1:49 PM Reply Email
    Here is what I want to do. I currently have a time capsule used for one end of the house. Currently my 2 kids rooms are in an addition that I have run a cable from the time capsule to each of their rooms. If I want to give them wireless for that part of the house could I add another TC, for wireless and they can both backup their macbooks to that time capsule.
    So Can I add a 2nd time capsule to extend by "N" network, or should I just go with an AP express or extreme and let them each have their own HD backup for each macbook?
    Brett

    Have bought many reconditioned (Refurb) product from Apple site and have always been happy with them. To date none have failed me and we have been Apple customers since 2006. With that said when you buy Refurbs make sure you know what model you are getting. The current TCs on the Apple site are last generation. The way to tell is to check the model number against the current one. Easy way to do this is to put both in the shopping cart and compare the model numbers. The Refurb model number is FB277LL/A and the new TC model is MB765LL/A. The first digits identify whether a Refurb or new, the rest should be the same if they are the same model number.
    Before you buy, now which model number you want and then check other sites to compare prices. I recently purchased a new TC on Amazon for a better price then the Apple Store Site. For larger Refurb purchases like MBPs, we choose to buy directly from Apple; but for peripherals we often buy from OWC, Amazon, and other sites. Hope this helps.

  • How can I use apple gift card in the Philippines . It says it's only applicable in US storefront

    How can I use my gift card in the Philippines  when it says for US Storefront only

    You cannot use that card. iTunes gift cards are only valid in the country of original purchase.

  • Can you use external hard drives with the HP Omni 10 5600US

    Since this a Windows tablet, can you use external hard drives with the HP Omni 10 5600US?
    I know there is a micro-sd reader for additional storage but can you use the usb for external hard drives like a regular pc?
    I tried looking at the spec's for this tablet and it said the usb port was host only. I'm not sure what that means exactly.

    Yes you can.  You'll need to purchase a USB OTG (on-the-go) cable.  I recommend using a drive that has its own power supply but I've successfully used small USB powered drives also.

Maybe you are looking for

  • Install windows 7 to s110, no CD/DVD driver found

    I just bought Lenovo Ideapad S110 netbook. It already has MeeGoo OS installed but I want to install Windows 7 32 bit. So I made a bootable usb using Windows 7 USB DVD Download Tool and tried to install Windows 7 using my usb. However I have an error

  • When I create a bookmark with Command-D, I am unable to save it into a folder -- the list of folders does not appear.

    When I hit command-D, the "page bookmarked" window appears as usual, but the area where you normally see a list of bookmark folders is empty. When I look at all my bookmarks (Bookmarks >Organize Bookmarks), the folder called "All Bookmarks" appears a

  • Can´t update iPhoto and iWeb

    Starting with software update in the Apple menu. There are updates for iPhoto (7.1.4) and iWeb (2.0.4). I press the Install Items button. After a short time I get the message: None of the checked updates could be installed. Sorry an unexpected error

  • Error Help: Flash CS5 Error initializing Java Runtime Environment...

    Hi im on a Win 7 64bit system  (Clean install),  I just downloaded the Flash Pro CS5 trial today - however when I start the program I get the following message as soon as the UI pops up and prevents me from running AS3 code when compiling files: Erro

  • Two extra field in Planned Orders

    Dear Gurus, The client for which I am working on discrete and now some of their products want to go for REM. In discrete manufacturing, there is Production Order for the finished and assemblies made. Two extra fields were provided and recorded when P