DUA RunOnStart option.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I enable variable "RunOnStart", it should be poll when XPe bootup,but it
sometimes dosen't.
What is the root cause about this issue and how to solve it?

Regards,
Davy
 
I check component services event log and I found a error message as below.

DUAgent Service - Error Executing Command CHTTPImpl.Get. (Error:12029).

I find the error id in website
http://msdn2.microsoft.com/en-us/library/aa383770.aspx as below.

ERROR_WINHTTP_CANNOT_CONNECT
12029
Returned if connection to the server failed.

It seem to connect failed, but I can connect the DUA server by IE.

Would you please tell me the reason why I can connect the DUA server by IE
but DUA cann't ?

Thank you.

Regards,
Davy
 
Davy,

By "connecting the DUA server by IE" I suppose you mean you can navigate IE instance to the same Url you set in the DUA settings,
right?

Are you sure you are setting the right port and protocol in the DUA config settings? Check out the reg.entries Hostport and Protocol
under [HKLM\SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Con-fig] key at run time.
 
KM said:
Davy,

By "connecting the DUA server by IE" I suppose you mean you can navigate IE instance to the same Url you set in the DUA settings,
right?
Yes!


Are you sure you are setting the right port and protocol in the DUA config settings? Check out the reg.entries Hostport and Protocol
under [HKLM\SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Con-fig] key at run time.

My setting is shown below.

[Config]
PollInterval 0
PollJitter 0
RunOnStart 1
WorkingDir c:\dua\working

[Config\Sessions\0000]
AutoLogonLevel 1
CmdFile s102.dup
HostName 192.168.0.3
HostPort 80
Protocol 0
ProxyAccessType 0
Type 1

It sometimes work normally, so i think my setting is currect,right?
 
Davy,

Your settings look fine. Well, I suppose it could be a timing issue then. It may appear that on your image the network stack doesn't
get time to load and initialize when the DUA service is started. Since such behavior is network dependent (e.g., DHCP server is not
responding consistently) you are seeing the inconsistent behavior where it works some times and other times not.

You can investigate it more with performance counter and BootVis tool from Microsoft.
Also, switch to static IP environment, if you happened to use DHCP, and see if that resolves the issue.

If the above is the case, you can try the following workarounds:
- Delay DUA service until the network up and running. Good way to accomplish this would be setting the DUA service start status
to manual or dependent on your own automatically started service. On start your own service would ping the network (check if network
is fully functioning and a valid IP is received) and if the network is ok it starts the DUA service. As a simple test, make this
service to wait just for a few seconds and then return success. Then, if the issue is no longer seen, you are definitely on the
right track.

- Set the DUA service start state to manual and launch something like "net start DUA" as a Startup batch script or Run option of
Explorer shell. This would basically delay the DUA service start. You can add a wait to the batch script if required.

--
=========
Regards,
KM
KM said:
Davy,

By "connecting the DUA server by IE" I suppose you mean you can navigate IE instance to the same Url you set in the DUA settings,
right?
Yes!


Are you sure you are setting the right port and protocol in the DUA config settings? Check out the reg.entries Hostport and
Protocol
under [HKLM\SYSTEM\CurrentControlSet\Services\DUAgent\Parameters\Con-fig] key at run time.

My setting is shown below.

[Config]
PollInterval 0
PollJitter 0
RunOnStart 1
WorkingDir c:\dua\working

[Config\Sessions\0000]
AutoLogonLevel 1
CmdFile s102.dup
HostName 192.168.0.3
HostPort 80
Protocol 0
ProxyAccessType 0
Type 1

It sometimes work normally, so i think my setting is currect,right?
 
Back
Top