Comments (6)
@twerthi is this something you know how to solve quickly?
If not, I'll get an environment setup and figure out what's happening here.
from library.
What version of PowerShell are they using? What version of SQL Server Reporting Services?
Does the $ReportExecutionProxy have a value? What does $ReportExecutionProxy.GetType() return?
from library.
@twerthi please see the answers to your questions below. Please let me know if you need anymore information?
Powershell Version:
PSVersion 3.0
WSManStackVersion 3.0
SerializationVersion 1.1.0.1
CLRVersion 4.0.30319.18449
BuildVersion 6.2.9200.16628
PSCompatibleVersions {1.0, 2.0, 3.0}
PSRemotingProtocolVersion 2.2
SQL Server Reporting Services Version:
Microsoft SQL Server Reporting Services Version 11.0.3000.0
$ReportExecutionProxy:
Yes $ReportExecutionProxy has a value. In the template it is initiated like so:
$ReportExecutionProxy = New-WebServiceProxy -Uri $ReportExecutionUrl -UseDefaultCredential
Where $ReportExecutionUrl = "http://xxxxx/ReportServer/ReportService2005.asmx?wsdl" via the template parameter
We actually get autocomplete on $ReportExecutionProxy through the Powershell ISE, however the method LoadReportDefinition does not seem to be there?
$ReportExecutionProxy.GetType() returns Microsoft.PowerShell.Commands.NewWebserviceProxy.AutogeneratedTypes.WebServiceProxy1er_ReportService2005_asmx_wsdl.ReportingService2005
from library.
The value for $ReportExecutionUrl should look like this:
http://xxxxx/reportserver/ReportExecution2005.asmx?wsdl
The value you've supplied here is what would be for the $ReportServiceUrl, which I would recommend changing to http://xxxxx/ReportServer/ReportService2010.asmx?wsdl
from library.
Thanks @twerthi. It works fine now! Maybe it might be worth while putting some error checking in the code to either check for the text "ReportExecution" in the input execution report url or to check whether that url has access to the LoadReportDefinition method? If there is an error raise an exception early suggesting that the input url is invalid?
from library.
Not a bad idea, I'll look into that.
from library.
Related Issues (20)
- [Feature Request] Annotations on K8s namespace HOT 3
- Chain Deployment step template fails to create a new release of a project HOT 6
- getting commit list into step powershell code. HOT 1
- Add support for TLS 1.2 for Teams - Post a message step template HOT 2
- Windows Scheduled Task step fails if password contains double quote HOT 1
- Create Database Release (Worker Friendly) does not work with vanilla NuGet packages HOT 6
- Azure Logo HOT 1
- Repository - support Libraries of Departmental ALIA HOT 1
- Slack Detailed Notification failed if the release notes includes some special characters like & or | HOT 5
- GCP Secret Manager - Retrieve Secrets - Add option to ignore warning when retrieving latest version of secret HOT 2
- Upcoming major releases of Chocolatey products that may impact functionality on the Chocolatey step templates HOT 7
- Command Timeout parameter has no effect in SQL - Deploy DACPAC using SqlPackage step template HOT 2
- The service cannot accept control messages at this time HOT 2
- Issue with Microsoft Teams - Post a message HOT 6
- Issue with Git - Pull (HTTPS)
- SQL - Deploy DACPAC using SqlPackage - Lost functionality when updating from legacy package HOT 10
- Issue with Run Azure DevOps Build Pipeline HOT 2
- Issue with Run Azure DevOps Build Pipeline
- Slack - Send Simple Notification cannot create SSL connection HOT 11
- Issue with Variables - Substitute in Files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from library.