Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-13-2006, 07:52 PM
esher esher is online now
Registered User
 
Join Date: 11-13-2006
Posts: 1
Scheduled task fails with "Class not registered" error

I can start up VBP 6.2a manually with no problem. When I start it from a scheduled task with the command line

"C:\Program Files\VisBuildPro6\VisBuildPro.exe" /b C:\nightlybuild\surfcam-svn.bld

it starts up the GUI, but also pops up a dialog box saying

Initialization of Visual Build Pro builder component failed: Class not registered

I can click ok on this box and manually make a build, but it makes the nightly build job hang. The weird thing is that this machine has been making builds successfully for over a month with no problem. This just started happening last Wednesday for no apparent reason. Uninstalling and reinstalling VBP had no effect, as well as getting the latest MS Windows XP updates.

Here's the information from Help->About. Any ideas?

Visual Build Professional 6.2a
Registered to: Surfware, Inc (1-computer license)
Windows Version: 5.1.2600.2.0
Install path: C:\Program Files\VisBuildPro6
SftTree_IX86_U_50.dll version 5.05
unins000.exe version 51.42.0.0
VisBuildCmd.exe version 6.2.1.1
VisBuildPro.exe version 6.2.1.1
VisBuildBld.dll version 6.2.1.1
VisBuildBurn.dll version 6.2.1.1
VisBuildCore.dll version 6.2.1.1
VisBuildDotNET.dll version 6.2.1.1
VisBuildExt.dll version 6.2.1.1
VisBuildLog.dll version 6.2.1.1
VisBuildMisc.dll version 6.2.1.2
VisBuildMS.dll version 6.2.1.1
VisBuildMS2.dll version 6.2.1.1
VisBuildNet.dll version 6.2.1.1
VisBuildSvr.dll version 6.2.1.1
VisBuildSvr.Interop.dll version 1.0.0.0
Reply With Quote
  #2  
Old 11-13-2006, 10:02 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Not really. VBP is calling CoCreateInstance [1] for CLSID {28DED69C-A541-465C-AA2A-78321E797E83}, which is returning an error code of REGDB_E_CLASSNOTREG. One possibility is that some registry values are corrupt, but the same values would be read when run from a scheduled task or not, so I'm not sure why it would only fail from a scheduled task. But it sounds like something a little flaky on that box. Can you try another machine to see if it's specific to that one, or rebuilding the box?

[1] http://msdn.microsoft.com/library/de...cee16afdec.asp
Reply With Quote
  #3  
Old 02-16-2007, 02:28 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Another user encountering this problem indicated that it was resolved by putting the VisBuildPro.exe call into a .cmd file and scheduling the .cmd file instead.
Reply With Quote
Reply


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 10:52 PM.


Copyright © 1999-2023 Kinook Software, Inc.