I am using the rsscripter tool to migrate my reports from the dev machine to
the acceptance machine. I am getting a compile error:
Running script "GlobalReportsLibrary\GLOBAL\rpt_100_PutAway.rdl.rss"
The specified script failed to compile with the following errors:
C:\tempreports> "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:exe
/main:MainModule /utf8output /R:"System.dll" /R:"System.Xml.dll"
/R:"System.Web.Services.dll" /R:"C:\Program Files\Microsoft SQL
Server\90\Tools\Binn\rs.exe" /out:"C:\Documents and Settings\ephisha\Local
Settings\Temp\mchxuwd6.exe" /debug- "C:\Documents and Settings\ephisha\Local
Settings\Temp\mchxuwd6.0.vb" "C:\Documents and Settings\ephisha\Local
Settings\Temp\mchxuwd6.1.vb"
Microsoft (R) Visual Basic Compiler version 8.0.50727.42
for Microsoft (R) .NET Framework version 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
C:\Documents and Settings\ephisha\Local Settings\Temp\mchxuwd6.1.vb(78) :
error BC30456: 'SetReportDataSources' is not a member of
'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'.
RS.SetReportDataSources(fullpath, dataSources)
~~~~~~~~~~~~~~~~~~~~~~~
Does anyone have any ideas? Thanks.Phill,
Does the fullpath have the .rdl extension, as it only needs the path and
name of the report.
One other method is to create a project in Visual Studio and try to debug it
there. Here are the steps:
In Visual Studio or download Visual Studio Express (Free)
1. Create a new Visual Basic Console Application Project: name it RSDebug
2. In the Soultion Explorer window - right click on the RSDebug Project and
select the Add Web Reference option.
3. In the URL text box add:
http://servername/reportserver/reportservice2005.asmx
4. Click Go Command Button (This step takes a while)
5. In the Web Reference Name text box add SSRSWebService
6. Click Add Reference Command Button
7. In the Code Window above the Module Module1 add:
Imports RSDebug.SSRSWebService
Imports System.Web.Services.Protocols
8. Below the Module Module1 add: Public rs As New ReportingService2005
9. Paste your script code in the Sub Main() procedure
10. Set your breakpoint and go.
Reeves
"Phill" wrote:
> I am using the rsscripter tool to migrate my reports from the dev machine to
> the acceptance machine. I am getting a compile error:
> Running script "GlobalReportsLibrary\GLOBAL\rpt_100_PutAway.rdl.rss"
> The specified script failed to compile with the following errors:
> C:\tempreports> "C:\WINNT\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:exe
> /main:MainModule /utf8output /R:"System.dll" /R:"System.Xml.dll"
> /R:"System.Web.Services.dll" /R:"C:\Program Files\Microsoft SQL
> Server\90\Tools\Binn\rs.exe" /out:"C:\Documents and Settings\ephisha\Local
> Settings\Temp\mchxuwd6.exe" /debug- "C:\Documents and Settings\ephisha\Local
> Settings\Temp\mchxuwd6.0.vb" "C:\Documents and Settings\ephisha\Local
> Settings\Temp\mchxuwd6.1.vb"
>
> Microsoft (R) Visual Basic Compiler version 8.0.50727.42
> for Microsoft (R) .NET Framework version 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
> C:\Documents and Settings\ephisha\Local Settings\Temp\mchxuwd6.1.vb(78) :
> error BC30456: 'SetReportDataSources' is not a member of
> 'Microsoft.SqlServer.ReportingServices2005.ReportingService2005'.
> RS.SetReportDataSources(fullpath, dataSources)
> ~~~~~~~~~~~~~~~~~~~~~~~
rs.SetReportDataSources("/
> Does anyone have any ideas? Thanks.
No comments:
Post a Comment