BUG: "Com.ms.wfc.core.WFCException" Error Message When You Load a Data Form That You Generated By Using Data Form Wizard (818443)



The information in this article applies to:

  • Microsoft Visual J++ 6.0
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Small Business Server 2003, Premium Edition
  • Microsoft Windows Small Business Server 2003, Standard Edition
  • Microsoft Windows XP 64-Bit Edition Version 2003

SYMPTOMS

On a computer running Windows Server 2003, you use Data Form Wizard to generate a data form for a Visual J++ application. When you try to load the form in Design view, you may receive the following error message:
Unable to show the form designer because the following error has occurred: com.ms.wfc.core.WFCException: Failed remote creation of coclass com/ms/wfc/data/adodb/Connection: java.lang.reflect.InvocationTargetException.
The code view for the form has been shown instead. Fix the error, and then try to view this form again.
This problem occurs only in Design view. However, the form that the Data Form Wizard generated works as expected when you start the application.

WORKAROUND

To work around this problem, add a new form to the project, and then open and close the form in Design view. To do this, follow these steps:
  1. In the Project Explorer, right-click Project, point to Add and then click Add Form.
  2. On the New tab, click Form in the right pane of the dialog box, and then click Open.
  3. Double-click the form to open it in Design view.
  4. In the Designer, close the new form.

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. On a computer running Windows Server 2003, install Visual J++ 6.0.
  2. Install Visual Studio 6.0 Service Pack 5 (SP5).
  3. Start Visual J++ 6.0.
  4. Create a new Windows Application project.
  5. In the Project Explorer, right-click Project, point to Add, and then click Add Form.
  6. On the New tab, click Data Form Wizard in the right pane of the dialog box, and then click Open.
  7. Follow the instructions in the Data Form Wizard.
  8. Double-click the new form to open it in Design view.

REFERENCES

For more information about how to gain access to data in Visual J++, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:10/28/2003
Keywords:kbpending kberrmsg kbwizard KbUIDesign kbWFC kbJava kbIDEProject kbide kbbug KB818443 kbAudDeveloper