maximum open cursors exceeded with dotConnect for Oracle
Posted: Tue 06 Sep 2011 20:00
Hi
We are using dotConnect version 5.35.79 in our custom Web Parts to connect to Oracle database. The web parts are used in SharePoint site and on this particular SharePoint webpart page, we have about 16 webparts on it. The web parts are querying oracle views and all the views are returning multiple rows of data. As soon as the page loads, it throws the following error:
An error occured while connecting to database: Error = ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded
ORA-02063: preceding 5 lines from FRED
ORA-02063: preceding 6 lines from GUPS_EDW_LINK.WORLD; Command Type = Text; Command= select * from VW_FRED_SURFACES_DATA where GENERAL_PERMIT_APP_ID = :permit;
In the connection string, when we add the attribute DIRECT=TRUE in the connection string, page loads fine but since we need to support RAC, this won't work for us.
When we add the attribute POOLING=OFF in the connection string, page loads fine but Pooling=off is not recommended.
Increased the MAXPOOLSIZE to 500, but it still didn’t work.
If the number of webparts using the views are limited to 12 (using stored procedure in the other 4 webparts) page loads the data without any error.
Thanks,
Sean
We are using dotConnect version 5.35.79 in our custom Web Parts to connect to Oracle database. The web parts are used in SharePoint site and on this particular SharePoint webpart page, we have about 16 webparts on it. The web parts are querying oracle views and all the views are returning multiple rows of data. As soon as the page loads, it throws the following error:
An error occured while connecting to database: Error = ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded
ORA-02063: preceding 5 lines from FRED
ORA-02063: preceding 6 lines from GUPS_EDW_LINK.WORLD; Command Type = Text; Command= select * from VW_FRED_SURFACES_DATA where GENERAL_PERMIT_APP_ID = :permit;
In the connection string, when we add the attribute DIRECT=TRUE in the connection string, page loads fine but since we need to support RAC, this won't work for us.
When we add the attribute POOLING=OFF in the connection string, page loads fine but Pooling=off is not recommended.
Increased the MAXPOOLSIZE to 500, but it still didn’t work.
If the number of webparts using the views are limited to 12 (using stored procedure in the other 4 webparts) page loads the data without any error.
Thanks,
Sean