When trying export resources to a Barcode handheld, the following error may appear:
The following error is logged to the Altiris server logs:
Module: AltirisNativeHelper.dll Source: Altiris.Barcode.Web.DataHandler.GetResourceTypeFolderForResourceTypes Description: Exception thrown in GetResourceTypeFolderForResourceTypes. ( Unhandled exception. Type=System.Data.SqlClient.SqlException Msg=Conversion failed when converting from a character string to uniqueidentifier. Src=.Net SqlClient Data Provider StackTrace= at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteReader() at Altiris.Barcode.Web.DataHandler.GetResourceTypeFolderForResourceTypes(Guid resTypeGuids) )
This can be caused if more than 111 Resource Type GUIDs are being processed in the export.
The Resource Type GUIDs are passed to the procedure spGetResourceTypeFolder which has an input parameter defined as @resTypeGuids nvarchar(4000), which causes this error to be thrown under these conditions.
Back up the spGetResourceTypeFolder stored procedure.
Alter the procedure, changing the @resTypeGuids nvarchar(4000) input parameter to @resTypeGuids ntext.
Applies To Barcode 6.6 SP2
This is machine translated content
Login to Subscribe
Please login to set up your subscription.
Didn't find the article you were looking for? Try these resources.