Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 529359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:05:01+00:00 2026-05-13T09:05:01+00:00

I’m using the Enterprise Library Exception handling block in an ASP.NET web application. I

  • 0

I’m using the Enterprise Library Exception handling block in an ASP.NET web application. I was just using this app yesterday at work (non-VPN) and everything worked fine. I’m working at home today and as soon as I have forms auth’d into the app, I get this error:

An error occurred creating the configuration section handler for exceptionHandling: Could not load file or assembly ‘Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (C:\Projects\ThesaurusSME\ThesaurusSME\web.config line 5)

This error hits in c:\EntLib41Src\Blocks\Common\Src\Configuration\SystemConfigurationSourceImplementation.cs, at this method:

public override ConfigurationSection GetSection(string sectionName)
{
  ConfigurationSection configurationSection = ConfigurationManager.GetSection(sectionName) as ConfigurationSection;

  SetConfigurationWatchers(sectionName, configurationSection);

  return configurationSection;
}

I have checked all the files in the bin folder and all are 4.1.0.0.

<configSections>
    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

All of the other sections of web.config that reference these sections are also showing 4.1.0.0.

If it helps, the InnerException/FusionLog says:

“=== Pre-bind state information ===
DisplayName =
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling,
Version=4.1.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35\n
(Fully-specified) LOG: Appbase =
file:///C:/Projects/ThesaurusSME/ThesaurusSME/
LOG: Initial PrivatePath =
C:\Projects\ThesaurusSME\ThesaurusSME\bin
Calling assembly : (Unknown).
=== LOG: This bind starts in default load context. LOG: Using application
configuration file:
C:\Projects\ThesaurusSME\ThesaurusSME\web.config
LOG: Using machine configuration file
from
C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference:
Microsoft.Practices.EnterpriseLibrary.ExceptionHandling,
Version=4.1.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35\r\nLOG:
Attempting download of new URL
file:///C:/Users/heckacr1/AppData/Local/Temp/Temporary
ASP.NET
Files/root/ac718580/56b7f71/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.DLL.
LOG: Attempting download of new URL
file:///C:/Users/heckacr1/AppData/Local/Temp/Temporary
ASP.NET
Files/root/ac718580/56b7f71/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.DLL.
LOG: Attempting download of new URL
file:///C:/Projects/ThesaurusSME/ThesaurusSME/bin/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.DLL.
WRN: Comparing the assembly name resulted in the mismatch: PUBLIC KEY
TOKEN ERR: Failed to complete setup of
assembly (hr = 0x80131040). Probing
terminated.
“

Why would this only happen when I’m away from the wired intranet and VPNing in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:05:02+00:00Added an answer on May 13, 2026 at 9:05 am

    You probably still aren’t having this trouble, but I found the solution here: http://chiragrdarji.wordpress.com/2009/01/05/an-error-occurred-creating-the-configuration-section-microsoftpracticesenterpriselibrarythe-located-assemblys-manifest-definition-does-not-match-the-assembly-reference/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 284k
  • Answers 284k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Are you sure you aren't looking for the events on… May 13, 2026 at 4:29 pm
  • Editorial Team
    Editorial Team added an answer To remain on the same page, leave the action attribute… May 13, 2026 at 4:29 pm
  • Editorial Team
    Editorial Team added an answer According to the documentation on the StackTrace constructor overload that… May 13, 2026 at 4:29 pm

Related Questions

I want use html5's new tag to play a wav file (currently only supported
In order to apply a triggered animation to all ToolTip s in my app,
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I've got a string that has curly quotes in it. I'd like to replace

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.