StrataFrame Forum

Strataflix- trying to compile

http://forum.strataframe.net/Topic21223.aspx

By Ger Cannoll - 12/16/2008

I have downloaded and installed the Strataflix application

When I go to compile the Srataflix Solution (c#) i get a message - selected solution is a solution file..but was crated by a newer version of the application and cannot be opened ..I am using VIs Styudio 2005

When I try to recompile the Project , I get 4 files cannot be found

....Strataflix.Base.Dll  .....Business.dll   .....Reporting.dll and ......ui.dll

By Trent L. Taylor - 12/16/2008

Well, you will have to create a solution for VS2005.  The projects can then be added back into the VS2005 solution.  StrataFlix was created using CS2008 which just means that the solution and project files are in VS2008 format, but the source is the same for both.  You just need to create a VS2005 solution manually, then add then projects into that solution.  Do you still have a copy that was working from the training class?  That might be the place to start.
By Ger Cannoll - 1/3/2009

I have created a new VS2005 solution and added the projects. I am getting errors when I compile:

Type or name 'Reporting' does not exist in the namespace 'Microsoft'

Type or name 'LocalReport' does not exist in the namespace 'Microsoft'

They all point back to a line --> using Microsoft.Reporting.WinForms;

Another error is also coming up:

Error 11 Metadata file 'C:\Program Files\MicroFour\StrataFlix\CSharp\StrataFlix.Reporting\bin\StrataFlix.Reporting.dll' could not be found StrataFlix

By Edhy Rijo - 1/3/2009

Hi Gerard,

The StrataFlix sample project uses the Microsoft Reporting engine so you are probably missing a reference, or need to remove the current references to those classes in the project and re-add them again since you are using VS2005, and StrataFlix was created with VS2008.

So open the StrataFlix.Reporting project and remove and then re-add the reference to the following libraries:

  • Microsoft.ReportViewer.Common
  • Microsoft.ReportViewer.WinForms
By Ger Cannoll - 1/3/2009

Hi Edhy.

That worked fine.Thanks. Still left with one error message:

Error 1 'c:\Program Files\MicroFour\StrataFlix\CSharp\StrataFlix\obj\Debug\CSC540.tmp' is not a valid Win32 resource file StrataFlix

No reference to the File, Line or column is given , only to the Staraflix project so I am not sure where this is emanating from

By Edhy Rijo - 1/3/2009

Hi Gerard

Gerard O Carroll (01/03/2009)
Hi Edhy.

That worked fine.Thanks. Still left with one error message:

Glad you are almost there Tongue.

Error 1 'c:\Program Files\MicroFour\StrataFlix\CSharp\StrataFlix\obj\Debug\CSC540.tmp' is not a valid Win32 resource file StrataFlix
No reference to the File, Line or column is given , only to the Staraflix project so I am not sure where this is emanating from

Looks like some other bad reference may be hanging there, try the following:

  • Right click the StrataFlix solution node in the Solution Explorer and select "Clean Solution"
  • Then Build the solution and close the solution and VS.
  • Open VS and the solution and try again.
By Ger Cannoll - 1/4/2009

Hi Edhy. I tried your suggestion but it is still coming up with same error meassage.

I can compile Base,Business,Reports and UI projects successfully but Stratflix project gives the error still.

I also notice that each time the file is different e.g. csc572.tmp, csc579.tmp,csc57f.tmp. I suspect CSC stands for C Sharp Complier and this is some sort of temportary file the Compiler creates ?

By Ger Cannoll - 1/4/2009

I have got a bit further on this and managed to compile successfully. After googling a bit, this message came up and there were pointers that a potential problem could be an .ico file.

I had a look in Strataflix for any Ico filkes and saw one(film.ico). I over-wrote this with one of my own and it compiled then ok...not exactly sure what the problem is but maybe because the film.ico was geneated in VS2008 and I am uisng VS2005 ?

Anyway, its fine for time being and I will be able to proceed.

By Edhy Rijo - 1/4/2009

Hi Gerard,

I am glad you are able to proceed with the StrataFlix project. 

In my case it has been very worthy and useful to have the StrataFlix sample, there are some techniques used by the MicroFour team which has been very good to me, and allowed me to see a different picture of what can be done with the SF and .NET at another level.