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
  1. Home
  2. Web Development
  3. ASP.NET
  4. could not load file or assembly system.windows...The system cannot find the file specified

could not load file or assembly system.windows...The system cannot find the file specified

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-netwindows-adminhelp
16 Posts 4 Posters 0 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.
  • Richard DeemingR Richard Deeming

    From the error message, it looks like you're using a portable class library (PCL), but your server is missing a .NET Framework update from March 2011: Update for the .NET Framework 4: March, 2011[^] c# - Could not load file or assembly System, Version=2.0.5.0 in .NET 4 MVC 4 application - Stack Overflow[^]


    "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

    Z Offline
    Z Offline
    Zeyad Jalil
    wrote on last edited by
    #7

    Hi, I try to solve it using the Patch from this link which provided by you, Update for the .NET Framework 4: March, 2011[^] but it doesn't work when click the download link. Can you provide me another link to download it? Thank You

    Richard DeemingR 1 Reply Last reply
    0
    • Z Zeyad Jalil

      Hi, I try to solve it using the Patch from this link which provided by you, Update for the .NET Framework 4: March, 2011[^] but it doesn't work when click the download link. Can you provide me another link to download it? Thank You

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #8

      Download Microsoft .NET Framework 4 KB2468871 from Official Microsoft Download Center[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      Z 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Download Microsoft .NET Framework 4 KB2468871 from Official Microsoft Download Center[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        Z Offline
        Z Offline
        Zeyad Jalil
        wrote on last edited by
        #9

        hi, we download the update from the Microsoft center but still the problem exist. do you have other solution ? thank you

        Richard DeemingR 1 Reply Last reply
        0
        • Z Zeyad Jalil

          hi, we download the update from the Microsoft center but still the problem exist. do you have other solution ? thank you

          Richard DeemingR Offline
          Richard DeemingR Offline
          Richard Deeming
          wrote on last edited by
          #10

          Try installing the same version of .NET as you have on your development PC. Or just install 4.6.2[^], which is the latest version.


          "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

          "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

          Z 1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Try installing the same version of .NET as you have on your development PC. Or just install 4.6.2[^], which is the latest version.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            Z Offline
            Z Offline
            Zeyad Jalil
            wrote on last edited by
            #11

            Hi, Can you describe the issue cause to me, i need to solve it and work on framework 4.0 and I can't upgrade to framework greater than 4.0 because I use a third party tools which work only on framework 4.0. If we solve it this will good, otherwise we need to upgrade all used tools. thank you

            Richard DeemingR 1 Reply Last reply
            0
            • Z Zeyad Jalil

              Hi All, I develop an ASP.Net Web Application (Classic) .Net-framework 4.0 and every thing ok, but when publish the application on IIS and open the login page some and click the login button this error shown some times: "could not load file or assembly system.windows., Version 2.0.5.0, Culture=netural, PublicKeyTocken=7cec85d7bea7798e or one of its dependencies. The system cannot find the file specified" Please let me know hot to solve it and what is the reason? Thank All

              Z Offline
              Z Offline
              ZurdoDev
              wrote on last edited by
              #12

              zead jalil wrote:

              could not load file or assembly system.windows

              Are you referencing anything in System.Windows? Since it is a web app, you shouldn't be. Look in your references and make sure all dlls are in the bin folder that need to be.

              There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

              Z 2 Replies Last reply
              0
              • Z Zeyad Jalil

                Hi, Can you describe the issue cause to me, i need to solve it and work on framework 4.0 and I can't upgrade to framework greater than 4.0 because I use a third party tools which work only on framework 4.0. If we solve it this will good, otherwise we need to upgrade all used tools. thank you

                Richard DeemingR Offline
                Richard DeemingR Offline
                Richard Deeming
                wrote on last edited by
                #13

                As I said in my first reply, it's an issue with portable class libraries (PCLs). The 2011 update allows PCLs to locate the appropriate runtime versions of the v2.0.5.0 files.


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                1 Reply Last reply
                0
                • Z ZurdoDev

                  zead jalil wrote:

                  could not load file or assembly system.windows

                  Are you referencing anything in System.Windows? Since it is a web app, you shouldn't be. Look in your references and make sure all dlls are in the bin folder that need to be.

                  There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                  Z Offline
                  Z Offline
                  Zeyad Jalil
                  wrote on last edited by
                  #14

                  really I didn't use any windows dll, and I don't know the reason and try all possible solutions such as fix framework 4.0, and many solution I got it from research.

                  1 Reply Last reply
                  0
                  • Z ZurdoDev

                    zead jalil wrote:

                    could not load file or assembly system.windows

                    Are you referencing anything in System.Windows? Since it is a web app, you shouldn't be. Look in your references and make sure all dlls are in the bin folder that need to be.

                    There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                    Z Offline
                    Z Offline
                    Zeyad Jalil
                    wrote on last edited by
                    #15

                    Thank you very much, This Solve my problem.

                    Z 1 Reply Last reply
                    0
                    • Z Zeyad Jalil

                      Thank you very much, This Solve my problem.

                      Z Offline
                      Z Offline
                      ZurdoDev
                      wrote on last edited by
                      #16

                      Great! Glad to hear it. :thumbsup:

                      There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                      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