Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!!

Migrate my website to a new server, but I'm having problems filling the combos with CascadingDropDown, I get "Method Error 500", I compared my previous site with the new one, and I see everything the same, my webservice class already has The header [System.Web.script.Services.scriptService ()], in fact in the old server worked fine with the same code and the same web.config, but in the new one, maybe I need to configure or install something.

The operative system is Windows Server 2008R2 and the website is with c# .net framework 4.0

Has anyone managed to solve it?

What I have tried:

Firewall disabled
Review permissions in folders
The webservice answered in url and soapui, but the call inside the cascading control does not resolve it
Posted
Updated 1-Jun-17 7:22am

500 errors means your code running on the server crashed for some reason.

There is no way anyone can tell you what's wrong with what you've posted. There's simply not enough information.

Look in the Application event log on the server and you might get hint on what's wrong and where to look in your code.
 
Share this answer
 
This was the solution, run this command

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -i

Note that you will need your command prompt in Administrator mode for it to work.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900