PRB: Unspecified Error When You Add an HTML Template to a WebClass (246490)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0
  • Microsoft Visual Basic Enterprise Edition for Windows 6.0

This article was previously published under Q246490

SYMPTOMS

When adding an HTML template to a WebClass, Visual Basic may display the following error message in a WebClass Designer dialog box:
An unspecified error has occurred

CAUSE

The Triedit.dll, which is located by default in the C:\Program Files\Common Files\Microsoft Shared\Triedit folder or its dependent dynamic-link libraries (DLLs), may not be registered correctly.

RESOLUTION

Unregister and reregister the Triedit.dll by entering the following command in the Run box, accessed from the Start button, or within the Command Prompt:
   regsvr32 /u "c:\program files\common files\microsoft shared\triedit\triedit.dll"
   regsvr32 "c:\program files\common files\microsoft shared\triedit\triedit.dll"
				
You should be able to add an HTML template to your WebClass. If this does not work, the error may not be the Triedit.dll, but its dependent DLLs. You may have to update Internet Explorer to the latest version. Or, do an uninstall and reinstall of Internet Explorer.

STATUS

This behavior is by design.

MORE INFORMATION

The Triedit.dll is installed with Visual Studio, Office, and Internet Explorer. When an HTML template is added to a WebClass, the Triedit.dll is used to parse the HTML template to search for tags that could trigger server events.

REFERENCES

For additional information and technical articles on using WebClasses, see the following page at the Visual Basic site: For the latest Knowledge Base articles and other support information on Visual Basic, see the following page on the Microsoft Technical Support site:

Modification Type:MajorLast Reviewed:5/10/2003
Keywords:kbprb kbWebClasses KB246490