The HTTP verb POST used to access path '/Membership/user/' is not allowed

后端 未结 1 354
一生所求
一生所求 2021-01-24 16:32

This code:

private void Submit_Click(object sender, RoutedEventArgs e)
{
 user temp = new user();
 temp.Username = UserName.Text;
 temp.Password = Password.Text         


        
相关标签:
1条回答
  • 2021-01-24 17:20

    I got a similar problem, it seems that there are problems with the url rewriting.

    http://www.lukemelia.com/blog/archives/2007/01/05/aspnet-the-http-verb-post-used-to-access-path-is-not-allowed/

    You have to remove the mapping of ‘*’ to aspnet_isapi.dll in yourIIS settings.

    0 讨论(0)
提交回复
热议问题