SSRS Dynamically change Datasource connection String - reporting-services

I want to modify the connection String of a Shared Data Source on a report Server. the reason is, every week we deploy new data on the server, so I am planning to deploy new database, test it and modify the datasource so that it than connect to new database, then remove the old database.
Can anyone help me in the regards.
I tried to use this post: Updating Shared data source connection string programmatically
but I can not create ReportingService2005 object as dll is missing to which this object points.
Thanks

ReportingServices2005 is not a dll, it's a webservice
The URL is formatted as below for most 2005 instances:
https://<<Report Server Name>>/ReportServer/ReportService2005.asmx
If you add the web reference the solution you have should work

An alternative to creating a custom application to do this is to use the rs.exe utility to execute the code as a script.
Scripting with the rs Utility and the Web Service

Related

connection to external MySQL in VB

I am able to create a connection string to query the database from an external network however am unable to create a connection via new data source and therefore a dataset in order to populate a data grid view using the external information.
I have made it so that if pc name = name of dev pc it uses local server name to connect, otherwise it uses external IP.
Is there a way to create a connection for the external connection from the dev computer as its not possible to test connection and therefore gets error that its unable to connect to specified MySQL host
When inputting data into a data grid view a connection needs to be made by assigning that grid view a source. These sources come from the datasets created from the connection string by going to project, add new data source. Because the dataset needs to be accessible externally I need to create a new connection string through add new data source. Because the dev computer and database are on the same computer I cant create the connection string using that method and therefore cant create the dataset to populate the data grid view.
Thanks in advance
You are trying to solve the wrong problem here. Just create your data source to the local database normally. The connection string will be stored in the config file. When you deploy the application, you deploy the config file as well and you simply modify the connection string in it. How do you think developers create applications for customers that use completely different databases?

SSRS Dataset Business object cannot be created

I'm attempting to create a SSRS dataset pointing to an Access Database(I know... Access, users choice). I created the DataSource fine as below. When I create the dataset I get the following error:
Business Object cannot be created.
Any help would be appreciated.
Provider=MS Remote; Remote Server=\\MYSERVERNAME; Remote Provider=Microsoft.Jet.OLEDB.4.0; Data Source= \\MYSERVERNAME\C:\SHARE\OVERVIEWS.mdb;
Thank You
Steve
If the share exists, the correct path would be along the lines of
Data Source= \\MYSERVERNAME\SHARE$\OVERVIEWS.mdb

Dynamic Configuration of Script Task in SSIS

I have to execute a VB script on some data from a CRM database in a data flow task. I want to make it configurable on other system as well.
I am able to assign the connection string of the connection manager dynamically by configuring through variable using a configuration file. Is there any way to configure the ScriptLink property of Script Component Editor so that I can make the address of the script dynamic.
I have also tried CozyRoc Script Task + also but am still confused. I will highly appreciate any help.

Dynamic ConnectionString in Connection Manager (OLE DB)

I have a local database table that contains 50+ external data sources from which I can build a connection string. I am currently trying to setup SSIS to dynamically build connection strings from this table and pass them to the connection manager. I have successfully set a variable and assigned this variable to the ConnectionString expression property in Connection Manager.
I then use an OLE DB source object to copy a table from this source to our local database. The problem is that if the connection string is not set at design time I get validation errors for the OLE DB object.
If I manually set the connection string property it works fine, but that defeats the perpose of creating the dynamic connectionstring variable.
The idea here is to have the dynamic partion detect what machine it is running from and build the proper string (DEV, UAT, QA). I also do not want these connection strings in a dtsConfig file.
I took a look at this: http://www.simple-talk.com/sql/ssis/working-with-property-expressions-in-sql-server-integration-services/, but it does not have any solution for my situation.
I just found the solution after reading the first line of that error "Package Validation Error" I went to the package properties and changed DelayValidation to True.
I guess asking questions here really does help you find your own solution.

Write to a JSON file on a server from flash builder

I have a simple DataGrid that gets the Data from a JSON file hosted on a server.
I am using the build Data Connection Wizard and it works great.
Now I want to let the user manipulate the data and send it back to the JSON file.
I tried to add a form to the data grid but it changes only the data on the application and it is not influencing the file on the server.
any help or direction how should i do that will be appreciated.
Shani
Well i finally used
AMFphp and wrote my own functions.