Video Screencast Help

Cannot image a PC - failing constantly

Created: 05 Nov 2013 • Updated: 06 Nov 2013 | 1 comment

Hi everyone,

I have setup a task which is

> prepare for image caputre

> capture image

> reboot to PXE

The prepare for image capture completes successfully, but the capture image task fails giving return code 0. The computer is running Win 7 32bit and I have tried capturing it as .IMG and .GHO but both fail almost installing. I have pasted the log from the Altiris Log Viewer. If anyone can shed some light onto why this is happening I'd greatly appreciate it. There are a few logs so I have posted all the ones that say FAILED. 

Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name:ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 4
Date: 6/11/2013 11:06:09 AM
Tick Count: 587054148
Host Name: ALTIRISSMP
Process: AtrsHost (1632)
Thread ID: 70
Module: AtrsHost.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: Task instance ecf336d2-33af-4698-804d-62f8722c8470 is done (failed) with return value: 0
 
Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
Priority: 2
Date: 6/11/2013 11:04:25 AM
Tick Count: 586950282
Host Name: ALTIRISSMP
Process: AeXSvc (1276)
Thread ID: 10
Module: AeXSVC.exe
Source: Altiris.NS.StandardItems.Collection.NSDataSrcBasedResourceCollection.DeltaUpdateMembership
Description: Unexpected exception has occurred during the execution of the SQL for delta collection update for 'UNIX/Linux/Mac Computers Requiring Inventory Plug-in Upgrade (e50b60e7-a0a7-4e49-b338-b83896d6bb32)'. Full update is run instead.
**CEDUrlStart** :http://entced.symantec.com/entt?product=SMP&version=7.1.8400.0&language=en&module=b9RbreYix02ln06boPs4ip15Rea15BgcsmAJmNYCD2VEzxO/3Rb6Z+ivMh/KXJfzGfvSZnAseEpP8k/dqRm8Cw==&error=1273128720&build=**CEDUrlEnd**
 
 
( Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'INSERT'.
Incorrect syntax near the keyword 'SET'.
Incorrect syntax near ')'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteScalar()
   at Altiris.NS.StandardItems.Collection.NSDataSrcBasedResourceCollection.DeltaUpdateMembership() )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.StandardItems.Collection.NSDataSrcBasedResourceCollection.DeltaUpdateMembership()
   at Altiris.NS.StandardItems.Collection.NSDataSrcBasedResourceCollection.UpdateMembershipCore(ICollectionUpdateMessage updateMessage)
   at Altiris.NS.StandardItems.Collection.NSResourceCollectionBase.<>c__DisplayClass4.<UpdateMembership>b__0(IDatabaseContext ctx)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
   at Altiris.NS.ContextManagement.DatabaseContext.PerformWithDeadlockRetry(Int32 retries, Action`1 action, Action`1 retry)
   at Altiris.NS.StandardItems.Collection.NSResourceCollectionBase.UpdateMembership(ICollectionUpdateMessage updateMessage)
   at Altiris.NS.StandardItems.Collection.DeltaCollectionUpdateSchedule.DeltaUpdateCollections(GuidCollection collectionGuids, DateTime lastRunTime)
   at Altiris.NS.StandardItems.Collection.DeltaCollectionUpdateSchedule.OnSchedule_Impl()
   at Altiris.NS.StandardItems.Collection.DeltaCollectionUpdateSchedule.OnSchedule(String identifier)
   at Altiris.NS.StandardItems.ContainerUpdateSchedule.<>c__DisplayClass2.<RunFilterDeltaUpdate>b__0(IDatabaseContext ctx)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action)
   at Altiris.NS.ContextManagement.DatabaseContext.PerformWithDeadlockRetry(Int32 retries, Action`1 action)
   at Altiris.NS.StandardItems.ContainerUpdateSchedule.RunFilterDeltaUpdate(String identifier)
   at Altiris.NS.StandardItems.ContainerUpdateSchedule.RunDeltaUpdate(String identifier)
   at Altiris.NS.StandardItems.ContainerUpdateSchedule.OnSchedule(String identifier)
   at Altiris.NS.Scheduling.ScheduleService.ProcessSchedule(String scheduleId)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
   at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
   at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
   at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
   at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.MetadataServices.SdlChannelSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
   at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
   at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
   at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
 )
( Extra Details:  Type=System.Data.SqlClient.SqlException Src=.Net SqlClient Data Provider )
 
 
 
 
 
 
 
 
 
 

 

Operating Systems:

Comments 1 CommentJump to latest comment

SK's picture

You will need to reboot to PXE in order to run the create image task.  Once that has completed, you will reboot to production unless you have any other tasks that need to be run within the PE.

Connect Etiquette: "Mark as Solution" those posts which resolve your problem, and give a thumbs up to useful comments, articles and downloads.