sunilpasupunuri
asked on
Not able to add dll into website using add reference
Hi,
When build the project, gets error as
Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35' or one of its dependencies. The system cannot find the file specified.
I am not able add reference this .net extension system.web.extension.
What i can do? and the error dll version and .net 2.0 dll version different.
Not-able-to-add-dll-using-add-re.png
When build the project, gets error as
Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad3
I am not able add reference this .net extension system.web.extension.
What i can do? and the error dll version and .net 2.0 dll version different.
Not-able-to-add-dll-using-add-re.png
Have you installed AJAX?
ASKER
Hi,
I have installed ajax ASP.NET AJAX 1.0 then get error as
The type
'System.Web.Script.Service s.ScriptMe thodAttrib ute'
exists in both
'c:\Windows\assembly\GAC_M SIL\System .Web.Exten sions\1.0. 61025.0__3 1bf3856ad3 64e35\Syst em.Web.Ext ensions.dl l'
and 'c:\Windows\assembly\GAC_M SIL\System .Web.Exten sions\3.5. 0.0__31bf3 856ad364e3 5\System.W eb.Extensi ons.dll'
AJAX-Installed-after-get-error.png
I have installed ajax ASP.NET AJAX 1.0 then get error as
The type
'System.Web.Script.Service
exists in both
'c:\Windows\assembly\GAC_M
and 'c:\Windows\assembly\GAC_M
AJAX-Installed-after-get-error.png
Check your web.config
Remove one with version Version=1.0.61025.0
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Exten sions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35"/>
..........
<add assembly="System.Web.Exten sions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3 64E35"/>
</assemblies>
</compilation>
Remove one with version Version=1.0.61025.0
<compilation debug="true">
<assemblies>
<add assembly="System.Web.Exten
..........
<add assembly="System.Web.Exten
</assemblies>
</compilation>
ASKER
Hi, i have removed the above mentioned code then gets so many errors
I have attached the screenshot for error and web config file
commented-mentioned-line.png
Web.config
I have attached the screenshot for error and web config file
commented-mentioned-line.png
Web.config
Show your web.config
ASKER
i already sent web config file
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.