This project is read-only.

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

Feb 12, 2011 at 5: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
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?

Feb 12, 2011 at 9:51 AM

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

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