Last post Apr 30, 2013 04:55 PM by Woojamon
Apr 30, 2013 04:55 PM|Woojamon|LINK
Hi, I am using Microsoft Visual Web Developer 2010 Express to build a webpage that pulls data from a database to populate a drop-down list with relevant options. Everything works just dandy when I debug the page in the developer, but when I test the production
page by navigating to it using IE I get a Visual Studio Just-In-Time Debugger window saying "An unhandled win32 exception occurred in w3wp.exe [#####]" where ##### is a number that changes each time the error presents. After some research I discovered that
the error occurs when the program tries to call an OdbcConnection.Open() method to connect to an IBM DB2 database. It connects just fine to a SQL database, so I suspect there is some bad interplay between this IIS process and the db2 driver?
Below is some exception information from DebugDiag. Any help is greatly appreciated. Thanks!
Exception Information In w3wp__TTFCUAppPages__PID__1704__Date__04_25_2013__Time_12_37_29PM__536__Second_Chance_Exception_E0434352.dmp the assembly instruction at KERNELBASE!RaiseException+58 in C:\Windows\System32\KERNELBASE.dll
from Microsoft Corporation has caused a CLR Exception on thread 23with the following error information:
Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Here is the call stack: .NET Call Stack
Full Call Stack