I have probably spent 30 minutes trying to find an issue with VisualStudio 2005. I was getting an error about ‘icachedreport being not definied’. This was an error with the Crystal Reports functionality in the program. I just could not work things out. There are something like four different reports in the program, and only one was returning this error. I could not work out what was happening. It was just strange.

After about half an hour I found something. The problem was with CacheTimeout, and it appeared that VS.NET 2005 was not finding the CrystalDecisions.ReportSource.ICachedReport.CacheTimeOut on the definition on the CacheTimeout line. What I did was remove the data type definition and retype it. That fixed things. I believe that the new compiler did not correctly compile the line, and would not recombile it, and this created the error. The code was correct, it was just that the computer did not realise that it was correct. Well, that is what it looks like happened.

The reason I am using VS.2005 is that I want to try upgrades over the Web for my software. With the CrystalReports runtimes my current software package is about 10 MBytes long, and I want to make it easier on my users to keep current. I will report how that goes