[Asp.net] Microsoft. Practices. enterpriselibrary. Common. configuration. objectbuilder. enterpriselibraryf

Source: Internet
Author: User

Framework user Code System. typeinitializationexception not processed
An exception is thrown when you set the parameter value of the type "Microsoft. Practices. enterpriselibrary. Common. configuration. objectbuilder. enterpriselibraryfactory. "
Source = "Microsoft. Practices. enterpriselibrary. Common"
Typename = "Microsoft. Practices. enterpriselibrary. Common. configuration. objectbuilder. enterpriselibraryfactory"
Stacktrace:
In Microsoft. Practices. enterpriselibrary. Common. configuration. objectbuilder. enterpriselibraryfactory. buildup [T] (string ID, iconfigurationsource configurationsource)
In Microsoft. Practices. enterpriselibrary. Common. configuration. objectbuilder. nametypefactorybase '1. Create (string name)
In Microsoft. Practices. enterpriselibrary. Data. databasefactory. createdatabase (string name)
In Dal. testdal. get_db () Location F: \ mvcdemo \ MVC-WCF-test-demo \ mvctest \ Dal \ testdal. CS: Row 29
Innerexception: system. Io. filenotfoundexception
Message = "failed to Load file or Program Set "Microsoft. Practices. objectbuilder2, version = 2.2.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35" or one of its dependencies. The system cannot find the specified file. "
Source = "Microsoft. Practices. enterpriselibrary. Common"
Filename = "Microsoft. Practices. objectbuilder2, version = 2.2.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"
Fusionlog = "Warning: The Assembly Binding log is disabled. \ R \ n to enable the Assembly Binding failure log, set the registry value to [HKLM \ Software \ Microsoft \ Fusion! Enablelog] (DWORD) is set to 1. \ R \ n Note: There may be performance loss associated with the Assembly Binding failure log. \ R \ n to disable this function, remove the registry value [HKLM \ Software \ Microsoft \ Fusion! Enablelog]. \ R \ n"
Stacktrace:
In Microsoft. Practices. enterpriselibrary. Common. configuration. objectbuilder. enterpriselibraryfactory.. cctor ()
Innerexception:

 

Solution: Reference Microsoft. Practices. objectbuilder

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.