You may receive an "Unspecified error" error message when you load more than 4,094 item elements that need normalization into a grammar element in the Speech Application SDK 1.0 (841389)



The information in this article applies to:

  • Microsoft Speech Application SDK 1.0

SYMPTOMS

When you use Grammar XML in the Microsoft Speech Application SDK 1.0, and you load more than 4,094 item elements that need normalization into a grammar element, you may receive the following error message:
System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
Note An example of an item element that needs normalization is the fraction "1/2." The computer must translate the fraction "1/2" to the words "one half."

CAUSE

This problem occurs because there is a limit of 4,094 item elements that need normalization for each grammar element.

WORKAROUND

To work around this problem, you may be able to normalize the item elements before you load them as XML. For example, convert the fraction "1/2" to the words "one half," or convert the date "January 1" to the words "January first."

MORE INFORMATION

For more information about the Microsoft Speech Application SDK grammar element, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:6/1/2005
Keywords:kbtshoot kberrmsg kbprb kbinfo KB841389 kbAudDeveloper kbAudITPRO