This is a migrated thread and some comments may be shown as answers.

Script Manager exists in both GACs!

5 Answers 323 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 2
Veteran
Roger asked on 07 Nov 2008, 05:58 AM
Hi - just downloaded Telerik controls and now I can't get any of my websites to compile.  I am using VWD Express 2008 and getting messages like

Error    18    The type 'System.Web.UI.ScriptManager' exists in both
'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll' and
 'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll'   
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\_salesraw\3f1a6d98\c087e20c\App_Web_uqevys61.0.cs    202   

I'm really stuck - any help greatly appreciated.

Roger



5 Answers, 1 is accepted

Sort by
0
Missing User
answered on 10 Nov 2008, 08:28 AM
Hello Roger,

The error message indicates that the VWD Express 2008 system detect both 1.0 and 3.5 version of the AJAX extension framework. Actually, AJAX extension framework is the core framework (contains the base classes of AJAX system). You can review the following forum:

http://forums.microsoft.com/MSDN/ShowPost.aspx?siteid=1&PostID=1996297



Greetings,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nilesh
Top achievements
Rank 1
answered on 17 Mar 2009, 12:03 PM
Hello,

I am getting this error when I used Telerik RAD Combo in the project already using AJAX control toolkit.

Can any one here provide me straight forward solution? other blogs are too confusing/

thanks

Nilesh Makwana
0
Nilesh
Top achievements
Rank 1
answered on 17 Mar 2009, 01:13 PM
It was too simple man, I found it

add the fol. lines in web.config before the end tag </configuration>

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

it works fine

Regards,
Nilesh Makwana
I-Link Infosoft


0
Test
Top achievements
Rank 1
answered on 11 Apr 2013, 01:31 AM
It does not work for me.

can anyone help me to overcome this issue? 

error CS0433: The type 'System.Web.UI.ScriptManager' exists in both 'c:\Users\username\AppData\Local\Temp\Temporary ASP.NET Files\appname.web\2b4135e5\a028d4b8\assembly\dl3\84ffdd32\6596bf53_b0b0cb01\system.web.extensions.DLL' and 'c:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll'

0
shashwat
Top achievements
Rank 1
answered on 12 Nov 2018, 04:02 AM

Right click on your solution.

Open Property Pages.

In References remove System.Web.extensions 3.5 version.

Happy coding....(y)

Tags
General Discussions
Asked by
Roger
Top achievements
Rank 2
Veteran
Answers by
Missing User
Nilesh
Top achievements
Rank 1
Test
Top achievements
Rank 1
shashwat
Top achievements
Rank 1
Share this question
or