Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web.Extensions 3.5 conflicts with 1.0.61025

Reply
Thread Tools

Web.Extensions 3.5 conflicts with 1.0.61025

 
 
Ganesh
Guest
Posts: n/a
 
      02-26-2010
I have a Webapp which was developed for framework v2.0/lower, it
references System.Web.Extentions 1.0.61025.0
I installed .net 3.5 on that box and the working webapp starts failing
with the below error:
error CS0433: The type
'System.Web.Script.Services.ScriptMethodAttribute' exists in both 'c:
\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions
\1.0.61025.0__31bf3856ad364e35\System.Web.Extensio ns.dll' and 'c:
\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions
\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.d ll'

There is no where System.Web.Extensions 3.5 is referenced but the
runtime compiler seems to be it picking up. I also removed assembly
redirect specified for System.Web.Extensions from machine.config but
it dint make a difference.


Any idea where is my webapp referencing the 3.5 version from?
 
Reply With Quote
 
 
 
 
Andrew Morton
Guest
Posts: n/a
 
      02-26-2010
Ganesh wrote:
> I have a Webapp which was developed for framework v2.0/lower, it
> references System.Web.Extentions 1.0.61025.0
> I installed .net 3.5 on that box and the working webapp starts failing
> with the below error:
> error CS0433: The type

....
> Any idea where is my webapp referencing the 3.5 version from?


You should have checked google for the error code, which would have brought
up, e.g,
http://forums.asp.net/t/980517.aspx

Also, you might want to make sure that the web site running the application
is using the 1.1 framework. Installing the 3.5 framework might have changed
it.

--
Andrew


 
Reply With Quote
 
 
 
 
Ganesh
Guest
Posts: n/a
 
      02-26-2010
Thanks Andrew...I checked that... I kinda know why I get into the
problem. In the web.config of my webapp, I have just referenced 1.0
version of extensions. I have also removed any reference to 3.5
version of extensions in machine.config but still my web while
compiling in runtime references
I wana figure out from where the compiler is adding the reference to
3.5.
Configuration files checked for no reference to 3.5 dll:
webapp web.config
global web.config
machine.config


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework
\v3.5\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL
\Microsoft.Practices.EnterpriseLibrary.Common\3.1. 0.0__1809b656db4db36f
\Microsoft.Practices.EnterpriseLibrary.Common.dll" /R:"C:\WINDOWS
\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e08 9\System.dll" /R:"C:
\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorl ib.dll" /R:"C:
\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serializ ation
\3.0.0.0__b77a5c561934e089\System.Runtime.Serializ ation.dll" /R:"C:
\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions
\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.d ll"
 
Reply With Quote
 
Ganesh
Guest
Posts: n/a
 
      02-26-2010
I found the problem. There was a web.config in c:\inetpub\wwwroot
which had references to system.web.extensions 3.5 dll
Removing the reference from wwwroot web.config made my old app work...
 
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
networking- ip conflicts =?Utf-8?B?R29yZG9u?= Wireless Networking 5 11-10-2005 08:28 PM
Wireless access point conflicts max Wireless Networking 2 03-23-2005 10:07 PM
Conflicts between Firefox and Adobe? J Firefox 6 01-03-2005 12:18 PM
Conflicts with radio telephones - channel changes? Stuart B Wireless Networking 2 11-02-2004 12:38 AM
Runtime Library Conflicts JonoMG ASP .Net 0 04-07-2004 01:23 AM



Advertisments