Good afternoon,
I am working on an application that sends a message with one ore more file attached to it. I'm using a AsyncUpload control to accomplish the upload of the files while user can still be writting the message.
The problem is that, when deploying it, the following happens:
1. User chooses a file to upload: it begins uploading (progress bar starts moving and left icon remains orange)
2. After finishing upload, suddenly an exception is thrown. Exception can be one of these:
a) The proccess cannot access the file XXXXXX.doc because it is in use by other process: this only happens with small (200kb or less) files. Temporal file does not appear in the Temporary Filder.
b) Remote server said: NotFound: this happens with big files (9 MB more or less in our tests). In this case, we already find the file in the Temporary Folder. The fact is that the file there is ok. After changing its extension to ZIP (which was the file's extension), it works fine, so the file is correctly upload, but it stills throws an exception.
I've tried changing the security settings of the temporary folders, giving permissions to users, but nothing changes.
The curious thing is that this only happens in deplyment. Control works fine in local machine.
Do you have any idea about what I've done wrong?
I am working on an application that sends a message with one ore more file attached to it. I'm using a AsyncUpload control to accomplish the upload of the files while user can still be writting the message.
The problem is that, when deploying it, the following happens:
1. User chooses a file to upload: it begins uploading (progress bar starts moving and left icon remains orange)
2. After finishing upload, suddenly an exception is thrown. Exception can be one of these:
a) The proccess cannot access the file XXXXXX.doc because it is in use by other process: this only happens with small (200kb or less) files. Temporal file does not appear in the Temporary Filder.
b) Remote server said: NotFound: this happens with big files (9 MB more or less in our tests). In this case, we already find the file in the Temporary Folder. The fact is that the file there is ok. After changing its extension to ZIP (which was the file's extension), it works fine, so the file is correctly upload, but it stills throws an exception.
I've tried changing the security settings of the temporary folders, giving permissions to users, but nothing changes.
The curious thing is that this only happens in deplyment. Control works fine in local machine.
Do you have any idea about what I've done wrong?