Skip to main content

Hi fellow K2 developers/Admins: jpg file size is fine, file extension not on blacklist. What else can cause 500 internal server error when using image attachment control? I double-checked the file server instance location--I can actually add files to this server location manually, just not with K2 image attachment control on my view. Thanks!15502iDD863D30E0896AA1.png

Hi Anon123 ,


 


I have seen this problem before and it was resolved by following these steps:
   * Restarting the K2 service
   * Deleting the SmartObject
   * Refresh the service instance
   * Re-Create the SmartObject again


 


Hope this provides the same result.


 


Kind Regards
JacoH


Hi Anon123,


 


I see that your ServiceInstance has a 'File Path' property. Is this where the files gets saved when executed?


 


Can this file be accessed from the K2 Server without being prompted for Credentials?


 


If you use a local location (e.g. 'C:Temp") does it work then?


 


-Jean


Hi,


 


It looks like you are using the Community File Service broker. I got a similar behavior when pointing to a network/shared drive with this broker. 


 


Reply