This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Got an exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Got an exception "Cannot change thread mode after it is set." when call a COM object." Watch "Got an exception "Cannot change thread mode after it is set." when call a COM object." New topic
Author

Got an exception "Cannot change thread mode after it is set." when call a COM object.

SFBB
Greenhorn

Joined: Jul 01, 2002
Posts: 1
I try to use java to call a SQL server's store procedure and that store procedure will call a COM object, but sometimes it return an exception "Cannot change thread mode after it is set."
Any comments!


SFBBB
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
"SFBB",
Thanks for participating here at the Ranch. However, the name you are using does not comply with the naming convention described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name (not fictitious monikers). Please log in with a new name which meets the requirements.
Thanks.
Sean
 
Don't get me started about those stupid light bulbs.
 
subject: Got an exception "Cannot change thread mode after it is set." when call a COM object.
 
Similar Threads
Set Chained OFF error while executing from my Bean
Cast Object to Object[]
Pagination with Hibernate and SP
All configuration must be done via a GUI ??
getting gateway timeout while executing a stored procedure via jdbc