Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Removing traces of System.Web.Extensions.dll 3.5

Reply
Thread Tools

Removing traces of System.Web.Extensions.dll 3.5

 
 
Adam Salisbury
Guest
Posts: n/a
 
      08-21-2008
**To members of microsoft.public.dotnet.framework, apologies for the
crosspost. I originally posted this message into that group however
have since realised this may have been a better destination**

Hi all,

Wondering if anyone can help me out with an assemblies problem I'm
having.


I've got a .net 2.0 web application using AJAX 1 created with VS2005.
I also had VS2008 & .net 3.5 installed. I have since taken off
2008/3.5 and have started getting the error below when accessing one
of my pages...


Could not load file or assembly 'System.Web.Extensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or
one of its dependencies. The located assembly's manifest definition
does not match the assembly reference. (Exception from HRESULT:
0x80131040)


=== Pre-bind state information ===
LOG: User = Unknown
LOG: DisplayName = System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
(Fully-specified)
LOG: Appbase = file:///C:/Repository/APS/Client/Web/
LOG: Initial PrivatePath = C:\Repository\AMP\Client\Rio\Web\bin
Calling assembly : APS.Client.Web.HomeScreen, Version=6.0.0.332,
Culture=neutral, PublicKeyToken=1916d4122ec2e2e8.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Repository\AMP\Client
\Rio
\Web\web.config
LOG: Using host configuration file: C:\WINDOWS\Microsoft.NET
\Framework
\v2.0.50727\aspnet.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: System.Web.Extensions, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary
ASP.NET Files/rio/424e24e9/2a74040f/System.Web.Extensions.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary
ASP.NET Files/rio/424e24e9/2a74040f/System.Web.Extensions/
System.Web.Extensions.DLL.
LOG: Attempting download of new URL
file:///C:/Repository/AMP/Client/Rio/Web/bin/System.Web.Extensions.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major
Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing
terminated.


My project references System.Web.Extensions v1.0.61025.0 and as far
as
I can see have absoluetly no references to the v3.5 incarnation of
System.Web.Extensions however it refuses to use v1, no matter how
many
times I readd the reference, set "Specifc Type" property to true etc.


Before I removed 3.5 I was getting this error...


Parser Error Message: The base class includes the field
'ScriptManager2', but its type (System.Web.UI.ScriptManager) is not
compatible with the type of control (System.Web.UI.ScriptManager).
Line 62: <form id="form1" runat="server">
Line 63: <div style="text-align: center; width:100%;">
Line 64: <asp:ScriptManager ID="ScriptManager2"
runat="server">
Line 65: </asp:ScriptManager>
Line 66: <div class="ControlBox" style="text-align:
center; ">


....I had checked my project to make sure that I was referencing 1.0.6
but upon compiling it appears it decided to use 3.5 regardless, so I
assumed that removing 3.5 all together would give it no option but to
use 1.0.6, however as you can see it is still trying to find 3.5.


I've scanned by system for the 3.5 version of the DLL and can not
find
it anywhere, the closes I can see it a native image file in the GAC.


Does anyone have any ideas as to where the requirement for the 3.5
DLL
is coming from or how to get rid of it. As I said before I'm sure it
isn't from my project (very sure because the project was created on a
serperate machine with no 3.5).


Any thoughts/help would be greately appriciated...


Thanks
Adam


PS I've already tried clearing my temp ASP.Net files.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP Pro - event log removing traces of data ng_reader Computer Support 2 02-14-2007 02:14 PM
Removing All Traces of Drawn Widgets From Ruby/Tk Canvas David Bailey Ruby 0 03-07-2006 07:35 AM
How do I remove traces of old connections =?Utf-8?B?TG9yZCBTdmVu?= Wireless Networking 1 01-27-2006 04:04 PM
Allow Traceroutes Out to internet, no Pings/traces in. On Both PIX and 2610 Scott Townsend Cisco 3 10-08-2004 09:59 PM
sniffer traces Taishi Cisco 3 10-15-2003 06:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57