Yesterday I was cleaning up the notes I have accumulated in Outlook and I thought that they might make for an interesting blog post.
Every time I come across an interesting piece of code or an explanation of how to do something I cut and paste it to an Outlook note. I may not need the information in the note now but down the road when I need to know how to do “X” I just have to look in my notes for “X” rather than searching the Internet or blogs. I just hate it when I encounter an issue and remember that I have read about it somewhere but can’t find it. This way I have one place to look.
I’ve got a lot of these notes (and emails) saved for MSS 2007 and I can’t wait until I can start blogging about it.
Here are some of the notes in no particular order, some with no explanation and all with no guarantee. I’ve credited the original author in some cases but in other cases I either don’t remember who the author is or never knew the author. My hope is that if a note doesn’t fit your need that it will at least get you thinking in the right direction.
For Dialog Speech Controls,
SALT events are the trigger that lead to adding
elements to the History array. Here’s a list of SALT events and what they
add to the History.
– if the recognized SML matches a Command, the command type is added to
– if the recognized SML matches an answer, an empty string is added.
– if no command or answer is matched, or if the confidence does not meet
the confidence thresholds, “NoReco” is added.
– “NoReco” is added.
– adds “Silence”
– if “FirstInitialTimeout” is defined – in other words, if this is a
ShortTimeoutConfirmation – “ShortTimeoutConfirmation” is added.
– otherwise, “Silence” is added.
– if the prompt is part of a QA, “PromptError” is added
– for other prompts, including Validator and Command prompts, nothing is
– adds “RecoError”
– adds “DtmfError”
Application Controls use History slightly differently, but I will have to
get back to you on those details.
– Tom Faber [MS]
I can’t see the error message you posted, but my guess would be “The request
failed with HTTP status 401: Unauthorized. (System.Net.WebException)”, is
that the case?
If so, please try this:
1.) Open IIS Manager
2.) Right click on Default Web Site -> Properties
3.) Click on Directory Security tab
4.) Click on the Edit button for the Authentication and access control,
uncheck “Enable anonymous access” and click okay, then Apply
5.) Click on the Edit button for the Authentication and access control,
recheck “Enable anonymous access” and click okay, then Apply, then ok
6.) Try access to Lobby.asmx page again
Ricky Lam [MS]
Get the spoken text
Does anyone know if there is a way to get the full spoken response (the text
attribute) from the <SML> tag on the client side? For example if I have the
following SML, I want to get at “send it.” I need to do this client side in
JScript. SMLNode only gets at the attributes from (in this case) <WhatToDo>.
<SML confidence=”1.000″ text=”send it” utteranceConfidence=”1.000″>
var smlResult = event.srcElement.recoresult;
var txtResult = smlResult.attributes.getNamedItem(“text”).value;
Do you have any hints or code examples like these laying around? If so, I would like to hear from you – maybe we can start a forum thread for tips and tricks.
As always I would like to hear your comments.