Microsoft KB Archive/841389

= You may receive an &quot;Unspecified error&quot; 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 =

Article ID: 841389

Article Last Modified on 3/20/2007

-

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 &quot;1/2.&quot; The computer must translate the fraction &quot;1/2&quot; to the words &quot;one half.&quot;



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 &quot;1/2&quot; to the words &quot;one half,&quot; or convert the date &quot;January 1&quot; to the words &quot;January first.&quot;



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

http://msdn2.microsoft.com/en-us/library/ms870122.aspx

Keywords: kbtshoot kberrmsg kbprb kbinfo KB841389

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.