Debug close itself with Edge and FileUpload

Dec 10 2020 9:35 AM
Hi,
 
In advance, sorry if my english isn't right, i'll try my best to explain myself.
I'm working with VS 17 Pro on Win10 Pro with an ASPX page using a fileupload :
  1. <asp:FileUpload ID="fupl1" runat="server" />  
My problem is : When i'm trying to get a file, the debug in VS is closing itself without warning and the current page in Edge is still waiting for an action. The file i'm using for my test is a text file named "Test_File.txt" with a single sentece insinde : "This is a test"
funfact : I don't even need to take a file, just opening the explorer and closing it stop the debug.
I tried to ad a script manager and to use a update panel with button to trigger it, but the same issue is found at the end.
  1. <asp:ScriptManager ID="ScriptManager1" runat="server" />  
  2.    <asp:UpdatePanel ID="upd1" runat="server">  
  3.    <ContentTemplate>  
  4.       <asp:Button ID="btn1" runat="server" />  
  5.       <asp:FileUpload ID="fupl1" runat="server" />  
  6.    </ContentTemplate>  
  7.    <Triggers>  
  8.       <asp:PostBackTrigger ControlID="btn1" />  
  9.    </Triggers>  
  10. </asp:UpdatePanel>  
I also tried the "IsPostBack" in my script with a stop point on it, but the closing debug doesn't seems to be when the post back come out.
 
If any of you already occured this issue and now how to bypass it, it would be usefull !

Answers (2)