web.confg文件中的错误 [英] Error in web.confg file

查看:78
本文介绍了web.confg文件中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我使用VS2008进行网站开发.

但是我已经在计算机上安装了VS 2010,并卸载了VS2008.

我在VS2010中打开了我的网站,试图运行BUT,但出现以下错误

Hi All,

I was using VS2008 for my website development.

BUT I have installed VS 2010 on my machine and uninstalled VS2008.

I have open my website in VS2010 tried to run BUT it is giving following error

Error    30  Could not load file or assembly ''Microsoft.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'' or one of its dependencies. The system cannot find the file specified.    D:\mysite\web.config    113




当我第一次打开我的网站时,VS2010要求我提供更新框架,那时候我单击了否"

请帮帮我

谢谢.




When first time i was open my website then VS2010 asked me for update framework that time I have clicked on ''No''

Please help me

Thanks.

推荐答案

Microsoft.Web.Extensions dll与AJAX相关.进行了更改和升级.

有两种选择:
1.在VS2010中再次打开旧项目,然后让VS自己对其进行升级,或者
2.创建一个新的虚拟网站,复制Web.Config的默认内容,并将其替换为当前的应用程序Web.Config.如果替换了连接字符串等,则添加任何额外的配置数据.

您所需要做的就是按照VS2010制作Web.Config文件.
Microsoft.Web.Extensions dll are related to AJAX. There were changes and upgrade.

There are two options:
1. Either open the old project again in VS2010 and let the VS upgrade it by itself OR
2. Create a new dummy website, copy the Web.Config default content and replace it with your current application Web.Config. Add any extra config data if got replaced like connectionstring, etc.

All you need is to make the Web.Config file as per VS2010.


不要打扰...

...按照以下步骤操作

1)右键单击bin asp.net文件夹

2)点击添加参考

3)选择.net选项卡,然后选择System.Web.Extension

4)单击确定"并构建解决方案



希望它对你有用....检查出来
Don''t bother...

...Follow below steps

1)Right click on bin asp.net folder

2)click on add reference

3)Select .net tab and choose System.Web.Extension

4)Click ok and build solution



Hope It will work for u....check it out


这篇关于web.confg文件中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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