Hello,
I have recently downloaded the latest (V1.7.0.0) MCX. When I try to generate an object report I get an error stating "The Given Path's Format Is Not Supported". I have tried different locations for the dump including directories and even drives but to no avail. It seems an issue with this version..........
************** Exception Text **************
System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
at System.Drawing.IntSecurity.DemandWriteFileIO(String fileName)
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at ASToFra.Texture.Writer.GenericWriter.Write(ITextureImage texture, String filename, TextureFormatWrite format, TextureOrigin textureOrigin)
at ASToFra.Object.Renderer.Renderer3DControl.OnGenerateImage(Object obj, Int32 width, Int32 height, String filepath, TextureFormatWrite format, Double rotateStep)
at ASToFra.Object.Processor.GenerateObjectReport.RaiseGenerateImage(ObjectModel obj, String imgFile)
at ASToFra.Object.Processor.GenerateObjectReport.WriteNameAndImage(ObjectModel obj)
at ASToFra.Object.Processor.GenerateObjectReport.WriteObjectReport(ObjectModel obj)
at ASToFra.Object.Processor.GenerateObjectReport.GenerateReport(Scenery scen, String filename, String titlename)
at ASToFra.ModelConverterX.GenerateObjectReportForm.cmdGenerate_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Grateful for any assistance to get this working.
Cheers
Andrew
I have recently downloaded the latest (V1.7.0.0) MCX. When I try to generate an object report I get an error stating "The Given Path's Format Is Not Supported". I have tried different locations for the dump including directories and even drives but to no avail. It seems an issue with this version..........
************** Exception Text **************
System.NotSupportedException: The given path's format is not supported.
at System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
at System.Security.Permissions.FileIOPermission.QuickDemand(FileIOPermissionAccess access, String fullPath, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at System.Drawing.IntSecurity.UnsafeGetFullPath(String fileName)
at System.Drawing.IntSecurity.DemandWriteFileIO(String fileName)
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at ASToFra.Texture.Writer.GenericWriter.Write(ITextureImage texture, String filename, TextureFormatWrite format, TextureOrigin textureOrigin)
at ASToFra.Object.Renderer.Renderer3DControl.OnGenerateImage(Object obj, Int32 width, Int32 height, String filepath, TextureFormatWrite format, Double rotateStep)
at ASToFra.Object.Processor.GenerateObjectReport.RaiseGenerateImage(ObjectModel obj, String imgFile)
at ASToFra.Object.Processor.GenerateObjectReport.WriteNameAndImage(ObjectModel obj)
at ASToFra.Object.Processor.GenerateObjectReport.WriteObjectReport(ObjectModel obj)
at ASToFra.Object.Processor.GenerateObjectReport.GenerateReport(Scenery scen, String filename, String titlename)
at ASToFra.ModelConverterX.GenerateObjectReportForm.cmdGenerate_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Grateful for any assistance to get this working.
Cheers
Andrew

