The type Database cannot be constructed. You must configure the container to supply this value.

I am building a 32 bit dotnet application on a 64-bit machine(developing on 64-bit, to be deployed on 32-bit) having windows server 2008 R2 operating system.

I use the 64-bit IBM DB2 9.5.4 runtime client. I am able to connect to database through command prompt using testconn.exe command, but it throws up an error while connecting through dotnet enterprise library 5.0 saying "The type database cannot be constructed.
you must configure the container to supply this value" at the following line.

I guess you are trying to use IBM DB2 here as your database? Then you need to create a wrapper for DB2 provider and define it inside the providerMappings. For example you have a wrapper named DB2Database, your config
will look like this:

Yes, you need to add it to your web.config. You also need to write the code for the wrapper. If you want to, you can send us your email so we can send you the sample project for creating a custom database provider using DB2.