Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Update to .Net 3.5

Posted on 2008-11-11
3
Medium Priority
?
758 Views
Last Modified: 2013-11-08
I updated to the .NET 3.5 framework.

I now get the following compile error when I build my C# project.

How can I fix this ?

Error      1      
The type 'System.Web.Script.Services.ScriptServiceAttribute' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'      C:\Src\App_Code\iProfileProxy.cs      21      29      C:\Src\
0
Comment
Question by:pillmill
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
elimesika earned 2000 total points
ID: 22937803
HI

This is a know problem that has a fix :
http://www.west-wind.com/WebLog/posts/123925.aspx
look at the "Make sure you install the MS AJAX Patch" section
0
 

Author Comment

by:pillmill
ID: 22957654
Hi:

Thanks. I ran the MS AJAX patch script, but I have the same error
when I compile my project.
0
 

Author Comment

by:pillmill
ID: 22957687
I removed earlier versions of .NET framework, but now get the error:

Error      1      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:\Src\web.config      68      
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question