Re: COM and ASP
- From: Marc <Marc@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Nov 2006 02:17:02 -0800
Hi again
To complete my last answer, I will list all debug outputs thrown at my
erronous code spot. Maybe there are others interesting messages:
0x83e59ca0: SECUR32: Locating package 'NTLM' ...0x83e59ca0: found
(0x00044840).
0x83d97da8: SECUR32: Locating package 'NTLM' ...0x83d97da8: found
(0x00044840).
0x83d97da8: ASP: ParseInput failed, err = 1009
0x83e81640: !RdrUIThread: SH_WMGR not found
0x83e59ca0: ASP: ParseInput failed, err = 1009
0x83e39400: SECUR32: Locating package 'NTLM' ...0x83e39400: found
(0x00044840).
0x83e39400: Console NOT redirected for process 0x42
0x83e59ca0: SECUR32: Locating package 'NTLM' ...0x83e59ca0: found
(0x00044840).
Marc
"Marc" wrote:
Hi John.
I have been able to set up a debug image, whereat I see the following outputs.
One which more or less floods the output window:
0x83ee9400: !ERROR: Calling EnterCriticalSection on a CS (00039128) that is
not initialized!
0x83ee9400: Coredll: DEBUGCHK failed in file
c:\macallan\private\winceos\coreos\core\dll\cscode.c at line 87
0x83ee9400: DEBUG_BREAK @03f5d7b4 MD=1f Ignored.
and a few, which could be more specific to my ASP problem:
0x83e59ca0: ASP: ParseInput failed, err = 1009
For both messages I cannot find the source code location.
In addition I tried to look into with the kernel tracker.
My observation are not quite detailed, but after writing a file with my COM
Interface function, I get "Page Faults" in another thread of the web server.
I hope one of the infos help to step further.
Regards,
Marc
"John Spaith [MS]" wrote:
FYI, I've followed up with our jscript/vbscript dev and the 800a01ad is
simply "Can't create ActiveX Object", as the string implies, but we can't
get any additional information from just the err code as to the specific
problem. However, if you had a debug jscript and debug ASP DLLs on your
device you may be able to get them to spit out more interesting information
in the DEBUGOUT.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OElLTQV8GHA.2092@xxxxxxxxxxxxxxxxxxxxxxx
Hmm - I'm not familiar with either of these issues. I'm asking another
dev to help on the VBscript return code. In the interim, in the case
where the system hangs could you get us the call stacks of the running
threads inside services.exe to try and track down a bit? If it turns out
the hang is on account of an EnterCriticalSection() call, if you could
look at the CRITICAL_SECTION data structure (assuming you have a DEBUG CE
build handy & this is convenient) and get its info and in particular the
thread that owns the crit sect that would be helpful, though as I said
parethitically if this is too much work I don't think it's absolutely
required at this stage of the inv.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no
rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"Marc" <Marc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2B32D5A2-38EE-452A-B206-C63D1DE0591F@xxxxxxxxxxxxxxxx
Hi
I developed a COM dll for an ARM XScale WinCE 5.0 platform. The object
will
be used by ASP via CreateObject.
<%
Set objLog = CreateObject("WebInterface.ReadWrite")
If IsNull(objLog) Then
%>
<!--p class="error">Couldn't create object
"WebInterface.ReadWrite"!</p-->
<%
End If
dim ra
ra = Request.Form("RequestAdd")
If ra <> "" Then
'Formular send, read values
dim strPersonalName
dim strDateInput
dim strActionInput
strPersonalName = Request.Form("personalName")
strDateInput = Request.Form("dateInput")
strActionInput = Request.Form("actionInput")
if strPersonalName <> "" And strActionInput <> "" And strDateInput <> ""
Then
writeFileContent=objLog.writeOpenFile("\flash\web\log.txt",
strPersonalName, strActionInput, strDateInput, "2")
else
%>
<p class="error">You didn't specify all necessary information!</p>
<%
end if
End If
Set objLog = Nothing
%>
Two problems arises:
1. if I call objLog.writeOpenFile a second time after finishing the first
succesful entry the call hangs.
Bebugmessages within the interface function won't be called, so hat I'm
quite sure the interface funtion won't be entered.
2. after leaving the asp side open on the remote system for some minutes
and
then try to update the asp page, the function CreateObject returns an
error
Microsoft VBScript runtime error: '800a01ad'
Description: ActiveX component can't create object:
'WebInterface.ReadWrite'
Does anybody could give a hint, where the reason for these problems could
be
located?
- Follow-Ups:
- Re: COM and ASP
- From: John Spaith [MS]
- Re: COM and ASP
- References:
- Re: COM and ASP
- From: Marc
- Re: COM and ASP
- Prev by Date: Re: COM and ASP
- Next by Date: .wav file in explorer
- Previous by thread: Re: COM and ASP
- Next by thread: Re: COM and ASP
- Index(es):
Relevant Pages
|