Unhandled Exception: System.IO.IOException: Failed to write entire string

Feb 12, 2011 at 4:56 AM

D:\Dev\DiscUtil>ISOCreate -vl "Visual Studio 2008 Team Suite" VS2008.iso "D:\IMP\Setup\Visual Studio\2008\VS2008TeamSuite"
ISOCreate v0.9.0, available from http://discutils.codeplex.com
Copyright (c) Kenneth Bell, 2008-2010
Free software issued under the MIT License, see LICENSE.TXT for details.


Unhandled Exception: System.IO.IOException: Failed to write entire string
   at DiscUtils.Iso9660.IsoUtilities.WriteString(Byte[] buffer, Int32 offset, Int32 numBytes, Boolean pad, String str, Encoding enc)
   at DiscUtils.Iso9660.SupplementaryVolumeDescriptor.WriteTo(Byte[] buffer, Int32 offset)
   at DiscUtils.Iso9660.SupplementaryVolumeDescriptorRegion.GetBlockData()
   at DiscUtils.Iso9660.VolumeDescriptorDiskRegion.PrepareForRead()
   at DiscUtils.BuiltStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at DiscUtils.StreamBuilder.Build(Stream output)
   at DiscUtils.StreamBuilder.Build(String outputFile)
   at ISOCreate.Program.DoRun()
   at DiscUtils.Common.ProgramBase.Run(String[] args)
   at ISOCreate.Program.Main(String[] args)

Any idea what I'm doing wrong?

Coordinator
Feb 12, 2011 at 8:51 AM

The Volume Label looks to be too long.  DiscUtils should be fixed to return a more meaningful error.

Coordinator
Feb 12, 2011 at 8:51 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.