Click here to Skip to main content
16,016,669 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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



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.
Posted

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.
 
Share this answer
 
Comments
Mohamed Mitwalli 23-Apr-12 3:09am    
5 :)
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
 
Share this answer
 
Comments
Sandeep Mewara 23-Apr-12 4:56am    
Will this resolve the error? I doubt that. Web.Config still has a reference entry that is incorrect. Your said new reference will add things not modify!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900