Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUsing new file upload control issueUsing new file upload control issue
Previous
 
Next
New Post
7/13/2017 5:11 PM
 

Hi,

We are extending an existent module, we added a control to upload a file to DNN. To do this, we decided to use the new control FileUpload in https://github.com/dnnsoftware/Dnn.React.Common. In DNN9.0 everything was working as expected, but with DNN 9.1 we found two issues.

1) When calling http://localhost/evoq_content//API/InternalServices/FileUpload/UploadFromLocal the server was throwing unauthorize error (403). Checking how it works in DNN 9.1 and the differences with DNN 9.0, we found that in DNN 9.1 the parameter RequestVerificationToken was added to the request headers (it was not there in DNN 9.0), adding this parameter with the right value make this work, but is this correct? I thought it should be enough with the cookie, but is not working just with the authentication cookie.

2) This is a little strange, not sure where the problem comes from, but the form of the FileUpload control that was working perfectly in DNN9.0 now is throwing a 503 error when posting back, even without uploading any file. If I remove the control, the form postback works fine. We are still investigating this issue, but any help or Ideas will be appreciated.

Thanks

Javier

 




Javier Rodríguez
CTO
www.AccordLMS.com
1775 W. State Street Suite 371, Boise ID 83702 USA
 
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesUsing new file upload control issueUsing new file upload control issue


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out