无法创建网站错误(新)

发布于 2024-08-26 02:22:15 字数 990 浏览 2 评论 0原文

我将 ClickOnce 部署复制到 Web 服务器上的 C:/Inetpub/ 文件夹,并删除了虚拟目录。我在 Win 资源管理器中删除了 wwwroot 下的 WpfApplication1 文件夹。然后我打开了该文件夹的网络共享。然后我查看了 IIS 管理器,这个新的共享名称出现在 wwwroot 下。

现在,在我的 Web 服务器上的 Inetpub 文件夹下,我有以下目录路径: C:\Inetpub\WpfApplication1\

内容为: 申请文件 发布.htm 安装程序 WpfApplication1.application

接下来,我将项目的发布和安装 URL 重新映射到 http://myserver/WpfApplication1/ 我单击“立即发布”。

但在执行“立即发布”操作后,我的开发服务器 (D610-M) 上出现以下错误:

Error 1 Failed to connect to 'http://myserver/WpfApplication1/',出现以下错误:无法创建网站 'http: //myserver/WpfApplication1/'。 Web 服务器似乎没有启用任何身份验证方法。它请求用户身份验证,但没有发送 WWW-Authenticate 标头。 1 1 Wpf应用程序1 在我的 Web 服务器上,当我从 WpfApplication1 目录上的 IIS 管理器中单击“浏览”时,它会显示“安装”页面。但是当我单击“浏览”按钮后,它返回一个错误,其中显示: 无法解析远程名称:“d610-m”(D610-M 是我的开发服务器的名称)。

我该如何解决这个问题?

I copied my ClickOnce deployment to my C:/Inetpub/ folder on my webserver and I deleted my Virtual directory. I deleted the WpfApplication1 folder beneath wwwroot in Win Explorer. Then I turned on Web Sharing for this folder. Then I viewed my IIS Manager and this new Share name appeared under wwwroot.

So now under Inetpub folder on my web server I have the following directory path:
C:\Inetpub\WpfApplication1\

with contents:
Application Files
publish.htm
setup.exe
WpfApplication1.application

Next, I remapped both the publishing and installation URL's for the project to http://myserver/WpfApplication1/
And I clicked Publish Now.

But after I performed a Publish Now operation, I got the following error on my development server (D610-M):

Error 1 Failed to connect to 'http://myserver/WpfApplication1/' with the following error: Unable to create the Web site 'http://myserver/WpfApplication1/'. The Web server does not appear to have any authentication methods enabled. It asked for user authentication, but did not send a WWW-Authenticate header. 1 1 WpfApplication1
On my webserver, when I click Browse from the IIS Manager on the WpfApplication1 directory, it shows me the Install page. But after I click the Browse button, it returns an error which says:
The remote name could not be resolved: 'd610-m' (D610-M is the name of my development server).

How do I fix this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蘑菇王子 2024-09-02 02:22:15

尝试使用计算机的 IP 地址而不是 DNS 名称...

Try using the IP address of the machine instead of the DNS name...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文