Hi,
When I used RadAsyncUpload in Visual Studio using localhost it works fine, however, when I move my application to a server and I browse for a file I get the following error:
When I used RadAsyncUpload in Visual Studio using localhost it works fine, however, when I move my application to a server and I browse for a file I get the following error:
Invalid JSON: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br><br><html xmlns="http://www.w3.org/1999/xhtml" ><br><head><title><br> xTAG Data Centre<br></title><link href="css/xdc.css" rel="stylesheet" type="text/css" /><link href="css/sidemenu.css" rel="stylesheet" type="text/css" /><link href="css/jquery-ui-1.8.9.custom.css" rel="Stylesheet" type="text/css" /></head><br><script type="text/javascript" ><br> /* These code are used to try to log users off when they close a browser without log out.<br> // However the code is onlyt working in some specific versions of browsers and not always working.<br> // For now we remove this feature. Later on we can continue to investigate the possibility.<br> // Customized login m<br> var closeTab = false;<br> window.onbeforeunload = checkBrowserBefore;<br> window.onunload = checkBrowserUnload;<br><br> function checkBrowserBefore() {<br> alert('come before');<br> //alert(window.event.clientX);<br> //alert(window.event.clientY);<br> if (window.event.clientY <= 0 && window.event.clientY <= 0) {<br> //var result = confirm("Do you really want to close your application?");<br> //if (result == true) {<br> //window.location.href = "../Exit.aspx";<br> closeTab = true;<br> //PageMethods.AbandonSession();<br> return "Do you leave the application or stay?";<br> //alert('Closing Window');<br> }<br> else<br> closeTab = false;<br> }<br> function checkBrowserUnload() {<br> alert('come');<br> if (closeTab)<br> window.location.href = "../Exit.aspx";<br> //alert('unload');<br> }*/<br></script><br> <br><body><br><center><br> <form name="aspnetForm" method="post" action="Login.aspx?ReturnUrl=%2fTelerik.Web.UI.WebResource.axd%3ftype%3drau&type=rau" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm"><br><div><br><input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" /><br><input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /><br><input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /><br><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTExMjc2MTIzOTgPZBYCZg9kFgICAw9kFgICAw9kFgICAQ8PFgIeBFRleHQF/gFZb3UgYXJlIGRpcmVjdGVkIGhlcmUgYmVjYXVzZSB5b3VyIGN1cnJlbnQgcm9sZSBjYW5ub3QgYWNjZXNzIHRoZSByZXF1ZXN0ZWQgcmVzb3VyY2UuICBZb3UgY2FuIGVpdGhlciBsb2cgaW4gd2l0aCBhIGRpZmZlcmVudCBhY2NvdW50IG9yIGFzayB0aGUgYWRtaW5pc3RyYXRvciB0byBtb2RpZnkgeW91ciBhY2Nlc3MgcHJpdmlsZWRnZSwgb3IgdXNlIHRoZSDigJxCYWNr4oCdIGJ1dHRvbiB0byByZXR1cm4gdG8geW91ciBwcmV2aW91cyBwYWdlLmRkGAIFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYCBTVjdGwwMCRNYWluSGVhZGVyMSRIZWFkTG9naW5WaWV3JEhlYWRMb2dpblN0YXR1cyRjdGwwMQU1Y3RsMDAkTWFpbkhlYWRlcjEkSGVhZExvZ2luVmlldyRIZWFkTG9naW5TdGF0dXMkY3RsMDMFH2N0bDAwJE1haW5IZWFkZXIxJEhlYWRMb2dpblZpZXcPD2QCAWSL+oO3nfXN2ZFuvJ1isLVuJYwbwOd1O5mdU7gXfrFkgw==" /><br></div><br><br><script type="text/javascript"><br>//<![CDATA[<br>var theForm = document.forms['aspnetForm'];<br>if (!theForm) {<br> theForm = document.aspnetForm;<br>}<br>function __doPostBack(eventTarget, eventArgument) {<br> if (!theForm.onsubmit || (theForm.onsubmit() != false)) {<br> theForm.__EVENTTARGET.value = eventTarget;<br> theForm.__EVENTARGUMENT.value = eventArgument;<br> theForm.submit();<br> }<br>}<br>//]]><br></script><br><br><br><script src="/WebResource.axd?d=8cLU_hx4_Xp9bo5plhNrF-bucpZZIAEXU_lUwz7se3fG_aNvaiEQRCcq-qDTIYAeSvNS1MSSx8pbZzOrAfcCiG2307XyfBPIC6sLjFb-IcM1&t=634955710607792896" type="text/javascript"></script><br><br><br><script src="/WebResource.axd?d=EX29mnq7CjOWQ9es3TrIWruXHcva4LLhshjr2bNCXGOZQZY2HmJBWz-U7dzIEIwEC-rTMm-E1J5_GXsBq-RXCrthheIE9OoHD-KGY5iJOpc1&t=634955710607792896" type="text/javascript"></script><br><script src="/WebResource.axd?d=ALMW2zqGVsIrmIZCb6JkOqbjVTa_HlsCrGs-GwgdVduMAR8WzooFC85bkt-OHh2M092obNRUGuhGPhmC47Gxhgl8LHc8ynwF8JuVN0TMqe81&t=634955710607792896" type="text/javascript"></script><br><script type="text/javascript"><br>//<![CDATA[<br>function WebForm_OnSubmit() {<br>if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;<br>return true;<br>}<br>//]]><br></script><br><br><div><br><br> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQLhnf9fAquvgbQHAqCR4q8OAqm6mq0NAsqVpdkKG75jCGPSjrd3qR87sFWClHrSs5TssNV9mEhmGn8wZFI=" /><br></div><br> <br> <table cellpadding="0" border="0" cellspacing="0"><br> <tr><br> <td style="height:10px;"></td><br> </tr><br> </table><br> <br> <table class="master_table"><br> <tr><br> <td class="masterstyle1"><br> <br><br><link href="../css/xdc.css" rel="stylesheet" type="text/css" /><br><br><style type="text/css"><br> .style2<br> {<br> height: 24px;<br> }<br> .style3<br> {<br> height: 24px;<br> width: 175px;<br> }<br> </style><br><br><table cellspacing="0" cellpadding="0" width="1000px" border="0" <br> style="height: 86px" ><br> <tr ><br> <td style="border-style: none; border-color: inherit; border-width: 0;" <br> class="style3" /><br> <td valign="middle" align="right" class="normaltextfont" ><br> <br> Welcome <span class="bold"><span id="ctl00_MainHeader1_HeadLoginView_HeadLoginName">ajhajj</span></span>!<br> [ <a id="ctl00_MainHeader1_HeadLoginView_HeadLoginStatus" href="javascript:__doPostBack('ctl00$MainHeader1$HeadLoginView$HeadLoginStatus$ctl00','')">Log Out</a> ]<br> <br> <br> <a id="ctl00_MainHeader1_HyperLink1" href="Admin/UserAdmin.aspx" style="color:#0066FF;font-family:Arial Rounded MT Bold;font-size:XX-Small;text-decoration:none;"><img src="images/lock.JPG" alt="Admin" style="border-width:0px;" /></a><br> </td><br> </tr><br> <tr valign="top"><br> <td class="headerbackground" style="width: 175px" ><br> <img id="ctl00_MainHeader1_Image1" src="images/lmd_logo.jpg" style="border-width:0px;" /><br> </td><br> <td valign="middle" align="right" class="headerbackground" style=""><br> <br><table border="0" cellspacing="0" cellpadding="0"><br> <tr><br> <!--<td><br> <a id="ctl00_MainHeader1_MainMenu1_file" href="Threshold/ThresholdMain.aspx"><img src="images/btn_Threshold4.jpg" alt="" style="border-width:0px;" /></a><br> </td>--><br> <td><br> <a id="ctl00_MainHeader1_MainMenu1_project" href="Project/ProjectMain.aspx"><img src="images/btn_Project4.jpg" alt="" style="border-width:0px;" /></a><br> </td><br> <td><br> <a id="ctl00_MainHeader1_MainMenu1_run" href="Run/RunMain.aspx"><img src="images/btn_Run4.jpg" alt="" style="border-width:0px;" /></a><br> </td><br> <td><br> <a id="ctl00_MainHeader1_MainMenu1_allele" href="Allele/AlleleMain.aspx"><img src="images/btn_Search4.jpg" alt="" style="border-width:0px;" /></a><br> </td><br> <td><br> <a id="ctl00_MainHeader1_MainMenu1_assay" href="Assay/AssaySearch.aspx"><img src="images/btn_Assay4.JPG" alt="" style="border-width:0px;" /></a><br> </td><br> </tr><br></table><br> </td><br> </tr><br></table><br><br> </td><br> </tr><br> <tr valign="top"><br> <td class="masterstyle2"> <br> <br><br> <div class="loginpage"><br> <p style="font-family: Arial; text-align: left; vertical-align: top"><br> Log In<br> </p><br> <div style="font-family: Arial; text-align: left; vertical-align:top; width: 584px; margin-left: 0px;"><br> <span id="ctl00_ContentPlaceHolder1_LabelNoPermit" class="detailtext" style="color:Red;">You are directed here because your current role cannot access the requested resource. You can either log in with a different account or ask the administrator to modify your access priviledge, or use the “Back” button to return to your previous page.</span><br> </div><br><br> <p class="detailtext" style="font-family: Arial; text-align: left; vertical-align: top"><br> Please enter your username and password.<br> </p><br> <div class="loginmain"><br> <br> <span class="failureNotification"><br> <br> </span><br> <div id="ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary" class="failureNotification" style="color:Red;display:none;"><br><br></div><br> <div class="accountInfo"><br> <fieldset><br> <p class="loginentry"><br> <label for="ctl00_ContentPlaceHolder1_LoginUser_UserName" id="ctl00_ContentPlaceHolder1_LoginUser_LabelUserName" class="detailtext">Username:</label><br> <input name="ctl00$ContentPlaceHolder1$LoginUser$UserName" type="text" id="ctl00_ContentPlaceHolder1_LoginUser_UserName" class="detailtext" style="width:260px;" /><br> <span id="ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired" title="User Name is required." class="failureNotification" style="color:Red;visibility:hidden;">*</span><br> </p><br> <p class="loginentry"><br> <label for="ctl00_ContentPlaceHolder1_LoginUser_Password" id="ctl00_ContentPlaceHolder1_LoginUser_LabelPassword" class="detailtext">Password:</label><br> <input name="ctl00$ContentPlaceHolder1$LoginUser$Password" type="password" id="ctl00_ContentPlaceHolder1_LoginUser_Password" class="detailtext" style="width:260px;" /><br> <span id="ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired" title="Password is required." class="failureNotification" style="color:Red;visibility:hidden;">*</span><br> </p><br> <span class="loginentry"><br> <span id="ctl00_ContentPlaceHolder1_LoginUser_LabelDomain" class="detailtext">Domain: LUMINET</span><br> </span><br> </fieldset><br> <p><br> <input type="submit" name="ctl00$ContentPlaceHolder1$LoginUser$LoginButton" value="Log In" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$LoginUser$LoginButton", "", true, "LoginUserValidationGroup", "", false, false))" id="ctl00_ContentPlaceHolder1_LoginUser_LoginButton" class="button_css" /><br> </p><br> </div><br> <br> </div><br> </div><br><br><br> </td><br> </tr><br> <tr><br> <td class="masterstyle3"> <br> <br><br><link href="../css/xdc.css" rel="stylesheet" type="text/css" /><br><br><table border="0" cellpadding="0" cellspacing="0" width="1000px" <br> style="height: 76px"><br> <tr><br> <td colspan="2" class="footerbackground" style="height: 27px"><br> </td><br> </tr><br> <tr><br> <td class="footerbackground"; style="height: 16px"></td><br> <td align="center" class="footerbackground"; style="height: 16px"><br> <span><i style="font-family: Arial; font-size: 9pt; text-align:center; vertical-align: top ">Copyright 2012, Luminex Corporation.</i></span> <br> </td><br> </tr><br> <tr><br> <td colspan="2" style="background-color: #FFFFFF"><br> <img id="ctl00_MainFooter1_image2" src="images/foot_btm.gif" style="height:33px;width:1000px;border-width:0px;" /><br> </td><br> </tr><br></table><br><br> </td><br> </tr><br> </table><br> <br><script type="text/javascript"><br>//<![CDATA[<br>var Page_ValidationSummaries = new Array(document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary"));<br>var Page_Validators = new Array(document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired"), document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired"));<br>//]]><br></script><br><br><script type="text/javascript"><br>//<![CDATA[<br>var ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary = document.all ? document.all["ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary"] : document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary");<br>ctl00_ContentPlaceHolder1_LoginUser_LoginUserValidationSummary.validationGroup = "LoginUserValidationGroup";<br>var ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired = document.all ? document.all["ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired"] : document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired");<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.controltovalidate = "ctl00_ContentPlaceHolder1_LoginUser_UserName";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.errormessage = "User Name is required.";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.validationGroup = "LoginUserValidationGroup";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";<br>ctl00_ContentPlaceHolder1_LoginUser_UserNameRequired.initialvalue = "";<br>var ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired = document.all ? document.all["ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired"] : document.getElementById("ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired");<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.controltovalidate = "ctl00_ContentPlaceHolder1_LoginUser_Password";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.errormessage = "Password is required.";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.validationGroup = "LoginUserValidationGroup";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";<br>ctl00_ContentPlaceHolder1_LoginUser_PasswordRequired.initialvalue = "";<br>//]]><br></script><br><br><br><script type="text/javascript"><br>//<![CDATA[<br><br>var Page_ValidationActive = false;<br>if (typeof(ValidatorOnLoad) == "function") {<br> ValidatorOnLoad();<br>}<br><br>function ValidatorOnSubmit() {<br> if (Page_ValidationActive) {<br> return ValidatorCommonOnSubmit();<br> }<br> else {<br> return true;<br> }<br>}<br> WebForm_AutoFocus('ctl00_ContentPlaceHolder1_LoginUser_UserName');//]]><br></script><br></form><br></center><br></body><br></html><br>