My job No is EPZ/IMP-301/19..
I have to generate barcode using this number.
But Showing me error A generic error occurred in GDI+.
Exception Details: System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+
Dim c = Day(Now()) & Month(Now()) & Year(Now()) & Hour(TimeOfDay) & Minute(TimeOfDay) & Second(TimeOfDay)
Dim myimg As Image = Code128Rendering.MakeBarcodeImage(reader("JobNo").ToString(), 2, True)
myimg.Save(System.AppDomain.CurrentDomain.BaseDirectory() & "Barcodes/barcode_" & reader("JobNo").ToString().Replace("") & c & ".jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
barcode.InnerHtml = "<img src = ""/Barcodes/barcode_" & reader("JobNo").ToString() & c & ".jpg"" style=""width:220px"">"