Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-20-2004, 03:03 AM
matt.fyr matt.fyr is online now
Registered User
 
Join Date: 09-20-2004
Location: Denmark
Posts: 3
Question Scheduled Build not work ??

Hi,

I'm using VBP 5.5 which I upgrade from v4.7 few months ago, this is my first time that I try to use Scheduled task to run VBP project.

I followed the guide on the help both automatic and manual setup, my problem is as follows:

- There is no different when I run VisBuildPro.exe and VisBuildCmd.exe, there's no GUI showing for the first one wheh a schedule starts...?

- A more serious problem, when the build finish (which I can detect from the log file generated), the process is just hanging there without return any code, no matter that the build has any fails or not! I check windows scheduler log c:\WINNT\SchedLgU.Txt, it just said the task was started but no result is return (and the process is keep running)

So the next schedule time cannot start at all, until I goto stop the task the keep running first !

Did I miss anything? I run on Windows 2000 Server with all SPs, and have VS .Net 2003/ VSS6 installed as well.

I'm sure it's not windoes scheduler problem, since I try to run a small .bat file, it works correctly. And even though I try to start VBP project with this .bat file, the process is also still hanging.

I don't know if I miss any setting in VBP project to return the result code or not?

Thanks.

//matt
Reply With Quote
  #2  
Old 09-20-2004, 07:56 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
One other user reported a similar problem on Windows 2000 Server [1]. Since that is the only environment where this problem has been reported (for the other user, the same scheduled task worked properly on another machine [not sure which Windows version]), I suspect there is in fact a bug in Scheduled Tasks on W2K Server (it could also be a bug in VBP that only manifests on that platform, but there have been many known bugs in Scheduled Tasks, so I'm leaning more that way). The thread below provides some alternatives, and we'll do some testing on W2K Server to rule out a VBP bug being the cause.

[1] http://www.kinook.com/Forum/showthread.php?threadid=548
Reply With Quote
  #3  
Old 09-21-2004, 06:24 AM
matt.fyr matt.fyr is online now
Registered User
 
Join Date: 09-20-2004
Location: Denmark
Posts: 3
hi,
i think it's a integrated problem with VBP with Windows 2k server scheduler service, as I mentioned the normal .bat script file can be runned with scheduler without a problem.

Can you help me test and find a work around as soon as you can?
Right now I have to build stuffs manually or have to goto stop the schedule task each time I want the build job to run at night...

I have explored the link you gave, I have to use AT which gave the same problem, the last alternative to use 3rd party software I haven't tried that yet...

Thanks
Reply With Quote
  #4  
Old 09-21-2004, 04:26 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Enable file logging and post (or send to support@kinook.com) the log file for the build that is hanging. Also, does VBP log anything to the Application section of the Windows Event Viewer during the scheduled build?
Reply With Quote
  #5  
Old 09-23-2004, 04:06 AM
matt.fyr matt.fyr is online now
Registered User
 
Join Date: 09-20-2004
Location: Denmark
Posts: 3
Hi,
Sorry to take a few days before I can reproduce a log file,
I attach the zip file that contains, VBP log, Windows Scheduler log and screen dump of the Windows Scheduler after the VBP project is finished as you can see it always indicate that the job is still running and keep saying this forever so next build cannot start until I stop the task manually.

In the windows log, SchedLgU.txt, it said when the task started but no result ever return from VBP job.

My enrivonment runs on VSS6 sp6, VS .Net 2003, Windows 2000 advance server, InstallShield X.

Please let me know if you can test or reproduce such this scenario.

Thanks in advance
Attached Files
File Type: zip buildlog.zip (64.6 KB, 1556 views)
Reply With Quote
  #6  
Old 09-23-2004, 01:44 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
We have not been able to reproduce this behavior. Since the build is actually finishing, what you could do is add a couple steps at the end of the build to terminate the VBP process after completion (sample attached).
Attached Files
File Type: bld kill.bld (1.2 KB, 1511 views)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:55 PM.


Copyright © 1999-2023 Kinook Software, Inc.