episerver file upload in Form container not working

Vote:
 

Hi, I've made a Form container with some text, text area, selection,...and File upload with limit to 20MB. When the form is published and I upload the file it seems okay but when I submit and receive the email confirming the submission which includes the #summary# the file uploaded is not there and when I check the form submissions I cannot find the uploaded file. Any advice?

#207622
Sep 26, 2019 21:55
Vote:
 

Hi,

When you say file upload limit, is that the file size of 20MB or the configuration for max file upload like here? Have you check logs as well for any related info?

Also, check the mail attachment limit for mail related issue. Which email service provider you are using? Because different providers have different limits.

#207625
Sep 27, 2019 9:06
Vote:
 

Hi,

Thanks for your reply. The file size I am uploading is less than 1MB so I guess it's not a file size or mail attachment limit issue. How can I check the logs?

#207627
Sep 27, 2019 9:14
Vote:
 

Logs are in ~/App_Data/EPiServerErrors.log 

You will more files for older logs.

#207628
Sep 27, 2019 9:18
fcis - Sep 27, 2019 10:29
But I don't have that much access in the backend to see or change config files.
Praful Jangid - Sep 27, 2019 10:31
Are you testing on DXC environment?
fcis - Sep 27, 2019 10:35
I'm a webbredaktör so I'm not sure what is a DXC environment?
Praful Jangid - Sep 27, 2019 10:40
You mean Quality Analyst, right?
You should have to CMS? Can you confirm that you can see the uploaded media their in CMS?
fcis - Sep 27, 2019 10:50
This is how it looks for me and as shown I cannot see the uploaded files in the folder. https://imgur.com/a/McxavU6
Vote:
 

Yes, The logs give you a better insight into what is going on.

And if you don't find any log in the "App_data" folder then make sure you enabled the logging for the site.

https://world.episerver.com/documentation/Items/Developers-Guide/Episerver-CMS/9/Logging/logging-with-log4net/

#207631
Sep 27, 2019 10:02
fcis - Sep 27, 2019 10:29
But I don't have that much access in the backend to see or change config files.
Vote:
 

Also, I expect you have configured the FileUpload component correctly and looking at right place for the uploaded media?

#207634
Sep 27, 2019 10:18
fcis - Sep 27, 2019 10:50
This is how it looks for me and as shown I cannot see the uploaded files in the folder. https://imgur.com/a/McxavU6
Vote:
 

In that case you need to connect with your development team who can see logs and will be able to find the actual reason. Because without looking into logs it is not possible to tell the reason.

Let me know if you need any other information.

Thanks

#207643
Sep 27, 2019 11:34
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.