ajax部署3.5 v 4 [英] ajax deployment 3.5 v 4

查看:80
本文介绍了ajax部署3.5 v 4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个ajaxtools网站,在vs2010中使用.NET4和ajax4。当试图在服务器上部署它以共享主机站点时,ajaxtools页面不起作用。当我禁用ajax功能时,网站就可以了。

主机说.net4可用,但只有ajax 3.5。

是否存在已知的问题ajax 4.0并在ajax3.5中部署,如果有,是否有解决方法?

I developed an ajaxtools website that works in vs2010 using.net4 and ajax4. When tried to deploy it on server for shared hosting site, the ajaxtools pages didn''t work. When I disabled the ajax functions, the website otherwise works.
The host says that .net4 is available, but only ajax 3.5.
Is there a known problem with developing in ajax 4.0 and deploying in ajax3.5, and if so, is there a workaround?

推荐答案

在ajax 4.0中开发和部署是否存在已知问题在ajax3.5中,

这不是问题!如果你在v4上构建一些东西并尝试使用以前的旧版本,那么你一定会遇到问题!这是按照设计。



如果你在Web.Config文件中看到,它必须有基于v4.0的引用。如果您希望它与v3.5一起使用,则需要进行/更改您的配置以引用v3.5版本。最简单的方法是使用v3.5创建一个新网站,然后从那里复制web.config。
Is there a known problem with developing in ajax 4.0 and deploying in ajax3.5,
It''s not a problem! If you build something on v4 and try to use a previous old version then you are bound to have issues! It''s as per design.

If you see in Web.Config file, there must be references in it based on v4.0. If you want it to work with v3.5 , you need to make/change your config to reference v3.5 version. Easiest way would be to create a new website with v3.5 and then copy the web.config from there.


这篇关于ajax部署3.5 v 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆