-
Notifications
You must be signed in to change notification settings - Fork 142
AjaxFileUpload not working when uploading file due to { and } present in contextkey {DA8BEDC8-B952-4d5d-8CC2-59FE922E2923} #414
Comments
Hi @nandakik You can download the source code from this repository and make a custom build with a modified constant.
|
Hi, Thanks for your reply. The AjaxControlToolkit dll that i am using, file version is 4.1.60623.0 and the product version is 4.1.60623 and the size of the dll is 6.23 MB. Can i know how to find the release date with the commit date using the releaseList.json file located in the same folder. Please find the attached AjaxControlToolkit dll that i am using. |
I found searching with the version ( 60623 ) in releaseList.json file it's showing liek this: { Can i know how to get this version AjaxControlToolkit code? |
@nandakik To get this commit, please refer to the following article: https://stackoverflow.com/a/7832839/644496 |
Can you please tell me steps how to download this specific ajaxcontroltoolkit code. Means the github url to get this specific code and how to download to my local machine etc... Thanks ... |
Can i rewrite the url in IIS or so from: to so that the request to tomcat server will go like in the above url so that the { and } is replaced with its urlencode characters %7B and %7D respective. Please any suggestions on this will help me a lot.. |
We are using AjaxControlToolkit 4.1 version from past 4 years. We are uploading files using ajaxfileupload control. When we upload files the request will got to Apache Tomcat server with the application URL and by default adding two parameters in the query string contextkey and guid automatically.
For example the url will look like this:
https://reality.alcatel-lucent.com/rsp/action/app/mtap6/MTAPServer/Upload/Upload.aspx?contextkey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&guid=B943E2E3-A536-80BC-F364-E5C39377704A
The two parameters in the URL ContextKey and guid is automatically appended by ajax and the request is sent. The user can't see contextkey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&guid=B943E2E3-A536-80BC-F364-E5C39377704A in the URL. The above URL mentioned in the example is given by the server team.
When i Check AjaxFileUpload.cs page there is one line
internal const string ContextKey = "{DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}";
Can i know what does this mean and whether the above constant can be without { and }
Now the problem is they (server team) is telling they won't accept { and } characters. The files are not getting uploaded.
Can you please help me as this is very urgent for me to fix it.
OR
Can i have the AjaxControlToolkit 4.1 version code so that i can remove { and } in the const ContextKey and rebuild the code and use that updated dll so that the { and } characters will not be available in the ContextKey param value.
Thanks in advance!!!
The text was updated successfully, but these errors were encountered: