timabell / ssrs-powershell-deploy

PowerShell scripts to deploy a SQL Server Reporting Services project (*.rptproj) to a Reporting Server
MIT License
75 stars 40 forks source link

[SSRS.ReportingService2010.ReportExecutionService] doesn't contain a method named 'GetItemType' #6

Closed worldspawn closed 9 years ago

worldspawn commented 9 years ago

Its not working for me. Are there some prerequisites?

Deploy-SSRSProject.ps1 
[13:47:21][Step 1/1] : Method invocation failed because 
[13:47:21][Step 1/1] [SSRS.ReportingService2010.ReportExecutionService] doesn't contain a method 
[13:47:21][Step 1/1] named 'GetItemType'.
[13:47:21][Step 1/1] At line:1 char:1
[13:47:21][Step 1/1] + .\ReportingDeployment\Deploy-SSRSProject.ps1 -Verbose -Path 
[13:47:21][Step 1/1] '.\Reporting\Reporti ...
[13:47:21][Step 1/1] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[13:47:21][Step 1/1] ~~~
[13:47:21][Step 1/1]     + CategoryInfo          : InvalidOperation: (:) [Deploy-SSRSProject.ps1],  
[13:47:21][Step 1/1]    RuntimeException
[13:47:21][Step 1/1]     + FullyQualifiedErrorId : MethodNotFound,Deploy-SSRSProject.ps1
[13:47:21][Step 1/1]  
worldspawn commented 9 years ago

I was using the wrong endpoint.