Skip to Main Content

Oracle Database Express Edition (XE)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

MSDASQL does not work with TNSNAMES.ORA (SERVER = SHARED)

PhilMan2Sep 21 2014 — edited Sep 23 2014

Hello,

I'm using XE 11g on a Windows 7 platform.  I also have Microsoft Office 2013.

I have a macro in Excel that runs on a regular basis to load a small amount of data into Oracle tables.  It worked fine for years.

Recently, for another reason, I had to update TNSNAMES.ORA on both the client and the server.  I had to change the (SERVER = DEDICATED) setting to (SERVER = SHARED).

Since I made that change, the macro no longer works.  If I change TNSNAMES.ORA back to DEDICATED on the client, all is well again, but my other new functions fail. 

I get the following error from Microsoft VBA when I Open the connection from the client:

[Oracle][ODBC][Ora]ORA-12520: TNS Listener could not find available handler for requested type of server.

I'm posting the question here since the TNSNAMES.ORA setting seems to be the critical difference.

Thanks for looking at this.

Phil

This post has been answered by PhilMan2 on Sep 23 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2014
Added on Sep 21 2014
2 comments
1,400 views