Click here to Skip to main content
15,889,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i get problem with code source CHAID in article :
Data Mining with SQL Server 2005 without Analysis Services exist in link :

[^]
problem :l'ecxution stoped in :

/************************************************/
TListOfNdLists ViewTree = ViewForest[sel_index];
/*************************************************/

NullReferenceException:

La référence d'objet n'est pas définie à une instance d'un objet.
Posted
Comments
[no name] 13-Aug-12 9:14am    
And what did you discover when you debugged the code?

1 solution

That means that ViewForest is null. Where - and how - is that variable instantiated? The cause of the error is likely to be found there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900