无法将 WCF 项目发布到我的开发 SharePoint Server 上的 IIS

发布于 2024-10-09 22:41:49 字数 396 浏览 0 评论 0原文

我有一台虚拟机,已设置用于进行 SharePoint 开发。我正在尝试测试 WCF 服务交互(外部数据列表)。

当我从 Visual Studio 2010 发布我的服务时,出现以下错误:

Visual Web Developer 不支持在 SharePoint Web 服务器上创建网站

好吧,我想。我只会创建该网站。所以我进入 IIS 并创建了该网站。然后我尝试再次部署(到 http://localhost/MySiteName)。但我得到了同样的错误!我很困惑,因为我创建了该网站。我现在只是想部署到它。

我该怎么做才能让它发挥作用?

I have a Virtual Machine that I have setup to do SharePoint Development. I am trying to test WCF Service interaction (external data lists).

When I go to publish my service from visual studio 2010 I get this error:

Visual Web Developer does not support creating Web sites on a SharePoint Web server

OK, I thought. I will just create the site. So I went into IIS and created the site. I then tried to deploy again (to http://localhost/MySiteName). But I got the same Error! I am confused because I have created the site. I am just trying to deploy to it now.

What can I do to get this working?

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

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

发布评论

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

评论(1

匿名的好友 2024-10-16 22:41:49

C:\Program Files\Common Files\Microsoft Shared\web server extensions\50\isapiowssrv.dll 重命名为 owssrv.dll_backup 后尝试代码> 文件夹。

希望这对你有用。

Try after renaming the owssrv.dll to owssrv.dll_backup at C:\Program Files\Common Files\Microsoft Shared\web server extensions\50\isapi folder.

Hope this will work for you.

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