Webapplication problems with MiningModelViewerControl

hi, all

When I want to add Microsoft.AnalysisServices.Viewers.MiningModelViewerControl to my web application, the following error appears: cannot convert from 'Microsoft.AnalysisServices.Viewers.MiningModelViewerControl' to 'System.Web.UI.Control'

I want to use the MiningModelViewer in my web application. Is there any solution to this problem?

I wonder is there any other web application controls for the MiningModleViewer? And where can I find the related documents? I can not find any resource about this problem anywhere. Thanks.

[548 byte] By [jeremy2006] at [2008-2-24]
# 1

[copying BogdanC's response from the newsgroup]

The viewers you are trying to use are WinForm controls and cannot be used as
web controls.
Web viewer controls for some of the mining models (Decision Trees, Naive
Bayes, Clustering) are available as part of the SQL Server Samples, together
with documentation on how to build, deploy and use them. More documentation
about the sample web controls is available at
http://msdn2.microsoft.com/en-us/library/ms160727.aspx
You can see the web viewers at work at
http://www.sqlserverdatamining.com//MovieSurveyDemo/
Just expand the "Forests ..." node and select, for example, "Demographic
Forest"

[..]only decision trees, clustering and naive bayes are available.
The sample contains the source code, so it should be possible to create your
own viewers if needed.

RamanIyer at 2007-9-9 > top of Msdn Tech,SQL Server,Data Mining...

SQL Server

Site Classified