Having issue in viewing rdlc 2008 in visual studio 2010 and 2012 - visual-studio-2010

I have created a rdl report in sql server 2008 R2, then i saved it as rdlc.
I created a website in visual studio 2010 and added this rdlc report in it. When i tried to open that report i got below prompt:
Do you want to convert this report to RDLC 2008 format? Please click OK to proceed or Cancel to open it in the XML editor.
I clicked on Okay and i got below error meesgae:
The report definition has an invalid target namespace http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition which cannot be upgraded.
After referring to some forum, i changed my rdlc report top line:
previous code:
Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"
xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition"
xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition"
After changes:
Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"
xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition"
After above changes when i tried to open the report in visual studeio 2010 again i got below error message:
Deserialization failed: The element 'DataSet' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' has invalid child element 'SharedDataSet' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'. List of possible elements expected: 'Fields, Query, CaseSensitivity, Collation, AccentSensitivity, KanatypeSensitivity, WidthSensitivity, Filters, InterpretSubtotalsAsDetails' in namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' as well as any element in namespace '##other'. Line 7, position 8.

Related

Visual Studio opens error details in Bing

When I compile my project in Visual Studio 2015 and have an error in the error list. In the Code column there is a link to that error, doing a search of the error message in... Bing...
Is there a way to change that behavior to the (usual) Google's search engine?

Chart Labels displays correctly in Visual Studio Preview but shows incorrectly in Report Manager after deployment

We have built a SSRS report which contains a chart and a tablix. The chart labels (Male and Female) is displayed correctly in the Visual Studio Preview but in the Report Manager it displays as Female and Female.
These are the following things which we have tried to fix it:
Deleted and redeployed the report
Restarted the Report Server
Checked the report caching. There is no cache for this report.
We use SQL Server 2012 and Visual Studio 2010.
Any help is very much appreciated.
Thanks,
AJ
I would check Data Source definitions, comparing those in Visual Studio with those for the deployed report. You may be looking at a different database.

VS 2013 LightSwitch won't attach a data source

I am trying to create a LightSwitch project in VS 2013 with Update 3. I right-click on the .Server, click Add Data Source, select Database, click Next and I get the following error:
"The type initializer for 'Oracle.DataAccess.Client.OracleException' threw an exception."
I have repaired Visual Studio, re-installed it, taken Oracle out of my Environment Variables. I still get this error. Any clue on how to fix this?

Target schema for validation - missing in VS 2012 intellisense - how to resolve?

In a MVC4, razor view, I am unable to get HTML5 intellisense.
After adding AngularJS references to VS2012 for intellisense, I still wasn't getting the any of the AngularJS directives to appear.
I have the HTML5 schema enabled (Tools/Options/Text Editor/HTML).
I also don't see any of the HTML5 intellisense as shown here.
When I type the
<
Intellisense is "text".
Other tags show a green line with the message "Validation ($SCHEMA$): Element 'script' is not supported.
Looks like there's a disconnect somewhere with my schemas.
I also tried added the target schema for validation to the toolbar and received the error:
---------------------------
Microsoft Visual Studio
---------------------------
Could not complete the action.
---------------------------
OK
---------------------------
How can I resolve this?
I have had exactly the same problem with VS 2013. I had been messing about with the schemas used for validation, so I reckoned that was the problem, turns out I had likely corrupted one of the files.
Find a "healthy" install of VS 2012 (maybe install on another machine?), zip & copy the following directory:
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Packages\schemas\html
Delete the directory from the "unhealthy" VS and copy the "healthy" one into it's place. Then re-start VS.
For 2013, you may also need to do the same for the following directory:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\Web\Schemas\1033\HTML
Prior to this I had also done a "Devenv.exe /Setup" and "Devenv.exe /ResetSettings", but I don't think these are necessary.

Log on failed. Crystal Report 13 for Visual Studio 2010

I am facing a problem with Crystal Report, in the deployment Server (i.e Windows 2003 Server), my example was working in Crystal Report 10..for visual Studio 2008, but when I upgraded to the new Crystal Report 13 for Visual Studio 2010, it gives me the following error:
Error
Database logon failed.
I have used to use Typed DataSet for the ReportDocument, and from CodeBehind I set reportDocument.SetDataSource(DataTable), and it was working fine in the previews version, but in the new version it gives me the previews error.
By the way the report working fine my local pc where Visual Studio 2010 installed..
Kind Regards
Bassam Basamad
For anyone will face this problem in future.
The problem because if you run two version in the Same Application Pool, it will not work, it will give log failed, but if you create another Application pool, for the Crystal Report 13 for visual studio 2010 it will work fine.
Kind Regards
First goto the app.config file and update the code below
add like this:
<startup useLegacyV2RuntimeActivationPolicy="true">
Add the line useLegacyRuntimeActivationPolicy="true" into startup tag.

Resources