Hi, I'm using Win 8/IE10/VS 2012 as my client/development platform, and my server is Win Server 2008 R2.
On my client platform, the AJAX controls work well, but when I upload the web project on my server, the AJAX control extenders (PopupControlExtender, CalendarExtender, etc) no longer work on IE10 when I browse the web site. I have the same web.config on
both platforms.
I wonder if there are still additional settings needed on the server to make it work?
Yes. everything is in place. To elaborate more, as an example the PopupControlExtender which uses a Panel for showing the popup, the actual panel content is shown statically on page upon loading, it is not being popped up. Similar with the CalendarExtender,
the datepicker wo't popup.
please make sure you install the correct ASP.NET 4.0 framework on your server. The AJAXControlToolkit has actually been integrated into this framework and you are not required to install anything else on the server.
Once this is installed, please make sure your site is set to run under ASP.NET 4.0 framework. If it fails, please let me know the error message :)
In this scenario, I would like to suggest you try to check the following link,Jonathan has provided a detailed solution there:Error: ASP.NET Ajax client-side framework failed to load.http://forums.asp.net/t/1243449.aspx#2291128
I simply added this section in my web.config file and it worked, since I remembered my web site's application pool settings in IIS my .NET 4.0 runs in Integrated mode.
larrimar
0 Points
4 Posts
AJAX Toolkit on Win Server 2008 doesn't function properly
Dec 09, 2012 06:45 AM|LINK
Hi, I'm using Win 8/IE10/VS 2012 as my client/development platform, and my server is Win Server 2008 R2.
On my client platform, the AJAX controls work well, but when I upload the web project on my server, the AJAX control extenders (PopupControlExtender, CalendarExtender, etc) no longer work on IE10 when I browse the web site. I have the same web.config on both platforms.
I wonder if there are still additional settings needed on the server to make it work?
Thanks in advance.
oned_gk
All-Star
31257 Points
6389 Posts
Re: AJAX Toolkit on Win Server 2008 doesn't function properly
Dec 09, 2012 07:00 AM|LINK
have you copy the ddl file inside BIN folder to server too?
larrimar
0 Points
4 Posts
Re: AJAX Toolkit on Win Server 2008 doesn't function properly
Dec 09, 2012 10:45 AM|LINK
Yes. everything is in place. To elaborate more, as an example the PopupControlExtender which uses a Panel for showing the popup, the actual panel content is shown statically on page upon loading, it is not being popped up. Similar with the CalendarExtender, the datepicker wo't popup.
chetan.sarod...
All-Star
65729 Points
11133 Posts
Re: AJAX Toolkit on Win Server 2008 doesn't function properly
Dec 10, 2012 02:20 AM|LINK
please make sure you install the correct ASP.NET 4.0 framework on your server. The AJAXControlToolkit has actually been integrated into this framework and you are not required to install anything else on the server.
Once this is installed, please make sure your site is set to run under ASP.NET 4.0 framework. If it fails, please let me know the error message :)
In this scenario, I would like to suggest you try to check the following link,Jonathan has provided a detailed solution there: Error: ASP.NET Ajax client-side framework failed to load. http://forums.asp.net/t/1243449.aspx#2291128
http://forums.asp.net/p/1532978/3715586.aspx
If I’ve misunderstood the facing issue, please feel free to let me know
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
larrimar
0 Points
4 Posts
Re: AJAX Toolkit on Win Server 2008 doesn't function properly
Dec 10, 2012 04:38 AM|LINK
Many thanks to you chetan for the reply.
This link you provided helped me: http://forums.asp.net/t/1243449.aspx#2291128
I simply added this section in my web.config file and it worked, since I remembered my web site's application pool settings in IIS my .NET 4.0 runs in Integrated mode.
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule"/>
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory"/>
<remove name="ScriptHandlerFactoryAppServices"/>
<remove name="ScriptResource"/>
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>
</system.webServer>