This is a migrated thread and some comments may be shown as answers.

Problem with ServerSide Click Event in Azure

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 16 Apr 2013, 05:25 PM
I am getting this error is Azure only. When running locally the program executes as expected. Any thoughts?
SCRIPT5022: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac9cbdec3-c810-4e87-846c-fb25a7c08002%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3abcbc5876-5d5e-4774-955e-2ecda3d55cd3%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc, line 15 character 16485

Here is the ASPX

<form id="dsxWeb_Login" runat="server">
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="loginClicked">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="loginMessage"/>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
            <telerik:RadCodeBlock ID="cb1" runat="server">
                <script type="text/javascript">
                    function invokeAjax()
                    {
                        try
                        {
                            var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
                            ajaxManager.ajaxRequest();
                        }
                        catch (err)
                        {
                            alert(err);
                        }
                    }
                </script>
            </telerik:RadCodeBlock>
            <div id="login">
                <div id="loginLogo"></div>
                <div id="loginProducts">
                    <ul>
                        <li><input type="checkbox" id="chkLoginFM" runat="server"/>Forecast Management</li>
                        <li><input type="checkbox" id="chkLoginRP" disabled="disabled" runat="server" />Requirements Planning (Coming Soon...)</li>
                    </ul>
                </div>
                <div id="loginForm">
                    Username:<br />
                    <input id="txtUsername" class="loginInput" runat="server"/><br /><br />
                    Password: <br />
                    <input id="txtPassword" class="loginInput" type="password" runat="server"/><br />
                    <input type="button" ID="btnLogin" onClick="invokeAjax(); return false;" Value="Login" />
                    <br />
                     
                </div>
               <div id="loginMessage" runat="server"><strong>Please enter login credentials.</strong></div>
            </div>
             
             
 
        </form>



1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 19 Apr 2013, 07:14 AM
Hi Michael,

Is the problem intermittent or is reproduced regularly? If you disable the script combining on the RadScriptManager does this stops the problem for reproducing?

You can stop the script combining using the EnableScriptCombine property.

Regards,
Genady Sergeev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or