7/1/2025 12:32:10 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
|
|
|
|
Random upload errors
Posted: 14 Dec 09 5:24 PM
|
FYI, SalesLogix Customer Portal, 7.5.0.
Has anyone else seen and/or isolated the cause of the error "An exception occurred executing the dynamic method Attachment.InsertFileAttachment"? It seems to be randomly occurring. I try again and all is well.
I'm going to keep digging, but thought I'd see if anyone else has encountered and/or solved this.
Thanks,
Jeff
|
|
|
|
Re: Random upload errors
Posted: 14 Dec 09 5:29 PM
|
Out of the Box, there is a Max Size limit of 4MB, and an execution Timeout of 90 seconds. (There are other IIS settings to be aware as well to check, this is just on SLX web.config).
That being said, I would suggest you check the file sizes before uploading and determine if this is happenning on bigger files. And, even if the file is smaller, if the user has a slow connection, his upload may be timing out
Also, the details of the exception may be logged in the Event viewer. An out of Memory error typically means that the file is bigger than what the app is configured for uploads, and off course a time out means that it took longer than the server is allowed to wait for completion of a task. |
|
|
|
Re: Random upload errors
Posted: 14 Dec 09 5:42 PM
|
Raul,
I've seen the error that occurs when the file is too big - it's not even handled by SLX - I still need to add code to check for that. The error I'm seeing is actually handled by SLX and comes up in a dialog after attempting to upload the attachment. It also occurs immediately (within a few seconds) as if it never even tries to upload the file, so I don't think it's a timeout issue.
And it's one of those dreaded "random" issues (although it's never really random with computers). I'll just have to keep digging.
Jeff
|
|
|
|
Re: Random upload errors
Posted: 14 Dec 09 7:25 PM
|
If the user is getting an Exception error Page, then there's got to be additional details stored on the Event Log of the Server. Depending on the Version of SLX that you are running, there could be issues with certain File Names. I recall that there were a few characters that SLX Didn't like, but typically those do upload, but then fail to open.
That being said, with big files, you do get an Exception error (after the file is uploaded). As stated, the Event Log entry shows "Out of Memory" associated with the Exception. Check your Event Log and see if you get any additional information on it.
Try running a network Sniffer and Parse the HTTP connections (typically fiddler work just as well, unless you suspect a bigger network issue).
Also, remember that SLX uses the RadUpload control. I have been able to find answers to several issues on their Support pages and forums, so if you get anything out of the Event Log you may want to follow up ther as well. |
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|