如何从IIS上的Visual Studios托管ASMX?

时间:2012-09-27 18:29:06

标签: visual-studio iis asmx

我已经在Visual Studio中创建了一个完整功能的Web服务,因为我已经能够通过localhost进行测试。我试图通过一些随机指南从视觉工作室发布它,但每次我尝试它时我都会遇到错误。

这是我最近的错误。

Error   3   Web deployment task failed. (The specified credentials cannot be used with the authentication scheme 'Basic'.)

The specified credentials cannot be used with the authentication scheme 'Basic'.
Default credentials cannot be supplied for the Basic authentication scheme.
Parameter name: authType        0   0   RacoCS

我以前的错误是参考我试图发布它的网址。

1 个答案:

答案 0 :(得分:0)

您尝试使用哪种发布方法。 Visual Studio允许您以各种方式发布Web应用程序。出现问题的可能性较小的是文件系统,然后在IIS中手动创建指向发布文件所在目录的网站。祝你好运