
Hi
My project is giving me massive errors on the production side now for quite some time. I have gone through so many tuts/blogs regarding padding is invalid that I can't even count them now. Would one of the telerik guys be so kind to confirm my web.config wrt to the correct references
I only have the telerik.Web.UI.dll in my bin along with the .xml Version 2008.3.1504.20
I have completely run out of solutions at this point to figuring out what the issue with the padding and webresouce errors are due to.
sample error:
Padding is invalid and cannot be removed. at http://site/WebResource.axd?d=oBsiqcMrm5nH5SAVxvosPC0Vc1ptlvEUkX9cSPr5X64Xbdi6YL-7HQHfp_UBG0aYUqgzi6PR0Wm78GIlS_x2YfJZ0VImFe6UIuHLRB723Ow1&t=633716706420000000
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo) at System.Web.UI.Page.DecryptString(String s) at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Generated by:
-----------------------------------
and
---------------------------
This is an invalid script resource request. at http://site/ScriptResource.axd?d=bh6HBmlsxIGC4XFPMrp4DPh7BlJcKL55VvtVhshd3IDfZNRv5UnaQg93PCuiDZW07NH_goVZOyPgn36ooWTrW2Dy9C4KvW5zOMaqHsKjshsa11Wf0&t=634237042885176818
System.Web.HttpException: This is an invalid script resource request. at System.Web.Handlers.ScriptResourceHandler.Throw404() at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context) at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Generated by:
---------------------------------------------------------
SAMPLE WEB.CONFIG
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings>
<add key="SiteTitle" value="NAME"/>
<add key="Telerik.Skin" value="Office2007"/>
<add key="Telerik.Menu.Skin" value="Outlook"/>
</appSettings>
<connectionStrings>
</connectionStrings>
<system.web>
<machineKey validationKey='FFAA4F816016807C65F85DAEE6F2A0A263D73657DAE5AEDA2773BA4E56DCCF7B1C1AF651D3052A25E7E8B67D27F32C35BD34D57782F046C86B9E3E21FE877A24'
decryptionKey='535CDECB1832BBC6530978A6EBC4449EC1578E24903FF8F5'
validation='SHA1'/>
<profile defaultProvider="Conn" enabled="true">
<providers>
<clear/>
<add name="Conn" connectionStringName="aspnetconn" applicationName="/UA" type="System.Web.Profile.SqlProfileProvider"/>
</providers>
<properties>
<add name="Pet" allowAnonymous="false" type="Pet" serializeAs="Binary"/>
<add name="UserProfile" allowAnonymous="false" type="UserProfile"/>
</properties>
</profile>
<membership>
<providers>
<remove name="AspNetSqlMembershipProvider" />
<add connectionStringName="aspnetconn" applicationName="/UA"
name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</membership>
<customErrors mode="On" defaultRedirect="~/errors/404.aspx"/>
<siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<providers>
<clear/>
<add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>
<add type="System.Web.XmlSiteMapProvider" name="LeadersSiteMap" siteMapFile="~/Leaders.sitemap" />
</providers>
</siteMap>
<authentication mode="Windows" />
<roleManager enabled="true">
<providers>
<remove name="AspNetSqlRoleProvider" />
<add connectionStringName="aspnetconn" applicationName="/UA" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<remove name="AspNetWindowsTokenRoleProvider" />
<add applicationName="/UA" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</roleManager>
<pages theme="HRApps" validateRequest="false" enableEventValidation="false" viewStateEncryptionMode="Never">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</controls>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<httpHandlers>
<remove path="*.asmx" verb="*"/>
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI" validate="false"/>
<add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1504.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1504.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" name="UrlRewriter"/>
</httpModules>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</handlers>
</system.webServer>
<system.net>
<mailSettings>
<smtp from="OPS@domain.bc.ca">
<network defaultCredentials="true" host="" password="" userName=""/>
</smtp>
</mailSettings>
</system.net>
<rewriter>
</rewriter>
<location path="errors.aspx">
<system.web>
<authorization>
<allow roles="BetaTester,Admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
<location path="HRAssistants.aspx">
<system.web>
<authorization>
<allow roles="Admin"/>
<deny users="*"/>
</authorization>
</system.web>
</location>
</configuration>
<telerik:RadWindow ID="rwDeleteMuckMoves" runat="server" Behaviors="Move" EnableShadow="true" VisibleStatusbar="false" VisibleTitlebar="true" Title="Confirm Deletion" BorderColor="Black" AutoSize="true" Modal="true" IconUrl=""> <ContentTemplate> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <div class="dialogMain smallText" style="width:280px; padding:5px 0 0 0"> <div style="margin-left:auto; margin-right:auto; padding-bottom:5px; text-align:center"> <div style="text-align:left; padding:0 0 10px 12px"> <asp:Label ID="labelDeleteMuckMovesIntro" runat="server" /> </div> <%--OnClientItemChecked="ControlButtonFromRadListBoxCheckboxes(this, 'buttonDeleteMMTaskOK')"--%> <telerik:RadListBox ID="rlbDeleteMMTasks" runat="server" Width="90%" OnItemCreated="rlbDeleteMMTasks_ItemCreated" EnableDragAndDrop="false" CheckBoxes="true"> <ItemTemplate> <div class="smallText" style="text-align:left"> <table style="width:100%"> <tr> <td class="muckListPrimary" style="width:68%"> <asp:Label ID="labelMMtitle" runat="server" /> </td> <td style="text-align:right; width:32%"> <asp:Label ID="labelMMunits" runat="server" /> </td> </tr> <tr> <td style="width:60%"> <asp:Label ID="labelMMequip" runat="server" /> </td> <td style="text-align:right; width:40%"> <asp:Label ID="labelMMdist" runat="server" /> </td> </tr> </table> </div> </ItemTemplate> </telerik:RadListBox> </div> <div style="float:right; padding:5px 12px 5px 0"> <asp:Button ID="buttonDeleteMMTaskOK" runat="server" Text="OK" Width="50" CssClass="smallText" Enabled="false" OnClick="buttonDeleteMMTaskOK_Click" /> <asp:Button ID="buttonDeleteMMTaskCancel" runat="server" Text="Cancel" Width="50" CssClass="smallText" OnClientClick="HideDialog('rwDeleteMuckMoves')" /> </div> <div style="height:20px"> </div> </div> </ContentTemplate> </asp:UpdatePanel> </ContentTemplate></telerik:RadWindow><telerik:RadGrid ID="dgComboCodes" runat="server" GridLines="Both" AllowAutomaticDeletes="true" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowPaging="true" AllowSorting="true" AllowMultiRowSelection="false" AutoGenerateColumns="false" Width="80%" AllowFilteringByColumn="true"> <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" /> <MasterTableView DataKeyNames="CORE_Business_Scenario_No,Adjustment_Reason_Code,Health_Care_Remark_Code,Adjustment_Group_Code" Width="100%" CommandItemDisplay="Top" HeaderStyle-CssClass="labelsMed"> <Columns> <telerik:GridEditCommandColumn UniqueName="EditCmd" HeaderStyle-Width="10%"></telerik:GridEditCommandColumn> <telerik:GridBoundColumn Display="false" UniqueName="BS_Seq" DataField="CORE_Business_Scenario_No" HeaderStyle-Width="15%"></telerik:GridBoundColumn> <telerik:GridBoundColumn Display="true" UniqueName="CARC" DataField="Adjustment_Reason_Code" HeaderText="CARC" EditFormColumnIndex="0" HeaderStyle-Width="15%"></telerik:GridBoundColumn> <telerik:GridBoundColumn Display="true" UniqueName="RARC" DataField="Health_Care_Remark_Code" HeaderText="RARC" EditFormColumnIndex="1" HeaderStyle-Width="15%"></telerik:GridBoundColumn> <telerik:GridBoundColumn Display="true" UniqueName="CAGC" DataField="Adjustment_Group_Code" HeaderText="CAGC" EditFormColumnIndex="2" HeaderStyle-Width="15%"></telerik:GridBoundColumn> <telerik:GridButtonColumn uniquename="grdDelete" CommandName="Delete" ButtonType="ImageButton" HeaderStyle-Width="3%"> </telerik:GridButtonColumn> </Columns> <EditFormSettings ColumnNumber="3" CaptionFormatString="Edit details for CARC {0}" CaptionDataField="Adjustment_Reason_Code"> <FormTableItemStyle Wrap="False"></FormTableItemStyle> <FormCaptionStyle CssClass="labels"></FormCaptionStyle> <FormMainTableStyle GridLines="Both" CellPadding="2" CellSpacing="0" Width="80%" /> <FormStyle Width="80%" /> <EditColumn UpdateText="Update" UniqueName="EditCmd" CancelText="Cancel"></EditColumn> <FormTableButtonRowStyle HorizontalAlign="Left" /> </EditFormSettings> <ExpandCollapseColumn ButtonType="ImageButton" Display="false" UniqueName="ExpandBtn" HeaderStyle-Width="19px"></ExpandCollapseColumn> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="RowDblClick" /> </ClientSettings> </telerik:RadGrid>radalert('Radalert is called from the client!', 330, 100, 'Client RadAlert');function pageLoad(sender, args)<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> var currentLoadingPanel = null; var currentUpdatedControl = null; function RequestStart(sender, args) { currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>"); if (args.get_eventTarget() == "<%= lbBerechnen.UniqueID%>") { currentUpdatedControl = "<%= tabBearbeitung.ClientID%>"; } //show the loading panel over the updated control currentLoadingPanel.show(currentUpdatedControl); } function ResponseEnd() { //hide the loading panel and clean up the global variables if (currentLoadingPanel != null) currentLoadingPanel.hide(currentUpdatedControl); currentUpdatedControl = null; currentLoadingPanel = null; } </script></telerik:RadCodeBlock><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="lbBerechnen"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="tabBearbeitung" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" /></telerik:RadAjaxManager><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"></telerik:RadAjaxLoadingPanel><asp:LinkButton runat="server" Width="100px" ID="lbBerechnen" CssClass="button-theme"> <span class="span_outer"> <span class="span_right"> <span class="span_left"> <span style="width: 92px;" class="span_inner">Berechnen</span> </span> </span> </span> </asp:LinkButton>currentUpdatedControl = "<%= tabBearbeitung.ClientID%>";