Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CoInitialize has not been called? 4

Status
Not open for further replies.

rtshort

IS-IT--Management
Joined
Feb 28, 2001
Messages
878
Location
US
I'm working with SQL Server 7.0. I am going directly into the database and trying to copy a field(just one item) using "Ctrl-c" and I get the message "CoInitialize has not been called". I have been able to do this before but it just started doing this today. Anyone have any idea whats up with that?? Rob
Just my $.02.
 
I have no idea why it happens but I get that error all the time. I have to completely close SQL Server and get back into it. It's a real pain!
 

Usually installing the latest service pack solves this problem. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Don't know if I can help but here's some info.

CoInitialise() is a C++ MFC (Microsoft Foundation Classes) function that sets up your application to use COM (Microsoft's Component Object Model). This is one program being able to use the components of another.

It makes sense that this would happen when trying to cut and paste because SQL Server would start using the clipboard.

I suppose it could suddenly start happening if you've recently upgraded part(s) of your operating system. Either way it sounds like a bug in SQL Server and you should service pack it.

Think yourself lucky you got the message no matter how unhelpful :) Most programs would just crash.
 
Thanks guys. Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top