Files
sql-server-samples/samples
Josh G b5000e1eee Updating migration script for data-driven subscription PASSWORD field
CSS had a support ticket in which the customer had a password field provided by the data-driven subscription dataset query. The current GitHub script fails because it is trying to add a second instance of the PASSWORD parameter. The failure is:

Migrating data-driven subscription Monthly run of DATA0006116 (DataPortal) ... FAILURE:
System.Web.Services.Protocols.SoapException: An internal error occurred on the report server. See the error log for more details. ---> Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---> System.ArgumentException: Item has already been added. Key in dictionary: 'PASSWORD'  Key being added: 'PASSWORD'
   at Microsoft.ReportingServices.Library.ReportingService2005Impl.CreateSubscription(String Report, ExtensionSettings ExtensionSettings 


The updated code will check if the PASSWORD parameter already exists. If it does, then it will not add the PASSWORD parameter. The customer tested the updated script code and it successfully migrated all of his RS content to the new RS server.
2022-01-30 12:53:08 -05:00
..
2021-07-22 17:04:54 -07:00
2021-06-08 21:36:25 +05:30
2021-07-05 18:21:23 -07:00
2022-01-08 20:58:30 +03:00
2019-07-08 15:09:06 -07:00

Sample Categories

End-to-end sample applications that illustrate the use of SQL Server for specific application scenarios.

databases

Sample databases for SQL Server, Azure SQL Database, and Azure SQL Data Warehouse.

demos

Demos of various SQL features and capabilities that were presented at conferences, in Webcasts, etc...

features

Samples illustrating specific SQL Server and Azure SQL Database features, including In-Memory OLTP, Master Data Services (MDS), and R Services.

management

Samples that help with the management of SQL Server and Azure SQL Database.

tutorials

Samples showing how to connect to SQL databases using various programming languages, including Python, C#, F#, Java, Ruby, Node.js, and PHP.

containers

Samples showing various SQL Server in container scenarios.