ASP.NET IIS 和框架
我有一个 ASP.NET Web 应用程序项目,是在 Visual Studio 2008、.NET 3.5 Framework、IIS 6.1 中创建的,我正在使用 Ajax updatepanel、用于在网格视图中缓存数据表的缓存选项。该项目在本地运行良好,但是当我部署在证书环境(.NET Framework 2.0 和 IIS 6.0)中时,我遇到了缓存问题。
所以,现在我正在尝试将项目从 3.5 框架更改为 2.0 框架。但我遇到了 Ajax 更新面板错误。
如何解决这个问题?
I have one ASP.NET web application projrct, created in Visual Studio 2008, .NET 3.5 Framework, IIS 6.1 and I'm using Ajax updatepanel, cache options for caching the datatable in a gridview. This project is working good in local, but when I deployed in a cert environment (.NET Framework 2.0 and IIS 6.0) I faced that caching issue.
So that, now I'm trying to change the project from 3.5 to 2.0 framework. But I'm facing an Ajax update panel error.
How can this problem be fixed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你是说目标框架吗?您可以右键单击应用程序名称,然后单击“属性页”,在其中转到“构建”,然后选择目标框架为2.0。
另外,看看这个:
http://msdn2.microsoft.com/en-us/库/bb398791(VS.90).aspx
参考: http://forums.asp.net/t/1194067.aspx
它将但不是很直接。因为可能有些语言功能仅在 3.5 中可用。
You mean the target framework? You can right click the application name and then click on Property Pages, in that go to Build and then choose the target framework to 2.0.
Also, have a look at this:
http://msdn2.microsoft.com/en-us/library/bb398791(VS.90).aspx
reference : http://forums.asp.net/t/1194067.aspx
It will not be very straight forward though. As there may be some language features that are only available in 3.5.
ASP.NET 2.0 的 ASP.NET AJAX 框架有一个单独的 DLL,您必须从此链接手动安装:http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang =en
您还必须使用旧版本的 AJAX 控制工具包;最新版本仅支持 3.5 和 4.0。
HTH。
The ASP.NEt AJAX framework for ASP.NET 2.0 has a separate DLL you have to install manually from this link: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang=en
You'll have to use an older version of the AJAX control toolkit too; the latest is only supported on 3.5 and 4.0.
HTH.