System Event Notification Service (SENS)

L

Leonid

Hi, all
I can't see System Event Notification Service (SENS) in list services
running on my run time image.
This component was included and dependencies were resolved.
The related problem is that sensapi.dll doesn't return IsNetworkAlive in
correct manner.
It always reterns "alive" even the network cable is disconnected.
This small application (that utilizes the sensapi.dll functions) is
correctly running on XP Pro.
On XP Pro box I can see System Event Notification Service (SENS) in the list
of services.
Where is the problem?

Thanks
\Leonid
 
K

KM

Leonid,

I can't tell you why the service is not running on your target. You will probably need to debug this problem.

But exploring the SENS Hotfix Q822426 component I can see the proper service Start value set to Auto start.

So, first question is what version of the SENS component you've got?

I think the Hotfix Q822426 was a part of the SMS Advanced Client componentized for XPe. This QFE:
http://www.microsoft.com/smserver/downloads/2003/adclient.asp
 
L

Leonid

Hi, Konstantin
I don't use SMS client in my run-time build, so Q822426 is not included.
Possible SMS has dependencies on SENS (or vice versa) I don't know.
Currently I'm not planning to include SMS to my build.
What I've found on my run-time image, that registry entry
HKLM\System\CurrentControlSet\Services\SENS is not populated. There are no
subkeys (I mean ...SENS\Enum, Parameters, Security).
I exported those keys from my XP Pro box to XPe box. After reboot my
application is running as expected, because of SENS service is started now.
So there is workaround, but it's not clear solution. One question is about
SENS\Security key, that was cloned from XP Pro box. Is it correct to clone
this key as is?

Regards
\Leonid

KM said:
Leonid,

I can't tell you why the service is not running on your target. You will
probably need to debug this problem.
But exploring the SENS Hotfix Q822426 component I can see the proper
service Start value set to Auto start.
So, first question is what version of the SENS component you've got?

I think the Hotfix Q822426 was a part of the SMS Advanced Client
componentized for XPe. This QFE:
 
K

KM

Leonid,

You misunderstood my reply. I was not suggesting adding SMS client to your runtime.

Instead just install the SMS QFE on your XPe dev machine. This will add SMS client to your database and update SENS component as
well. Then you can use new SENS Hotfix.

The SENS Hotfix component includes all the necessary keys/subkeys you may need. Including the Security one.
 
L

Leonid

OK Konstantin.
Thanks. I'll try it

\Leonid
KM said:
Leonid,

You misunderstood my reply. I was not suggesting adding SMS client to your runtime.

Instead just install the SMS QFE on your XPe dev machine. This will add
SMS client to your database and update SENS component as
well. Then you can use new SENS Hotfix.

The SENS Hotfix component includes all the necessary keys/subkeys you may
need. Including the Security one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top