Click here to Skip to main content
15,899,937 members
Home / Discussions / Database
   

Database

 
GeneralRe: DataTable question... Pin
Besinci28-Sep-04 7:29
Besinci28-Sep-04 7:29 
GeneralTrigger / Transaction problem Pin
mhmoud rawas25-Sep-04 22:22
mhmoud rawas25-Sep-04 22:22 
GeneralRe: Trigger / Transaction problem Pin
Bill Dean29-Sep-04 7:09
Bill Dean29-Sep-04 7:09 
QuestionRemote Data Access with MSDE? Pin
Utku KAYA24-Sep-04 23:38
Utku KAYA24-Sep-04 23:38 
GeneralDetermining DATETIME durations Pin
Den2Fly23-Sep-04 21:38
Den2Fly23-Sep-04 21:38 
GeneralRe: Determining DATETIME durations Pin
David Salter24-Sep-04 5:13
David Salter24-Sep-04 5:13 
GeneralRe: Determining DATETIME durations Pin
Den2Fly24-Sep-04 11:12
Den2Fly24-Sep-04 11:12 
GeneralDTS and C# Pin
stan2823-Sep-04 5:44
stan2823-Sep-04 5:44 
Hi gurus.
I've also post this in the C# forums, but responds weren't that helpfull.
Hope someone here can help me on this.

During the execution process of the DTS Package, I sometimes encounter this error:-

<br />
Event Source  : SomeStepsNameHere <br />
Error Code : -2147024882 <br />
Source : Microsoft Data Transformation Services (DTS) Package Description : Not enough storage is available to complete this operation.<br />
HelpFile : sqldts80.hlp <br />
HelpContext : 1100 <br />
InterfaceError {10020306-EB1C-11CF-AE6E-00AA004A34D5}.<br />


Now, that interfaceError is actually the DTS.dll COM Component.
This error was thrown by the com exceptions in c#.

Here's what got me puzzle. It's definately not a memory or HD issue because I have 4GB of Ram and 200GB of HD Space. I have verify my transactional log and set it to auto-growth.

Have anyone ever encountered such problems before ?

What my DTS Package do is to connect to Access mDB files and port all the data over to SQL Server 2000. And of cource, if I have 10 MDB files, it will spawn 10 threads within the DTS SQL server. (This is all done programmatically).

Could this be the issue where DTS Com Components are running in Single-Threaded Apartment while CLR is running in Multi-Threaded Apartment ?

Hope you can help me out on this. It has got me thinking night and days...

Here's my sample code trying to force it running in STA, but when i check it in the onStart Method, threads are still running in MTA mode.

<br />
static void Main()<br />
{<br />
Thread t = new Thread(new ThreadStart(WorkerThread));<br />
t.ApartmentState = ApartmentState.STA;<br />
t.Start();<br />
}<br />
<br />
static void WorkerThread()<br />
{<br />
ServiceBase.Run(new System.ServiceProcess.ServiceBase[] { new TestSvc() });<br />
}<br />

Note:- this is a window services that use a FileWatcher Component/Timer Component. It basically detects any activities in the folder and then picks up the mdB files and start processing and saving it as a DTS Package, then executes it.


But I'm not even sure if Threading Apartment State is the issue here.
Hope to hear back from all the dts gurus out there.

Stanley
GeneralRe: DTS and C# Pin
stan288-Oct-04 2:44
stan288-Oct-04 2:44 
GeneralWhere to start database programming Pin
Bob Stanneveld23-Sep-04 5:38
Bob Stanneveld23-Sep-04 5:38 
GeneralRe: Where to start database programming Pin
David Salter23-Sep-04 11:52
David Salter23-Sep-04 11:52 
GeneralRe: Where to start database programming Pin
Bob Stanneveld24-Sep-04 0:01
Bob Stanneveld24-Sep-04 0:01 
GeneralConvert SQL server database to script file Pin
Mekong River23-Sep-04 1:30
Mekong River23-Sep-04 1:30 
GeneralRe: Convert SQL server database to script file Pin
Colin Angus Mackay23-Sep-04 3:17
Colin Angus Mackay23-Sep-04 3:17 
GeneralRe: Convert SQL server database to script file Pin
Mekong River24-Sep-04 4:39
Mekong River24-Sep-04 4:39 
Generalhello Pin
Asha Rams22-Sep-04 20:44
Asha Rams22-Sep-04 20:44 
GeneralRe: hello Pin
sreejith ss nair23-Sep-04 2:01
sreejith ss nair23-Sep-04 2:01 
GeneralRe: hello Pin
Asha Rams23-Sep-04 16:08
Asha Rams23-Sep-04 16:08 
GeneralBacking a DataBase up Pin
BanksySan22-Sep-04 16:00
BanksySan22-Sep-04 16:00 
GeneralRe: Backing a DataBase up Pin
David Salter22-Sep-04 23:03
David Salter22-Sep-04 23:03 
GeneralDataTableMapping problem. Don't get return values Pin
3sL22-Sep-04 4:15
3sL22-Sep-04 4:15 
GeneralADO dBase: get delete status Pin
Friedhelm22-Sep-04 3:48
Friedhelm22-Sep-04 3:48 
Generaldefault value Pin
TehMedic20-Sep-04 23:41
TehMedic20-Sep-04 23:41 
GeneralRe: default value Pin
tdciDoug21-Sep-04 10:24
tdciDoug21-Sep-04 10:24 
GeneralRe: default value Pin
TehMedic26-Sep-04 23:08
TehMedic26-Sep-04 23:08 

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.