Hi, I'm a first time poster to this group, hopefully this is the right
place to ask this question.
I have a speech recognition engine that should be executing client side
(in a web browser) after using an activeX control to load data files
from a remote location (i.e my server running IIS).
When the activeX control tries to load files remotely from my server,
it fails with a 406 error. I can manually access the file(s) that fail
to load whenn via my browser...so there is something specific to the
way the ActiveX control is accessing them that is causing the error.
The speech recognizer is not my software; it is a commercial
package...although I am the first consumer of the software (i.e. alpha
version). The deveoper of this software has tested the ActiveX control
on his system which is running Unix and it works properly.
My server is running IIS Version 5.1 on Windows XP Professional with
SP2 and most settings are default. I'm not super experienced with IIS;
any troubleshooting help would be greatly appreciated.
Included below are some of the calls used by the speech recognition
software (not my code) to remotely access files on my server (anything
unusual about these?):
<i>
// Create HTTP request
// verb is NULL, so "GET"
HINTERNET hHttp = HttpOpenRequest(m_hSConnection, NULL,
m_UrlComponents.lpszUrlPath, NULL, NULL, (const char **)mtypes,
dwFlags, 0);
...
// Send HTTP request
BOOL status = HttpSendRequest(hHttp, NULL, 0, NULL, 0);
...
status = InternetReadFile(hHttp, m_DownloadBuf, numToRead, &numRead);
<i>
Thanks!
Jason Schlachter