|
 |
BOOK: ASP.NET 3.5 Website Programming Problem Design Solution
 | This is the forum to discuss the Wrox book ASP.NET 3.5 Website Programming Problem Design Solution by Chris Love; ISBN: 978-0-470-18758-6 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 3.5 Website Programming Problem Design Solution section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
|
 |
|
|

June 22nd, 2010, 09:00 PM
|
Authorized User
|
|
Join Date: Apr 2010
Location: Seattle, WA
Posts: 50
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
I get error in web.config file - prevents compilation
Error 4 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. c:\inetpub\wwwroot\WebSiteDDL1\web.config 32
The line basically is:
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
....
---
|

June 23rd, 2010, 02:35 AM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
|
|
Hi there,
And where do you get this? Where does the config code from? And in what version of Visual Studio and .NET? The error message seems to suggest the project relies on AJAX. This used to be a separate download but has now been integrated into .NET in 3.5 and later and as such no longer requires the separate install when using .NET 3.5.
If it's indeed AJAX, try creating a brand new web site in Visual Studio 2008 and then copy over the config from the new project to yours, leaving project specific stuff in place.
Cheers,
Imar
|

June 23rd, 2010, 05:08 PM
|
Authorized User
|
|
Join Date: Apr 2010
Location: Seattle, WA
Posts: 50
Thanks: 3
Thanked 0 Times in 0 Posts
|
|
I thought I need to add references to the system.web.extensions.dll and system.web.extensions.design.dll file to the Visual Studio project. I do have those files, but, in later versions of .NET. So, I have to change the target .NET functions if were to use those .dll files. I'm not quite sure how I change the target .NET version in VS 2008 or VS 2010!
|

June 24th, 2010, 04:49 AM
|
 |
Wrox Author
Points: 72,055, Level: 100 |
|
|
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
|
|
Hi there,
For a web site project, right-click the project, choose Property Pages and then in the Build category choose the correct framework.
For a web application project, right-click the project, choose Properties and change the target framework on the Application tab.
Hope this helps,
Imar
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |