I have a captcha control on a form with the refresh image link enabled. If the page name is not in the url the refresh image throws an error (listed below) but if the page name is in the url it works fine.
So
http://www.nirvanawebworks.com/company/contact/ throws an error
and
http://www.nirvanawebworks.com/company/contact/default.aspx does not.
Is there a way to make it work without the page name?
Thanks,
Brian
Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)Timestamp: Wed, 13 Jul 2011 16:42:09 UTCMessage: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 405Line: 6Char: 84093Code: 0URI: http://www.nirvanawebworks.com/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%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2011.1.519.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a911e11b9-43a3-4153-a0e1-a8dd325e7573%3a16e4e7cd%3af7645509%3a24ee1bba%3af46195d3%3a1e771326%3aaa288e2d%3ab7778d6c%3a11e117d7%3a7165f748 Answers, 1 is accepted
I have tried reproducing the issue you described, but to no avail. Nevertheless, we have already encountered problem, similar to the one you are having. It is possible that it is caused by IIS of Windows 2008 server and is executed when the URL doesn't contain the exact page. You can ensure that you are experiencing the same issue by adding a RadButton to your page and checking if the server-side event handler is executed.
Here you can find article, which discusses such a problem.
In case the provided information is not related to your issue, please try modifying the sample I have attached so that it matches your problem or prepare and send us sample, runnable project, which isolates the problem so that we can inspect it locally and determine the cause.
Best wishes,
Slav
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
<httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /></httpModules>Any idea why this is happening? I used the telerik config project wizard and that is what entered these lines into my config file.
Thanks,
Brian
We are glad to hear that you succeeded in resolving your problem. It is most peculiar and this is the first time such an issue has been reported. I am sorry to say that for the time being I cannot provide a firm answer for the exact cause for this behavior.
Could you please verify that both the RadUploadModule and RadCompression need to be removed so that the issue is solved and if not, which one is the cause.
You may also check if the problem reproduces when you deploy in your project an UpdatePanel, containing RadControl, for example RadButton, because update panel is used to refresh the image of RadCpatcha.
Please note that at the current state of affairs I don't have much information about your setup, so it will be much appreciated if you would provide more detailed description of your scenario.
Best wishes,
Slav
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
<add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
Here is my current web.config file
<?xml version="1.0"?> <configuration> <connectionStrings/> <appSettings/> <location path="." inheritInChildApplications="false"> <system.web> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> </assemblies> </compilation> <customErrors mode="RemoteOnly" defaultRedirect="~/ErrorPages/Oops.aspx" > <error statusCode="404" redirect="~/ErrorPages/404Error.aspx" /> </customErrors> <authentication mode="Forms"> <forms loginUrl="~/Default.aspx" timeout="2880"/> </authentication> <httpHandlers> <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/> <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/> <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/> </httpHandlers> <httpModules> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/> </httpModules> <pages> <controls> <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/> </controls> </pages> </system.web> </location> <system.webServer> <modules runAllManagedModulesForAllRequests="true"> <remove name="RadUploadModule"/> <remove name="RadCompression"/> <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/> </modules> <validation validateIntegratedModeConfiguration="false"/> <handlers> <remove name="ChartImage_axd"/> <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/> <remove name="Telerik_Web_UI_DialogHandler_aspx"/> <remove name="Telerik_RadUploadProgressHandler_ashx"/> <remove name="Telerik_Web_UI_WebResource_axd"/> <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/> <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/> <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/> <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/> <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/> </handlers> <security> <requestFiltering> <requestLimits maxAllowedContentLength="55394304"/> </requestFiltering> </security> </system.webServer> </configuration>You are probably facing this breaking change in .Net 4.0. Check the Known Issues section of this help article for more details and solution.
I hope this helps.
Kind regards,
Pavel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
The issues discussed seem to refer to IIS 7 and IIS 7.5. I'm running IIS 6 on Windows 2003. I did try the workarounds mentioned but they caused worse problems not a solution.
Any other ideas?
Thanks,
Brian
In that case you can try adding Action="Default.aspx" to the form tag of the problematic page. Let me know if that helps.
Regards,
Pavel
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Yes, that seemed to have done the trick. Thank You.
Brian