Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio is hanging when add a new dataset to RDLC report

I create a specific report.rdlc then i want to add new datatable to my report .

But after changing the data set ,trying to add new dataset to my report .

The visual studio is crashing every time and restart without adding the new dataset !

enter image description here

I search about this bug and According to Microsoft ,it says :

This is one of the oldest bugs in visual studio and it can easily crash "all versions" of visual studio (which is VS.nET 2015 update 1 right now). it happens when you move your project to another directory and report viewer component tries to open dataset schema from previous location. in order to fix this open rdlc file with a text editor. look for a property named "SchemaPath"and update the path of your dataset file there .


I did this suggestion ,then clean the project and rebuild it but the same problem ! How to fix this problem ?

<rd:DataSetInfo>
        <rd:DataSetName>AnalysisDS1</rd:DataSetName>
        <rd:SchemaPath>N:\ProjData\FinanceList\FinanceList\Finance\App_Code\AnalysisDS1.xsd</rd:SchemaPath>
        <rd:TableName>AnalysisDT1</rd:TableName>
        <rd:TableAdapterFillMethod />
        <rd:TableAdapterGetDataMethod />
        <rd:TableAdapterName />
</rd:DataSetInfo>
like image 672
Anyname Donotcare Avatar asked Dec 10 '16 15:12

Anyname Donotcare


1 Answers

Try to remove .vs or bin and obj still not working, but when i try to remove my datasource connection and add new connection it's worked for me.

like image 88
JES Avatar answered Oct 03 '22 23:10

JES