Wednesday, January 13, 2016

Fix Issue : Microsoft.Practices.EnterpriseLibrary.Data.Database, is an abstract class and cannot be constructed.



Server Error in '/' Application.


The current type, Microsoft.Practices.EnterpriseLibrary.Data.Database, is an abstract class and cannot be constructed. Are you missing a type mapping?


While deploying a web application which use Microsoft enterprise library for data access. If you get the above error. 
Please make sure all the dll is in bin folder and make sure to add the following section in web.config file 

   
       
       
     

 
   
     
     
   
 

No comments:

Post a Comment