0

I am trying to upload a file but I'm getting the error Server Response Error: 'Unknown Server error'

It's not even going into the function in the code behind so I'm not sure what the issue is.

<ajaxToolkit:AsyncFileUpload ID="fileUpload" runat="server" OnUploadedComplete="fileUpload_UploadedComplete" />

The code never goes into the fileUpload_UploadedComplete.

protected void fileUpload_UploadedComplete(object sender, AjaxControlToolkit.AsyncFileUploadEventArgs e)
user123456789
  • 1,914
  • 7
  • 44
  • 100

1 Answers1

0

Check the following thread: getting error "Unknown Server error" while using asyncfileupload in asp.net using c#?

Also, include more details in your question so it will be easier to understand the complete scenario.

Mohsin Mehmood
  • 4,156
  • 2
  • 12
  • 18
  • That thread didn't help. The code for uploading the file is in a user control which I then call from another page. It works being called on one page, but I get "Unknown Server Error" on another page. – user123456789 May 03 '18 at 08:21