hiteksoftware.com Forum Index hiteksoftware.com
User discussion forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Task with copy UNC does not run

 
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Windows Service
View previous topic :: View next topic  
Author Message
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Wed Mar 07, 2007 12:00 pm    Post subject: Task with copy UNC does not run Reply with quote

Hi guys, I have an problem,
windows NT server 2003 with automize 7.20.

When I reboot the operative system, and startup the system I intend run any task copy with UNC network failure, the log display a message invalid directory, but when I stop and start the engine manual, the task run. I have the NT service instaled with administrator user that is the same in user interface username, I dont understand beacause dont work at reboot the system.

HELP ME GUYS,
thanks

HJALMAR MORENO
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Wed Mar 07, 2007 2:22 pm    Post subject: Reply with quote

are you using UNC format for the folder path?

starting and stopping the engine through user interface makes the engine run in Desktop context.. not NT service context. maybe there is an issue with accessing the folder in service context?

Stop and start the engine using Service Control manager. this ensures that engine is started in service context.
Back to top
View user's profile Send private message
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Thu Mar 08, 2007 4:59 am    Post subject: Reply with quote

Yes Im using UNC format for folder path,

starting and stopping the engine through user interface makes the engine run in Desktop context.. not NT service context. maybe there is an issue with accessing the folder in service context?

When I reboot the system at init.

I starting and stopping the engine through user interface and the task copy run fine, but If I dont restarting the engine of the user interface the task copy dont run.

How I can start and stop the engine of Service control manager ?????
Rember that I have installed automize NT service and running.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Thu Mar 08, 2007 4:30 pm    Post subject: Reply with quote

We received this report before and we tested this but could not reproduce this. After reboot we could use copy tasks to remote UNC drives with NT service and without NT service.

what version of Automize are you using?
Back to top
View user's profile Send private message
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Fri Mar 09, 2007 4:29 am    Post subject: Reply with quote

Robert wrote:
We received this report before and we tested this but could not reproduce this. After reboot we could use copy tasks to remote UNC drives with NT service and without NT service.

what version of Automize are you using?


Running automize 7.20
Back to top
View user's profile Send private message
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Mon Mar 12, 2007 6:25 am    Post subject: Reply with quote

HJALMAR wrote:
Robert wrote:
We received this report before and we tested this but could not reproduce this. After reboot we could use copy tasks to remote UNC drives with NT service and without NT service.

what version of Automize are you using?


Running automize 7.20



Im using an remote UNC PATH, not driver by example \\180.180.1.77\directory
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Mon Mar 12, 2007 8:47 am    Post subject: Reply with quote

Just to confirm your situation: when you use \\180.180.1.77\directory:
Please say YES or NO to each statement below:
1) The task runs always when NOT using NT service, and server is rebooted.
2) with using NT service in automatic mode, the task fails first time when server is rebooted.
3) with using NT service in automatic mode, the task will work second time if engine is restarted from user interface
4) with using NT service in automatic mode, the task will work second time if engine is restarted from service control manager
Back to top
View user's profile Send private message
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Tue Mar 13, 2007 6:52 am    Post subject: Reply with quote

Robert wrote:

Just to confirm your situation: when you use \\180.180.1.77\directory:
Please say YES or NO to each statement below:

1) The task runs always when NOT using NT service, and server is rebooted.
NO
2) with using NT service in automatic mode, the task fails first time when server is rebooted.
YES
3) with using NT service in automatic mode, the task will work second time if engine is restarted from user interface
YES
4) with using NT service in automatic mode, the task will work second time if engine is restarted from service control manager
NO
Back to top
View user's profile Send private message
melvin
Site Admin


Joined: 25 May 2006
Posts: 596
Location: Santa Barbara, california

PostPosted: Wed Mar 14, 2007 9:53 pm    Post subject: Reply with quote

3) the task will work second time if engine is restarted from user interface - YES
Your UNC format is correct since task runs in desktop context.

But task does not run at all in NT Service mode. This is very strange if NT service account is same as normal user logon account.

Are there any restrictions on service previliges in your domain?
Are there any special NT SERVICE accounts that are setup to be used in your domain?
Back to top
View user's profile Send private message Send e-mail
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Thu Mar 15, 2007 11:57 am    Post subject: Reply with quote

[quote="melvin"]3) the task will work second time if engine is restarted from user interface - YES
Your UNC format is correct since task runs in desktop context.

But task does not run at all in NT Service mode. This is very strange if NT service account is same as normal user logon account.

Yes

Are there any restrictions on service previliges in your domain?
No
Are there any special NT SERVICE accounts that are setup to be used in your domain?
no
Back to top
View user's profile Send private message
melvin
Site Admin


Joined: 25 May 2006
Posts: 596
Location: Santa Barbara, california

PostPosted: Sun Mar 18, 2007 9:21 am    Post subject: Reply with quote

Do the following to debug this:
1) Share a test folder on your local system like c:\test
2) create a new test copy task to copy from this shared drives UNC format '\\server_name\test' to any other local folder.

Please say YES or NO to each statement again:
1) The task runs always when NOT using NT service, and server is rebooted.
2) with using NT service in automatic mode, the task fails first time when server is rebooted.
3) with using NT service in automatic mode, the task will work second time if engine is restarted from user interface
4) with using NT service in automatic mode, the task will work second time if engine is restarted from service control manager

This should tell us if this is some inherent Service issue on your local system or some service related permissions issue on the server.
Back to top
View user's profile Send private message Send e-mail
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Mon Mar 19, 2007 5:02 am    Post subject: Reply with quote

Do the following to debug this:
1) Share a test folder on your local system like c:\test
2) create a new test copy task to copy from this shared drives UNC format '\\server_name\test' to any other local folder.

Please say YES or NO to each statement again:
1) The task runs always when NOT using NT service, and server is rebooted.
YES
2) with using NT service in automatic mode, the task fails first time when server is rebooted.
NO
3) with using NT service in automatic mode, the task will work second time if engine is restarted from user interface
YES
4) with using NT service in automatic mode, the task will work second time if engine is restarted from service control manager
YES

This should tell us if this is some inherent Service issue on your local system or some service related permissions issue on the server.
Back to top
View user's profile Send private message
Robert
Site Admin


Joined: 25 May 2006
Posts: 1140

PostPosted: Tue Mar 20, 2007 8:29 am    Post subject: Reply with quote

So to summarize:

1) To local folder - After reboot, the tasks run correctly both in service and non service mode, and without need to restart engine.
2) To remote folder without service - After reboot, the tasks run correctly only after engine is restarted.
3) To remote folder with service - After reboot, the tasks NEVER run correctly even after engine is restarted.

Do the following:

Use NT service
Reboot
Run task to local and remote folders
Restart engine
Run task to local and remote folder

Set NT service to Manual mode (i.e. no service)
Reboot
Run task to local and remote folders
Restart engine
Run task to local and remote folder

Immediately send us your data files using the help menu / email support generator .
Select your 2 tasks to analyze.
Click on the ZIP button.
email us the support.zip file.
Back to top
View user's profile Send private message
HJALMAR



Joined: 07 Mar 2007
Posts: 8

PostPosted: Wed Mar 21, 2007 5:46 am    Post subject: Reply with quote

Robert wrote:
So to summarize:

1) To local folder - After reboot, the tasks run correctly both in service and non service mode, and without need to restart engine.
2) To remote folder without service - After reboot, the tasks run correctly only after engine is restarted.
3) To remote folder with service - After reboot, the tasks NEVER run correctly even after engine is restarted.

Do the following:

Use NT service
Reboot
Run task to local and remote folders
Restart engine
Run task to local and remote folder

Set NT service to Manual mode (i.e. no service)
Reboot
Run task to local and remote folders
Restart engine
Run task to local and remote folder

Immediately send us your data files using the help menu / email support generator .
Select your 2 tasks to analyze.
Click on the ZIP button.
email us the support.zip file.



THANKS GUYS, I resolved the problems
Because that the UNC logged with user transferencia and the user thata defined in the services are administrator, I to changed this for transferencia for init the services automize and the problem was resolved.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hiteksoftware.com Forum Index -> Windows Service All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group