microsoft / microsoft/sql-server-samples

Type 'ReportingService2010' is not defined

Open
#412 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Description

When I run \samples\features\reporting-services\ssrs-migration-rss\ssrs_migration.ssrs, I get "Type 'ReportingService2010' is not defined":

rs.exe -i ssrs_migration.rss -s http://xxx:8888/ReportServer -u ReportViewer -p xxx -v f="/MikeDev" -v ts="http://xxx:8888/ReportServer" -v tu="ReportViewer" -v tp="xxx" -v tf="/test"

C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn> "C:\Windows\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 (x86)\Microsoft SQL Server\140\Tools\Binn\rs.exe" /out:"C:\Users\Michael.Wasson\AppData\Local\Temp\jd5ga1za.exe" /debug- "C:\Users\Michael.Wasson\AppData\Local\Temp\jd5ga1za.0.vb" "C:\Users\Michael.Wasson\AppData\Local\Temp\jd5ga1za.1.vb"

Microsoft (R) Visual Basic Compiler version 8.0.50727.8745

for Microsoft (R) .NET Framework version 2.0.50727.8784

Copyright (c) Microsoft Corporation. All rights reserved.

C:\Users\Michael.Wasson\AppData\Local\Temp\jd5ga1za.1.vb(71) : error BC30002: Type 'ReportingService2010' is not defined.

Private RsSrc As ReportingService2010

             ~~~~~~~~~~~~~~~~~~~~

C:\Users\Michael.Wasson\AppData\Local\Temp\jd5ga1za.1.vb(78) : error BC30002: Type 'ReportingService2010' is not defined.

Private RsSnk As ReportingService2010

             ~~~~~~~~~~~~~~~~~~~~

C:\Users\Michael.Wasson\AppData\Local\Temp\jd5ga1za.1.vb(129) : error BC30002: Type 'ReportingService2010' is not defined.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with samples/features/reporting-services/ssrs-migration-rss/ssrs_migration.ssrs and the supplied rs.exe command. Inspect the generated temporary VB around the ReportingService2010 references and the sample's reporting-services setup. Done means the sample compiles without BC30002 and can proceed past this type-resolution error.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.