将网站发布到 Windows 2008 服务器时出现问题

发布于 2024-09-26 03:19:03 字数 449 浏览 1 评论 0原文

我有一个使用 Visual Studio 2005 - .Net Framework 2.0 创建的启用 Ajax 的 Web 应用程序。我将其发布到 Windows 2003 服务器,一切正常。

我现在需要发布到带有 IIS 7.0 的 Windows 2008 服务器。而之前我曾经发布到 http:// ....(因为 2003 服务器上的站点启用了 Frontpage 服务器扩展)我看不到如何在 IIS 7.0 中执行此操作,因此我已发布到服务器位于 \servername\websites\nameofwebsite

当我尝试运行该网站时,我得到以下信息:

无法加载文件或程序集 'System.Web.Extensions,Version=1.0.61025.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35' 或其之一系统找不到指定的文件,

非常感谢。

I have an Ajax enabled web app created with Visual Studio 2005 - .Net framework 2.0. I publish this to a Windows 2003 server and everything works fine.

I now need to publish to a Windows 2008 server with IIS 7.0 on it. Whereas before I used to publish to http:// .... (because the site on the 2003 server was Frontpage server extension enabled} I can't see how to do this in IIS 7.0 so I have published to a share on the server at \servername\websites\nameofwebsite

When I try to run the site I get this:

Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Any help much appreciated.

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

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

发布评论

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

评论(2

栖迟 2024-10-03 03:19:03

我更喜欢发布到 FTP 站点。这是一个更简单的设置,并且 Visual Studio 的发布过程是相同的。

IIS 中网络发布的设置非常复杂。

FTP 服务器可以是 IIS 或任何其他 FTP 服务器软件。

I prefer to publish to an FTP site. It is a much simpler setup and the publishing procedure from visual studio is the same.

The setup of web-publishing in IIS is just to complicated.

The FTP server can be either IIS or any other FTP server software.

梅倚清风 2024-10-03 03:19:03

System.Web.Extensions 程序集是 Asp.Net Ajax 1.0。您是否在 2008 服务器上安装了它,或者您的 site bin 文件夹中是否有 .dll 文件?

如果您在 C:\Windows\Assembly 中找不到程序集(还要检查版本),您可以 下载并安装它或将.dll文件放入站点bin文件夹中(您应该能够在开发计算机上找到它)。

The System.Web.Extensions assembly is the Asp.Net Ajax 1.0. Have you installed it on the 2008 server or do you have the .dll file located in sites bin folder?

If you can't find the assembly in C:\Windows\assembly (also check the version) you can either download and install it or put the .dll file into the sites bin folder (you should be able to find it on your development computer).

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