The definition of this report is not valid or supported by this version of Reporting Services. (Error) - visual-studio

I've installed the extension Microsoft RDLC Report Designer in Visual Studio 2017 in order to modify my .rdlc files that were created with an older RDL scheme 2008.
The problem is that the designer is changing the scheme to version 2016 and when I try to run my report I'm getting the next error:
The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2016/01/reportdefinition' which cannot be upgraded.
As a first solution, I had to change manually the report adapting the changes to the old format(2008) but it's pretty annoying doing it all time.
Could you recommend me another kind of solution?
Thanks!

This is pretty anoying. I've discovered another workaround, this way i dont need to update the xml to the old format everytime, give it a try:
https://stackoverflow.com/a/61072633/9026516

Related

The report definition has an invalid target namespace ISSUE

IDE : VS Studio 2017
DB : Oracle SQL
I keep on having this kind of error
Things I do resolving this but nothing helps me w/ my issue :
I already add the latest version (140.1000.523) of Microsoft.ReportingServices.ReportViewerControl.WebForms
I also tried to find the TargetServerVersion but seems only applicable to those who use Report Server Project and I'm not using it (The right-click properties then change TargetServerVersion to "SQL Server 2008 or later"
I also change my ...reporting/2016/01/reportdefinition into ...reporting/2008/01/reportdefinition at xmlns and this not recommended since I keep on adjusting it in back-end whenever I change something in report.

Visual Studio Db project with custom static code analyzer

I've troubles with adding some sample code analyzer into a db project.
I followed this guide: https://msdn.microsoft.com/en-us/library/dn632175(v=vs.103).aspx
, but custom analyzer hadn't added.
What I was missing?
P.S. I'm using VS 2015 Enterprise with SSDT 2016
If you are certain all is good from your side, it's probably due to the dll being in the wrong folder. When I hit this issue I find it easiest to run with logging and place the dll where ssdt is looking to rather than trial and error placing in random folders ☺
Kevin Cunnane has described the procedure in the comments on this page
https://blogs.msdn.microsoft.com/ssdt/2016/06/30/sql-server-data-tools-july-update-2/

Porting Visual Studio VSPackage to SSMS 2012 or 2014

I recently discovered an extension for visual studio that allows you to specify a watermark for the code window. This extension can be found on github here.
https://github.com/nategreenwood/VSEditorBackgroundChangerExtension
As part of a small project I am attempting to get it to work on SQL Server Management Studio. While Microsoft doesn't officially support extending SSMS - they also do not discourage it. Those are their words, not mine.
Looking into the extension\application sub folder under SSMS for SQL Server 2014 it is obvious that Microsoft uses VSPackage to include their own extensions to the Isolated Shell version of Visual Studio that SSMS is built on top of. The manifests appear to be version 1 manifests however.
These show up in the following location on my own box:
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Extensions\Application
Looking for assistance in verifying if this extension can be modified to work with SSMS. I have modified the package manifest in a variety of ways - including rewriting the package as a version one style package and manifest. I can see the package registered under the pkgdef guid that VSIX generates. It says it has been installed. No error messages are thrown, but no image appears either.
Does the Isolated Shell and more specifically, the code window utilized by SSMS to develop and execute TSQL support adornments such as the ones used by this package? Does SSMS support version 2 manifests and VSPackages?
Any advice on how to modify this package to get it to work is appreciated.
My own attempts are further documented here: http://sqljudo.wordpress.com/31-days-of-ssms/ssms-day-30-vspackage-and-ssms/
Looks like there was an official Connect answer on this: https://connect.microsoft.com/SQLServer/Feedback/Details/2602390
In 2012 and 2014 the old "Addin" mechanism needs to be used, and as of 2016 (general release) the new "VSPackage" mechanism needs to be used (ref: http://blogs.sqlsentry.com/aaronbertrand/plan-explorer-add-in-ssms-2016/ )

Microsoft Report Viewer Version 9.0 to 10.0 reports don't load

We are using WinForms Reoprt viewer control. Everything worked fine until we migrated to VS2010 from VS2008. VS2010 converts our project to corresponding version simultaneously changing the version of Microsoft.ReportViwer.Common and Microsoft.WinForms from 9.0 to 10.0. Also during the first opening of .rdlc file VS2010 suggests to convert it.
After such manipulation report crashes and displays the following error:
"An error occured during local report processing. An error has occured during report processing. The Group expression used in Groping '' returned a data type that is not valid."
However if I change assemblies version back to 9.0 everithing works fine.
Does anybody have any idea or help how to make it work with newer libraries?
I've found the solution. This problem was with nested field attributes and fixed in VS2010 SP1. This article explains this issue http://blogs.msdn.com/b/brianhartman/archive/2010/10/27/nested-objects-in-local-mode.aspx

Planning to upgrade VS 2005 to VS 2010

I have installed VS 2010 and want to migrate all code written in VS 2005 to VS 2010.
Please note that we do not have VS 2008, all code are in C# 2.0 and Asp.net 2.0 only.
Can anyone please tell me now what all points need to be considered while migrating.
Update:
I have set target framework to 2.0 for all of my Libraries and web projects. It complies without any error!
However, when site opens in IE (Set to default.aspx), it gives me error as below:
InternalXmlHelper.vb(9) : error BC30560: 'ExtensionAttribute' is
ambiguous in the namespace 'System.Runtime.CompilerServices'.
<Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
Keep all the target framework settings to .NET 2.0. This way, there should be no compilation problem at all.
The changes that you should see are the solution and project files only.
Start with known good solutions in source control (and label—you shouldn't need to go back, but easy to add an extra safety net).
Open each solution in VS2010, allow the conversion wizard to do the conversion.
Resolve any issues.
Honestly, if you're just upgrading VS 2010 you don't really need to consider much. Just keep backups (any real SCM product will do) and you're good. You don't have to upgrade your applications' runtime targets at all if you don't want to.
If you're building with CAS policy, you might run into issues with using MSBuild 4.0 to build you 2.0 applications. If you don't know what I'm talking about, never mind.
My advice is to make sure everyone's "checked in" to your source code provider, and run the conversion wizard and see how it goes.

Resources