I spend half time of todayâ€™s working hours just to do some research on how to solve a problem that happen on software that currently being worked by other team. The software that they currently do is having problem when itâ€™s being run on Microsoft Windows 98. It producing an error that nobody knows what is the cause.
At first we suspect that Crystal Report is causing the problem because some Windows XP that also having the same problem can be fixed by installing Crystal Report component from Visual Studio .NET 2003 installation CDs. But itâ€™s not the case for Windows 98. I canâ€™t install the Crystal Report component from Visual Studio installation CDs, I even canâ€™t run the setup program :(
As Iâ€™m not a member of the developer team so I donâ€™t have direct access to their code. I tried to make small program that do simple database connection and query and showing a report using Crystal Report.
My small program can connected to database and do queries to the database, so itâ€™s not the cause of the problem. Then I add a Crystal Report viewer object on my program, my program works fine in Windows 98, but it just showing the Crystal Report viewer and not yet displaying reports.
Next step I do is add a Crystal Report .rpt file on my program, itâ€™s just a simple report that show a text â€œtestâ€ :D â€“ Iâ€™m planning to add more complexity on the report tomorrow â€“ I compile the code and run it on Windows 98. Ding..! got an error that said â€œFailed to load reportâ€ guess that something is missing on Windows 98 that is needed to run Crystal Report.
I search on the Internet and found this website. It does solve the problem that I had when running my program on Windows 98.
What I have to do is copy dbghelp.dll from System32 folder on my development laptop â€“ which uses Windows XP â€“ to Windows 98â€™s System32 folder. Then manually registering crqe.dll using regsvr32 “” command.
After doing two step above my program can be executed on Windows 98. Now itâ€™s the task for the development team to find out why their program wonâ€™t run on Windows 98 as our first guess that Crystal Report is the cause of the problem is not completely correct.