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 !
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>
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With