We recently moved all our domains from Godaddy Shared hosting to Godaddy Virtual Dedicated Server(VDS). As we do not have expertise in Server / Domain setup, we decided to take the subscription of Plesk control panel along with the subscription of the Virtual Dedicated Server, and I will suggest every one should take this if you do not have Server setup experience.
Now when we migrated all our site to VDS, and set the domain hosting using the Plesk control panel, we started seeing that none of our JavaScript is getting fired properly, wheich is calling Ajax to call Local Web Service functions. The same code was running properly when we were at shared hosting. Also, all the pages which have ScriptManager is not rendering properly.
We vested almost a day, but no clue as most of our pages were not displaying properly.
See the link about the solution:ASP Menu is not working on Page with ScriptManager
After adding <pages controlrenderingcompatibilityversion="3.5">
in web.config most of other pages came back to normal but the pages with ScriptManager on it was still creating issue.Now when we migrated all our site to VDS, and set the domain hosting using the Plesk control panel, we started seeing that none of our JavaScript is getting fired properly, wheich is calling Ajax to call Local Web Service functions. The same code was running properly when we were at shared hosting. Also, all the pages which have ScriptManager is not rendering properly.
We vested almost a day, but no clue as most of our pages were not displaying properly.
See the link about the solution:ASP Menu is not working on Page with ScriptManager
After adding <pages controlrenderingcompatibilityversion="3.5">
After looking at all the places, we started looking at IIS to see if we have some setup their which is doing this and we found that "Handler Mappings" or web site was using all the handlers from Plesk and we were not sure what they are doing, so we just went to the IIS -> Sites -> Our Domain -> Handlers Mapping and Took Revert to Parent from the Tools.
And guess what, all the pages returned to normal. I know there must be some other way other than removing all Plesk handler but as we do not know, we just reverted back to standard handler and it worked for us.
Reader, please comment is you knwo any better solution for this.
Happy coding!!