none
Drag & Drop crash when use PDF files

    Question

  • Hi.

    I have application, it use Microsoft Silverlight and IE, the problem is when drag & Drop any PDF file it crashed, but with other files it running good, the MSG is:

    System.ArgumentOutOfRangeException:[Arg_ArgumentOutOfRangeException]
    http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50907.00&File=mscorlib.dll&Key=Arg_ArgumentOutOfRangeException 
    Parameter Name: pixellHeight
    at System.Windows.Media.Imaging.WriteableBitmap..ctor(Int32 pixelWidth,Int32 pixelHeight)
    at Drag_and_Drop_File_Upload.MainPage.RenderPhoto(Stream stream, String FileName)

    Will you have any comments that help me?

    Regards.


    Tuesday, February 13, 2018 8:07 PM

All replies