Why aren't connections being reused in my iSeries/ASP.NET MVC 4 app?

前端 未结 3 619
离开以前
离开以前 2021-02-19 08:50

We are running an MVC 4 web application on a Windows 2008 server farm. We have been trying to upgrade our server farm to Windows 2008 R2 64-bit servers but have run into an issu

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-19 09:13

    I've seen issues before when an app using connection pools works fine as a stand-a-lone, but when run in an app server you end up with both the app and the app server doing connection pooling. The problem is that the app server never releases the connection.

    I'm not familiar enough with ASP.NET or IIS to tell you where to look, but perhaps the above is enough.

    If not, it would help to know

    • what version of IBM iAccess you've loaded and rather it's 32 or 64 bit and what service pack level you are on.

    • the driver being used. I'd assume the .NET driver, but I know MS provides functionality to use ODBC or OLEDB drivers with .NET

    Charles

提交回复
热议问题