Re: COM and ASP



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?






.



Relevant Pages

  • Re: COM and ASP
    ... if you had a debug jscript and debug ASP DLLs on your ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ... dim strPersonalName ...
    (microsoft.public.windowsce.embedded)
  • Re: COM and ASP
    ... 0x83d97da8: ASP: ParseInput failed, err = 1009 ... I have been able to set up a debug image, whereat I see the following outputs. ... Microsoft Corporation ... dim strPersonalName ...
    (microsoft.public.windowsce.embedded)
  • HOWTO: Remotely debug classic ASP in Visual Studio 2005
    ... i am still no closer to being able to debug ... ASP not ASP.NET ... Connect to, or expand, the web-server running the web-site is you want ... Check the "Enable ASP server-side script debugging" checkbox. ...
    (microsoft.public.vsnet.debugging)
  • HOWTO: Remotely debug classic ASP in Visual Studio 2005
    ... i am still no closer to being able to debug ... ASP not ASP.NET ... Connect to, or expand, the web-server running the web-site is you want ... Check the "Enable ASP server-side script debugging" checkbox. ...
    (microsoft.public.vsnet.debugging)
  • ASP "stop" command works, but breakpoint does not
    ... I'm using VS.NET 2003 to debug an ASP application locally. ... for ASP debugging under Project Properties--no asp.net debugging. ... Set command = Server.CreateObject ... ' Next statement causes an error, which is why I'm trying to debug. ...
    (microsoft.public.vsnet.debugging)

Loading