Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > AjaxControlToolkit failed in CMSDesk View modes: 
User avatar
Member
Member
dz-v - 2/12/2014 4:19:39 AM
   
AjaxControlToolkit failed in CMSDesk
Hello,

I have a Kentico 6.0.23(SP1) installed on a stage server and everything was fine. I moved the installation to a live site and now I get an error in js console:
"Uncaught Error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll. " therefore I can't use features like moving widgets.
How can I resolve this problem?
ASP.NET version of IIS is 4.0.3039

User avatar
Kentico MVP
Kentico MVP
Brenden Kehren - 2/12/2014 6:36:20 AM
   
RE:AjaxControlToolkit failed in CMSDesk
When you moved it to the other server:

1) Did you copy all the .dll files in the BIN directory?

2) Did you zip the files and move them or just copy and paste? If you zipped the files, you'll have to check to see the .dlls aren't blocked. Right click the dll and go to Properties. At the bottom you'll see an Unblock button if it is blocked. This is common when downloading .zip files with those type of executable files or libraries in them.

User avatar
Member
Member
dz-v - 2/12/2014 6:43:51 AM
   
RE:AjaxControlToolkit failed in CMSDesk
1) I just copied the whole folder, no zips.
2) No unblock button on the dlls properties. Also, I gave full access to dll.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 2/12/2014 10:33:41 AM
   
RE:AjaxControlToolkit failed in CMSDesk
Hello,

Do you have the following section in your web.config file?
  <system.web>
<pages validateRequest="false" clientIDMode="AutoID">
<controls>
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />

What type of application pool are you using? Are you sure that you have configured the application pool for this application to use .NET 4.0?

Best Regards,
Martin Danko