ASMX +外部动态链接库

发布于 2024-08-11 01:26:36 字数 489 浏览 1 评论 0原文

我正在开发 Microsoft Team Foundation Server 的 Silverlight 客户端。我正在使用 ASMX Web 服务通过 TFS api 进行实际调用。

当我使用 Visual Studio 开发服务器运行它时,一切正常,但我不知道如何将应用程序部署到 IIS。

我可以让 ASMX Web 服务正常工作,除非它是使用 TFS api 的调用。我尝试过将所有 TFS api DLL 放入我能想到的每个目录中,甚至安装 Visual Studio sdk。什么都不起作用!

更新 11/15/09 7:50PM EST:

事实证明,TFS api 试图在 c:\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Team 处创建缓存Foundation\2.0\Cache\,而 IIS_WPG 用户无权执行此操作。轻松修复。

I am working on Silverlight client to Microsoft Team Foundation Server. I am using an ASMX web service to make the actual calls using the TFS api.

Everything works fine when I run it with the visual studio development server, but I cannot figure out how to deploy the app to IIS.

I can get the ASMX web service to work unless it is a call that uses the TFS api. I have tried putting all of the TFS api DLLs in like every directory that I can think of, and even installing the visual studio sdk. Nothing works!

UPDATE 11/15/09 7:50PM EST:

Turns out that the TFS api was trying to create a cache at c:\Documents and Settings\Default User\Local Settings\Application Data\Microsoft\Team Foundation\2.0\Cache\, and the IIS_WPG user didn't have access to do so. Easy fix.

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

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

发布评论

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

评论(1

因为看清所以看轻 2024-08-18 01:26:36

安装 TFS API 的唯一受支持的方法是安装 Team Explorer。您可以尝试仅对您需要的程序集进行 GAC,但您只能靠自己[并且在技术上违反了 EULA]...

其他需要检查的事项:

  • IIS 正在 32 位模式下运行
  • 模拟工作正常
  • 代理设置

您出现了什么错误得到?您是否尝试过将调试器附加到 IIS?

The only supported way of installing the TFS API is to install Team Explorer. You could try to GAC just the assemblies you need, but you're on your own [and technically violating the EULA]...

Other things to check:

  • IIS is running in 32 bit mode
  • Impersonation is working correctly
  • Proxy settings

What error do you get? Have you tried attaching a debugger to IIS?

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