Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Assembly Erro

Assembly Erro

Scheduled Pinned Locked Moved ASP.NET
dotnettoolshelptutorialquestion
4 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pss srinivasan
    wrote on last edited by
    #1

    Hi I created web project in 2005 and opened in 2008 . now this error i am getting

    Error 27 The type 'System.Web.Script.Services.ScriptServiceAttribute' 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'

    How to solve this?

    S S V 3 Replies Last reply
    0
    • P pss srinivasan

      Hi I created web project in 2005 and opened in 2008 . now this error i am getting

      Error 27 The type 'System.Web.Script.Services.ScriptServiceAttribute' 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'

      How to solve this?

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Hi, take a look in your web.config. All referenced assemblies must be listed there. Remove the entry for the System.Web.Extensions.dll version 1.0.61025.0 and try again. Let me know if this helps. Regards Sebastian

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      1 Reply Last reply
      0
      • P pss srinivasan

        Hi I created web project in 2005 and opened in 2008 . now this error i am getting

        Error 27 The type 'System.Web.Script.Services.ScriptServiceAttribute' 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'

        How to solve this?

        S Offline
        S Offline
        saini arun
        wrote on last edited by
        #3

        VS 2008 has built in support for ajax which was not present in VS 2005 that is why you are facing this error. Try this

        1 Reply Last reply
        0
        • P pss srinivasan

          Hi I created web project in 2005 and opened in 2008 . now this error i am getting

          Error 27 The type 'System.Web.Script.Services.ScriptServiceAttribute' 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'

          How to solve this?

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          in your Project you have referenced an Assembly with this Version 1.0.61025.0 and you opened your Project VS 2008 and Automatically it added 3.5.0.0 now you need to use one. Remove the old one that targets 2.0 <b>1.0.61025.0</b> and leave the 3.5 one. remove it in the webconfig.

          Vuyiswa Maseko, Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code. C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.com vuyiswa@its.co.za http://www.itsabacus.co.za/itsabacus/

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups