BUG: "VJS1005 - File Not Found" Error Message with PerfMon Sample (325599)



The information in this article applies to:

  • Microsoft Visual J# .NET (2002)

This article was previously published under Q325599

SYMPTOMS

When you try to build the PerfMon sample solution, you receive the following error message:
error VJS1005: File '...\PerfMon\DisplayForm.jsl' not found

CAUSE

A bug in the Visual J# .NET sample distribution causes this file to not be included. The error message is correct.

RESOLUTION

To resolve this problem:
  1. Obtain the missing DisplayForm.jsl file that completes the Visual J# .NET PerfMon sample.For additional information about how to obtain the DisplayForm.jsl file, click the article number below to view the article in the Microsoft Knowledge Base:

    325910 DisplayForm.jsl Source File for PerfMon Sample

  2. Make sure that you save the DisplayForm.jsl file in the project directory for the PerfMon sample.
  3. On the Project menu, click Add Existing Item to add the file to the project.
  4. On the Build menu, click Build Solution.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. In the Visual J# .NET Help collection, open the PerfMon sample. To do this, click Visual J#, click Visual J# Samples, click General Samples, and then click PerfMon Sample.
  2. At the bottom of the Sample Files pane on the upper right of the page, click the Copy All Files link to copy the sample files to your hard disk. Note that the DisplayForm.jsl file is not included.
  3. Open the solution in Visual J# .NET, and then build the solution.

REFERENCES

For more information about Java language support on .NET, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:1/19/2004
Keywords:kbbug kbpending KB325599