Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: Concurrently accessing a file. Pin
Rafferty Uy17-Nov-04 16:09
Rafferty Uy17-Nov-04 16:09 
QuestionWhat is more scientific... Pin
tom_dx17-Nov-04 13:36
tom_dx17-Nov-04 13:36 
AnswerRe: What is more scientific... Pin
R. Thomas17-Nov-04 19:31
R. Thomas17-Nov-04 19:31 
AnswerRe: What is more scientific... Pin
Daniel Turini17-Nov-04 23:15
Daniel Turini17-Nov-04 23:15 
GeneralAdvanced collection classes for the .NET Framework 2.0 Pin
Dennis C. Dietrich17-Nov-04 11:08
Dennis C. Dietrich17-Nov-04 11:08 
GeneralNetWork "Noise Control" Pin
Sakkijha17-Nov-04 10:39
Sakkijha17-Nov-04 10:39 
GeneralUsing Microsoft Outlook Object Library Pin
Guinness4Strength17-Nov-04 9:23
Guinness4Strength17-Nov-04 9:23 
GeneralSQLXML Bulk Load from C# Doesn't Work Pin
perlmunger17-Nov-04 9:10
perlmunger17-Nov-04 9:10 
Seems that no matter what I try, I cannot get my bulk load to work. According to different info I've found around the internet that if you get this message:

QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad failed.

then you need to add [STAThread] to your code to ensure that it runs in a single threaded environment. I have done this and it doesn't work.

I've also read that if you're getting this message, it means it can't find the assembly you're looking for. I have registered my assembly with RegAsm and with gacutil and that doesn't help either. What else is there?

Here is my setup. I am using a vbscript to intantiate a COM+ component I created using C#. That instantiation is successful. That component processes my data and creates an XML file. It then uses the Interop.SQLXMLBULKLOADLib library to bulk load my xml file into the DB. When it goes to create the Interop.SQLXMLBULKLOADLib object I get the error message mentioned above.

Any suggestions?

Thanks.

-Matt

------------------------------------------

The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
GeneralMultiple Criteria for Sorting Objects Pin
17-Nov-04 8:59
suss17-Nov-04 8:59 
GeneralRe: Multiple Criteria for Sorting Objects Pin
Utku KAYA17-Nov-04 9:15
Utku KAYA17-Nov-04 9:15 
GeneralRe: Multiple Criteria for Sorting Objects Pin
Daniel Turini17-Nov-04 9:15
Daniel Turini17-Nov-04 9:15 
GeneralC++ Builder and C# question. please help Pin
elapid17-Nov-04 8:13
elapid17-Nov-04 8:13 
GeneralRe: C++ Builder and C# question. please help Pin
Nick Parker17-Nov-04 10:20
protectorNick Parker17-Nov-04 10:20 
GeneralRe: C++ Builder and C# question. please help Pin
Anonymous18-Nov-04 0:46
Anonymous18-Nov-04 0:46 
GeneralStarting an application minimized Pin
goldoche17-Nov-04 8:03
goldoche17-Nov-04 8:03 
GeneralRe: Starting an application minimized Pin
Utku KAYA17-Nov-04 9:09
Utku KAYA17-Nov-04 9:09 
GeneralRe: Starting an application minimized Pin
goldoche17-Nov-04 9:25
goldoche17-Nov-04 9:25 
GeneralRe: Starting an application minimized Pin
Utku KAYA17-Nov-04 9:50
Utku KAYA17-Nov-04 9:50 
Generalcreate of pictureBox and moving it Pin
DrownFish4517-Nov-04 6:05
DrownFish4517-Nov-04 6:05 
GeneralRe: create of pictureBox and moving it Pin
Nick Parker17-Nov-04 6:43
protectorNick Parker17-Nov-04 6:43 
GeneralRe: create of pictureBox and moving it Pin
DrownFish4517-Nov-04 14:15
DrownFish4517-Nov-04 14:15 
GeneralRe: create of pictureBox and moving it Pin
Nick Parker17-Nov-04 14:25
protectorNick Parker17-Nov-04 14:25 
GeneralRe: create of pictureBox and moving it Pin
DrownFish4517-Nov-04 16:52
DrownFish4517-Nov-04 16:52 
GeneralSeeking collaboration for game programming in C# Pin
krisst_k17-Nov-04 5:55
krisst_k17-Nov-04 5:55 
GeneralRe: Seeking collaboration for game programming in C# Pin
tom_dx17-Nov-04 13:39
tom_dx17-Nov-04 13:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.