asdfasdfasdfasdfasdf


I am trying to go through the Data Mining Web Controls Library sample found at http://msdn2.microsoft.com/en-us/library/ms160727(SQL.90).aspx

I have all the prerequisites installed on my local machine.

When I get to step 4 (On the Build menu, click Rebuild Solution.) in the "To build and install the Data Mining Web Controls" section.. I just get the below error.

Code Snippet
Error 3 Could not find file 'C:\Program Files\Microsoft SQL Server\90\Samples\Analysis Services\DataMining\Data Mining Web Controls\WebControls\obj\Debug\Microsoft.AnalysisServices.DataMiningHtmlViewers.dll' 'The system cannot find the file specified.' C:\Program Files\Microsoft SQL Server\90\Samples\Analysis Services\DataMining\Data Mining Web Controls\WebControlsSetup\DMHTMLViewersSetup.vdproj DMHTMLViewersSetup

I am running SQL Server 2005 SP2 developer edition. I have downloaded all the updated files for the AS project and samples.

I have search online for this error and come up w/ very little. Am I missing something Is this an old sample that doesn't jive w/ SP2

Thanks,

Cameron




Re: Web Controls Sample Build Fails

Bogdan Crivat


It seems that you are trying to build the setup project. (vdproj) and the actual web control project is not built yet.

The whole solution contains two projects: the web controls assembly, DataMiningHtmlViewers.dll, and the deployment project.

Do you see them both in the solution explorer

Can you try to rebuild the whole solution







Re: Web Controls Sample Build Fails

asdfasdfasdfasdfasdf

Bogdan,

Thanks for the help. I do see both projects in the solution. I mis-understood what was going on. I understood that the dataMiningHtmlViewers.dll needed to run first. That is why I was ignoring the sampleKey.snk error until I resolved the dll error.

The sampleKey.snk error was blocking the dll from completing. Once I resolved the key issue, the build ran just fine.

Thanks for the help again,

Cameron