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