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 6624323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:38:19+00:00 2026-05-25T21:38:19+00:00

I worked on registering the Enterprise Library assemblies into the Global Assembly Cache (GAC).

  • 0

I worked on registering the Enterprise Library assemblies into the Global Assembly Cache (GAC). I am using version 5.0 of the Enterprise Library that I signed with my own key, and I am using the assemblies in a number of .NET 4.0 applications.

After successfully registering the Enterprise Library assemblies into the GAC, the application started with this message:

The type ‘Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling’ cannot be resolved. Please verify the spelling is correct or that the full type name is provided.

When I unregister the Enterprise Library assemblies from the GAC, the application returns to normal operating conditions.

What is causing the application to fail when the Enterprise Library assemblies are registered into the GAC?

  • 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-25T21:38:19+00:00Added an answer on May 25, 2026 at 9:38 pm

    This required quite a bit of hunting to figure out what happened. As it turns out, the Enterprise Library internally uses partial names to load type dynamically. In this case, the Enterprise Library is trying to load Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter dynamically because it appears in the configuration file.

    To get around partial name references at runtime, simply enter a qualifyAssembly element in the configuration file (see <qualifyAssembly> Element in the MSDN documentation).

    In my case, all I needed to enter was this entry:

    <runtime>
      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <qualifyAssembly partialName="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling" 
                           fullName="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
      </assemblyBinding>
    </runtime>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I worked for a company that had both Java and .NET implementations of an
I worked with a graphic designer that did not clone from my github account.
im worked in soap message, using SAXparser to retrieve the value(from Webservice) stored in
I worked in flash cs3. Have People.swf- library MovieClips, they have export for actionscript
We have a mature c++ COM codebase that has been building, registering and running
I worked on a project that had the following requirement: TableA is the parent
I have an asyncfileupload control that I'm using from the ajaxcontroltoolkit. On the file
Worked fine before I threw it into a class. Any help for resolving this
I worked with rails around the year ago. Now I get the new version
It worked fine and then it just stopped working. version 1.9.4

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.