Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/312.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 访问MVC控制器时使用Http 404_C#_Asp.net Mvc_Windows Authentication - Fatal编程技术网

C# 访问MVC控制器时使用Http 404

C# 访问MVC控制器时使用Http 404,c#,asp.net-mvc,windows-authentication,C#,Asp.net Mvc,Windows Authentication,我有一个MVC应用程序。我正在使用HTTP post方法路由到控制器。当我在本地机器上运行应用程序时(使用VS),它工作正常。但当我部署它并通过链接访问时,它就不起作用了 我使用fiddler调试路由。它指定以下错误 No Proxy-Authenticate Header is present. No WWW-Authenticate Header is present. 我使用了windows身份验证,并同样配置了IIS。在同一个应用程序中,GET方法工作正常。您的控制器代码是什么样子的?

我有一个MVC应用程序。我正在使用HTTP post方法路由到控制器。当我在本地机器上运行应用程序时(使用VS),它工作正常。但当我部署它并通过链接访问时,它就不起作用了

我使用fiddler调试路由。它指定以下错误

No Proxy-Authenticate Header is present.
No WWW-Authenticate Header is present.

我使用了windows身份验证,并同样配置了IIS。在同一个应用程序中,GET方法工作正常。

您的控制器代码是什么样子的?您使用的URL是什么?它是POST/Potential/UpdateStatus HTTP/1.1