Hi.

I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with windows ce
web server). I made an application dll with eMbedded Visual Tools (eVc++) in
ATL mode, just to generate one class to be called from asp (one simply
message with a Hello World sentence). It compiles ok, and it takes the
function DllRegisterServer with no problems at all. I register the dll in the
iPaq, and it goes ok, even I know it's already registered when I rebuild the
dll with the device as a target (ARM processor).

The problems comes on trying to make the call to CreateObject from asp,
which I make as follows:

<%
dim pruebaobject
set pruebaobject = server.createobject(prueba.mensaje)

' also made as: set pruebaobject = create(prueba.mensaje) (without the
"server" before.
%>

Pocket Internet Explorer rises the next error:


Parse error in script

Microsoft VBScript runtime error: '800a01b6'

Description: Object doesn't support this property or method:
'Server.CreateObject'

In file: /pruebadll.asp
On line: 3


I due 3 days with this error, looking for some information on the net, but I
still haven't found any help, nor anywhere with a response for that. I'd be
very gratefull if you somebody could help me, or tell me where to find
information respectable.

Thanks in advance.

David

Re: Windows CE Web Server + ASP + DLL by ctacke/>

ctacke/>
Fri Jan 13 06:40:37 CST 2006

Does the ATL object implement IObjectSafety?

-Chris

"David MB" <DavidMB@discussions.microsoft.com> wrote in message
news:9F41EF7F-8733-4A11-B168-B2F800DDF0A8@microsoft.com...
> Hi.
>
> I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with windows
> ce
> web server). I made an application dll with eMbedded Visual Tools (eVc++)
> in
> ATL mode, just to generate one class to be called from asp (one simply
> message with a Hello World sentence). It compiles ok, and it takes the
> function DllRegisterServer with no problems at all. I register the dll in
> the
> iPaq, and it goes ok, even I know it's already registered when I rebuild
> the
> dll with the device as a target (ARM processor).
>
> The problems comes on trying to make the call to CreateObject from asp,
> which I make as follows:
>
> <%
> dim pruebaobject
> set pruebaobject = server.createobject(prueba.mensaje)
>
> ' also made as: set pruebaobject = create(prueba.mensaje) (without the
> "server" before.
> %>
>
> Pocket Internet Explorer rises the next error:
>
>
> Parse error in script
>
> Microsoft VBScript runtime error: '800a01b6'
>
> Description: Object doesn't support this property or method:
> 'Server.CreateObject'
>
> In file: /pruebadll.asp
> On line: 3
>
>
> I due 3 days with this error, looking for some information on the net, but
> I
> still haven't found any help, nor anywhere with a response for that. I'd
> be
> very gratefull if you somebody could help me, or tell me where to find
> information respectable.
>
> Thanks in advance.
>
> David
>



Re: Windows CE Web Server + ASP + DLL by DavidMB

DavidMB
Fri Jan 13 09:08:02 CST 2006

I'm not sure if I understand exactly where you're going to. I mean, I know
this implementation works just for the security of the activex components
trying to run over the Pocket Internet Explorer. But it has nothing with it,
I think. I'll explain myself. What I mean is: the problem is something like a
misundertood between the class and the asp server, so ASP server rises an
error because it can "createobject", trying to instantiate the given class.

Thank you anyway.

David

"<ctacke/>" wrote:

> Does the ATL object implement IObjectSafety?
>
> -Chris
>
> "David MB" <DavidMB@discussions.microsoft.com> wrote in message
> news:9F41EF7F-8733-4A11-B168-B2F800DDF0A8@microsoft.com...
> > Hi.
> >
> > I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with windows
> > ce
> > web server). I made an application dll with eMbedded Visual Tools (eVc++)
> > in
> > ATL mode, just to generate one class to be called from asp (one simply
> > message with a Hello World sentence). It compiles ok, and it takes the
> > function DllRegisterServer with no problems at all. I register the dll in
> > the
> > iPaq, and it goes ok, even I know it's already registered when I rebuild
> > the
> > dll with the device as a target (ARM processor).
> >
> > The problems comes on trying to make the call to CreateObject from asp,
> > which I make as follows:
> >
> > <%
> > dim pruebaobject
> > set pruebaobject = server.createobject(prueba.mensaje)
> >
> > ' also made as: set pruebaobject = create(prueba.mensaje) (without the
> > "server" before.
> > %>
> >
> > Pocket Internet Explorer rises the next error:
> >
> >
> > Parse error in script
> >
> > Microsoft VBScript runtime error: '800a01b6'
> >
> > Description: Object doesn't support this property or method:
> > 'Server.CreateObject'
> >
> > In file: /pruebadll.asp
> > On line: 3
> >
> >
> > I due 3 days with this error, looking for some information on the net, but
> > I
> > still haven't found any help, nor anywhere with a response for that. I'd
> > be
> > very gratefull if you somebody could help me, or tell me where to find
> > information respectable.
> >
> > Thanks in advance.
> >
> > David
> >
>
>
>

Re: Windows CE Web Server + ASP + DLL by John

John
Fri Jan 13 14:16:38 CST 2006

I did my best to answer on microsoft.public.windowsce.embedded.vc. Let's
continue the thread there to avoid fragmentation of the thread. In the
future, it's best to cross-post to groups so that the replies get carried
across the groups too.

Random comment: ASP doesn't care about IObjectSafety stuff. The idea is
that you can't execute ASP scripts on a device unless they are put there by
some sort of admin, and if a bad guy can put files on a device whereevr they
want then they own you already. With IE/PocketIE that's not the case since
you execute JScript in HTML you don't trust from across the web all the
time.

--
John Spaith
Software Design Engineer, Windows CE
Microsoft Corporation

Check out the new 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. © 2003 Microsoft Corporation. All rights
reserved.

"David MB" <DavidMB@discussions.microsoft.com> wrote in message
news:003CA643-BE8A-4B37-B887-6A8DA507CC15@microsoft.com...
> I'm not sure if I understand exactly where you're going to. I mean, I know
> this implementation works just for the security of the activex components
> trying to run over the Pocket Internet Explorer. But it has nothing with
> it,
> I think. I'll explain myself. What I mean is: the problem is something
> like a
> misundertood between the class and the asp server, so ASP server rises an
> error because it can "createobject", trying to instantiate the given
> class.
>
> Thank you anyway.
>
> David
>
> "<ctacke/>" wrote:
>
>> Does the ATL object implement IObjectSafety?
>>
>> -Chris
>>
>> "David MB" <DavidMB@discussions.microsoft.com> wrote in message
>> news:9F41EF7F-8733-4A11-B168-B2F800DDF0A8@microsoft.com...
>> > Hi.
>> >
>> > I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with
>> > windows
>> > ce
>> > web server). I made an application dll with eMbedded Visual Tools
>> > (eVc++)
>> > in
>> > ATL mode, just to generate one class to be called from asp (one simply
>> > message with a Hello World sentence). It compiles ok, and it takes the
>> > function DllRegisterServer with no problems at all. I register the dll
>> > in
>> > the
>> > iPaq, and it goes ok, even I know it's already registered when I
>> > rebuild
>> > the
>> > dll with the device as a target (ARM processor).
>> >
>> > The problems comes on trying to make the call to CreateObject from asp,
>> > which I make as follows:
>> >
>> > <%
>> > dim pruebaobject
>> > set pruebaobject = server.createobject(prueba.mensaje)
>> >
>> > ' also made as: set pruebaobject = create(prueba.mensaje) (without the
>> > "server" before.
>> > %>
>> >
>> > Pocket Internet Explorer rises the next error:
>> >
>> >
>> > Parse error in script
>> >
>> > Microsoft VBScript runtime error: '800a01b6'
>> >
>> > Description: Object doesn't support this property or method:
>> > 'Server.CreateObject'
>> >
>> > In file: /pruebadll.asp
>> > On line: 3
>> >
>> >
>> > I due 3 days with this error, looking for some information on the net,
>> > but
>> > I
>> > still haven't found any help, nor anywhere with a response for that.
>> > I'd
>> > be
>> > very gratefull if you somebody could help me, or tell me where to find
>> > information respectable.
>> >
>> > Thanks in advance.
>> >
>> > David
>> >
>>
>>
>>



Re: Windows CE Web Server + ASP + DLL by DavidMB

DavidMB
Mon Jan 16 02:26:03 CST 2006

Ok. Thank you very much, even it didn't solve my problem. Anyway, I'll go to
that blog and see if there's any post or something that could help me.

Thanks again.

David

"John Spaith [MS]" wrote:

> I did my best to answer on microsoft.public.windowsce.embedded.vc. Let's
> continue the thread there to avoid fragmentation of the thread. In the
> future, it's best to cross-post to groups so that the replies get carried
> across the groups too.
>
> Random comment: ASP doesn't care about IObjectSafety stuff. The idea is
> that you can't execute ASP scripts on a device unless they are put there by
> some sort of admin, and if a bad guy can put files on a device whereevr they
> want then they own you already. With IE/PocketIE that's not the case since
> you execute JScript in HTML you don't trust from across the web all the
> time.
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Check out the new 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. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "David MB" <DavidMB@discussions.microsoft.com> wrote in message
> news:003CA643-BE8A-4B37-B887-6A8DA507CC15@microsoft.com...
> > I'm not sure if I understand exactly where you're going to. I mean, I know
> > this implementation works just for the security of the activex components
> > trying to run over the Pocket Internet Explorer. But it has nothing with
> > it,
> > I think. I'll explain myself. What I mean is: the problem is something
> > like a
> > misundertood between the class and the asp server, so ASP server rises an
> > error because it can "createobject", trying to instantiate the given
> > class.
> >
> > Thank you anyway.
> >
> > David
> >
> > "<ctacke/>" wrote:
> >
> >> Does the ATL object implement IObjectSafety?
> >>
> >> -Chris
> >>
> >> "David MB" <DavidMB@discussions.microsoft.com> wrote in message
> >> news:9F41EF7F-8733-4A11-B168-B2F800DDF0A8@microsoft.com...
> >> > Hi.
> >> >
> >> > I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with
> >> > windows
> >> > ce
> >> > web server). I made an application dll with eMbedded Visual Tools
> >> > (eVc++)
> >> > in
> >> > ATL mode, just to generate one class to be called from asp (one simply
> >> > message with a Hello World sentence). It compiles ok, and it takes the
> >> > function DllRegisterServer with no problems at all. I register the dll
> >> > in
> >> > the
> >> > iPaq, and it goes ok, even I know it's already registered when I
> >> > rebuild
> >> > the
> >> > dll with the device as a target (ARM processor).
> >> >
> >> > The problems comes on trying to make the call to CreateObject from asp,
> >> > which I make as follows:
> >> >
> >> > <%
> >> > dim pruebaobject
> >> > set pruebaobject = server.createobject(prueba.mensaje)
> >> >
> >> > ' also made as: set pruebaobject = create(prueba.mensaje) (without the
> >> > "server" before.
> >> > %>
> >> >
> >> > Pocket Internet Explorer rises the next error:
> >> >
> >> >
> >> > Parse error in script
> >> >
> >> > Microsoft VBScript runtime error: '800a01b6'
> >> >
> >> > Description: Object doesn't support this property or method:
> >> > 'Server.CreateObject'
> >> >
> >> > In file: /pruebadll.asp
> >> > On line: 3
> >> >
> >> >
> >> > I due 3 days with this error, looking for some information on the net,
> >> > but
> >> > I
> >> > still haven't found any help, nor anywhere with a response for that.
> >> > I'd
> >> > be
> >> > very gratefull if you somebody could help me, or tell me where to find
> >> > information respectable.
> >> >
> >> > Thanks in advance.
> >> >
> >> > David
> >> >
> >>
> >>
> >>
>
>
>

Re: Windows CE Web Server + ASP + DLL by DavidMB

DavidMB
Mon Jan 16 02:28:02 CST 2006

Ok. Thank you very much, even it didn't solve my problem. Anyway, I'll go to
see if I find something interesting in that blog.

David

"John Spaith [MS]" wrote:

> I did my best to answer on microsoft.public.windowsce.embedded.vc. Let's
> continue the thread there to avoid fragmentation of the thread. In the
> future, it's best to cross-post to groups so that the replies get carried
> across the groups too.
>
> Random comment: ASP doesn't care about IObjectSafety stuff. The idea is
> that you can't execute ASP scripts on a device unless they are put there by
> some sort of admin, and if a bad guy can put files on a device whereevr they
> want then they own you already. With IE/PocketIE that's not the case since
> you execute JScript in HTML you don't trust from across the web all the
> time.
>
> --
> John Spaith
> Software Design Engineer, Windows CE
> Microsoft Corporation
>
> Check out the new 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. © 2003 Microsoft Corporation. All rights
> reserved.
>
> "David MB" <DavidMB@discussions.microsoft.com> wrote in message
> news:003CA643-BE8A-4B37-B887-6A8DA507CC15@microsoft.com...
> > I'm not sure if I understand exactly where you're going to. I mean, I know
> > this implementation works just for the security of the activex components
> > trying to run over the Pocket Internet Explorer. But it has nothing with
> > it,
> > I think. I'll explain myself. What I mean is: the problem is something
> > like a
> > misundertood between the class and the asp server, so ASP server rises an
> > error because it can "createobject", trying to instantiate the given
> > class.
> >
> > Thank you anyway.
> >
> > David
> >
> > "<ctacke/>" wrote:
> >
> >> Does the ATL object implement IObjectSafety?
> >>
> >> -Chris
> >>
> >> "David MB" <DavidMB@discussions.microsoft.com> wrote in message
> >> news:9F41EF7F-8733-4A11-B168-B2F800DDF0A8@microsoft.com...
> >> > Hi.
> >> >
> >> > I got a hp h6340, with pocket pc 2003 and sql ce dashboard (with
> >> > windows
> >> > ce
> >> > web server). I made an application dll with eMbedded Visual Tools
> >> > (eVc++)
> >> > in
> >> > ATL mode, just to generate one class to be called from asp (one simply
> >> > message with a Hello World sentence). It compiles ok, and it takes the
> >> > function DllRegisterServer with no problems at all. I register the dll
> >> > in
> >> > the
> >> > iPaq, and it goes ok, even I know it's already registered when I
> >> > rebuild
> >> > the
> >> > dll with the device as a target (ARM processor).
> >> >
> >> > The problems comes on trying to make the call to CreateObject from asp,
> >> > which I make as follows:
> >> >
> >> > <%
> >> > dim pruebaobject
> >> > set pruebaobject = server.createobject(prueba.mensaje)
> >> >
> >> > ' also made as: set pruebaobject = create(prueba.mensaje) (without the
> >> > "server" before.
> >> > %>
> >> >
> >> > Pocket Internet Explorer rises the next error:
> >> >
> >> >
> >> > Parse error in script
> >> >
> >> > Microsoft VBScript runtime error: '800a01b6'
> >> >
> >> > Description: Object doesn't support this property or method:
> >> > 'Server.CreateObject'
> >> >
> >> > In file: /pruebadll.asp
> >> > On line: 3
> >> >
> >> >
> >> > I due 3 days with this error, looking for some information on the net,
> >> > but
> >> > I
> >> > still haven't found any help, nor anywhere with a response for that.
> >> > I'd
> >> > be
> >> > very gratefull if you somebody could help me, or tell me where to find
> >> > information respectable.
> >> >
> >> > Thanks in advance.
> >> >
> >> > David
> >> >
> >>
> >>
> >>
>
>
>