Parser Error Message: Could not load file or assembly ‘System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.

 

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service
this request. Please review the specific error details below and modify your configuration file
appropriately.

Parser Error Message: Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system
cannot find the file specified.

Source Error:

Line 46: 				<add assembly="System.Xml.Linq, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 47: 				<add assembly="System.Data.Linq, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 48: 				<add assembly="System.Web.Entity, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 49: 				<add assembly="System.Data.Entity, Version=3.5.0.0,
Culture=neutral,PublicKeyToken=B77A5C561934E089"/></assemblies>
Line 50: 		</compilation>

This error message means you are trying to load the Assemblies likely found in .NET 3.5 Service pack one and the server you are on does not support nor include it.  Easy to fix, download the zip file below, unzip it, create a folder named “bin” sans quotes in your webroot and place the 2 files within the zip into that folder.  That’s it.  I have taken these files from a server I had running the correct version.  As with any download, be cautious and use at your own risk.

Click here for the zip file.

 


Posted

in

by

Tags:

Comments

4 responses to “Parser Error Message: Could not load file or assembly ‘System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.”

  1. Gezani Avatar
    Gezani

    My error can not be solved by the zip file

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: Could not load file or assembly ‘System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 55:
    Line 56:
    Line 57:
    Line 58:
    Line 59:

    Source File: C:\Development\PPSDEV\SM2.2\PPS.SM\web.config Line: 57

    Assembly Load Trace: The following information can be helpful to determine why the assembly ‘System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ could not be loaded.

    === Pre-bind state information ===
    LOG: User = BELAY\gezani
    LOG: DisplayName = System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    (Fully-specified)
    LOG: Appbase = file:///C:/Development/PPSDEV/SM2.2/PPS.SM/
    LOG: Initial PrivatePath = C:\Development\PPSDEV\SM2.2\PPS.SM\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Development\PPSDEV\SM2.2\PPS.SM\web.config
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Post-policy reference: System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/af018dfa/16a4a250/System.Web.Entity.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/af018dfa/16a4a250/System.Web.Entity/System.Web.Entity.DLL.
    LOG: Attempting download of new URL file:///C:/Development/PPSDEV/SM2.2/PPS.SM/bin/System.Web.Entity.DLL.
    LOG: Attempting download of new URL file:///C:/Development/PPSDEV/SM2.2/PPS.SM/bin/System.Web.Entity/System.Web.Entity.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/af018dfa/16a4a250/System.Web.Entity.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/af018dfa/16a4a250/System.Web.Entity/System.Web.Entity.EXE.
    LOG: Attempting download of new URL file:///C:/Development/PPSDEV/SM2.2/PPS.SM/bin/System.Web.Entity.EXE.
    LOG: Attempting download of new URL file:///C:/Development/PPSDEV/SM2.2/PPS.SM/bin/System.Web.Entity/System.Web.Entity.EXE.

    ________________________________________
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

  2. feonix83 Avatar

    I emailed this person directly and it turns out my files did help, however there was a secondary coding issue they figured out that fixed the rest of their issue.

  3. Amit Gal Avatar
    Amit Gal

    I developed the application using Visual Web Developer 2008 and since publish isn’t possible, I placed the application in .Net 3.5 and encountered this problem. Your solution worked easily – thanks alot.

Leave a Reply

Your email address will not be published. Required fields are marked *