Hi!
When I try to ask data with ole db and project is running as windows system service, I get error 0x80004005. Programs can connect to wincc oa ole db provider but no data is returned.
I have the same user administrator running the service as the interactive session. Running WinCC OA 3.14 without patches.
What can I do to get data from interactive session via ole db if project is running as a windows service?
Ole db not working when project is running as service
- yosu
- Posts:22
- Joined: Wed Mar 14, 2012 4:14 pm
Ole db not working when project is running as service
- a.decelis
- Posts:30
- Joined: Thu Jun 25, 2015 6:42 pm
Re: Ole db not working when project is running as service
Hi,
0x80004005 is a generic error code for "unknown errors".
In our scenario: the WinCC OA project was running as a Windows Service, and the OLE DB Client could not connect for some reason.
Stopping the project and launching it from the console (interactive process vs non-interactive, service) solved the problem: the client could connnect normally to the OLE DB provider.
Cheers,
Alejandro.
0x80004005 is a generic error code for "unknown errors".
In our scenario: the WinCC OA project was running as a Windows Service, and the OLE DB Client could not connect for some reason.
Stopping the project and launching it from the console (interactive process vs non-interactive, service) solved the problem: the client could connnect normally to the OLE DB provider.
Cheers,
Alejandro.