Hello,
I want to exchange data between pocket pc and desktop pc via USB. This works ok but now I want to integrate it into a windows service. When i try to connect to the ppc in the Windows Service I get the message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
I found a lot of things on google but nothing changed ...

Exchange data trough USB
MarkNyats
It worked as a desktop application, now i want it to run as service so I converted it into a service.
Now the terminal can't connect with the desktop. Active sync is running OK, but on RAPI.connect i get an error message: Access is denied,. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) while the aspnet user is added with full control
e.henriquez
right, but you said you went from an app to a service, right when you install the service, is the correct user, and pwd, used in the "Log On" tab of the service Either a logged-in user, or the system account, typically ...
Dean2650
dbcuser
Joshizzle
stupid forum ate my reply.
1. aspnet != nt system, keep in mind
2. you said you gave aspnet full control -- over what
3. try setting the service to the user under which you successfully connected as an app, just to debug that variable in the context of a service.
Looper_Kwok
what user context is the service running under
T Pedersen
As app my user is administrator when I change this, nothing happens when the service start, nog eventlog warnings while i placed them
I gave aspnet full control over my computer (com security from component services)