I have a web application in WINDOWS SERVER 2008 R2. In Visual Web developer 2010 environment the application connects to IBM DB2 (ver 9.7 ) with the option “Use Visual Studio Development Server” and I haven’t problems.
When I run the application in Visual Web developer 2010 environment with the option “Use Local IIS Web Server” I have this error: “A first chance exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll”
When I run the application in IIS7 environment I have this error:””The 'IBMDADB2.DB2COPY1' provider is not registered on the local machine”.
The application is in the Application Pools with ASP.NET v4.0 framework.
I found in the path “C:\Program Files\IBM\SQLLIB\BIN” these ibm drivers : “ibmdadb2.dll”,”ibmdadb264.dll”. These are registered in \HKEY_CLASSES_ROOT\CLSID.
I compile in Visual Web Developer with the option “Platform – Active ( Any CPU)”
Have you some ideas?