dbTalk Databases Forums  

Help with calling a DTS packet from ASP.NET please

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Help with calling a DTS packet from ASP.NET please in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Burak Gunay
 
Posts: n/a

Default Help with calling a DTS packet from ASP.NET please - 02-07-2006 , 12:44 PM







Hello,

I have a DTS packet that I use to update a Visual FoxPro table. Since
this table is not a truly visual fox pro table, I am using dBASE IV
connection to update it.

The package drops the table, creates it again and then copies data
from a sql server table to the foxpro(.dbf) table.

The package runs fine from sql server.

When I execute the package from the ASP.NET page as follows

Dim pckg As New DTS.Package
pckg.LoadFromSQLServer(server, usr, pwd,
DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default , , , , pckgName, "")

' execute dts package
pckg.Execute()

, it seems only the truncate table part of the package works. The fox
pro table ends up
looking like an empty table with just the column names.

I gave ASP.NET user complete access to both the directory and the
file, so I don't know
why the data is not getting copied to the file.

I would appreciate your help with this please.

Thank you,

Burak


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.