Unable to upload file on attachment control
kbt132940
PRODUCTIssue
An error appears when trying to upload a file using the file attachment control.
"The file could not be uploaded. Unforeseen error occurred on the file upload, contact your administrator".
Symptoms
- The issue occurs across all browsers and for any file size and type.
- You are able to consistently get the error when uploading a file.
Troubleshooting Steps
Please check if ASP.NET Impersonation authentication is enabled on the K2 Designer and Runtime application on IIS. If so, perform the following steps to resolve this:
1. On IIS, navigate to the K2 Designer and Runtime app > Authentication
2. Disable ASP.NET Impersonation authentication
3. Perform an IISRESET
4. Access your Smartforms and test the upload