dbTalk Databases Forums  

DTS Package thru stored procedure

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


Discuss DTS Package thru stored procedure in the microsoft.public.sqlserver.dts forum.



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

Default DTS Package thru stored procedure - 04-12-2004 , 10:18 AM






hi,
I am trying to run a stored procedure to execute a DTS
Package as exactly explained in the following URL:
http://www.databasejournal.com/featu.../article.php/1
459181

but, I am always getting problem with

*** LoadFromSQLServer failed
HRESULT: 0x80030003
sp_OAGetErrorInfo failed

Any Ideas?

I saved a package on a client system and running the
stored procedure from that client system. Is this cause
of the problem?

thanks

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Package thru stored procedure - 04-12-2004 , 08:06 PM






In message <188cc01c420a1$66379a40$a601280a (AT) phx (DOT) gbl>, sreenath
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
hi,
I am trying to run a stored procedure to execute a DTS
Package as exactly explained in the following URL:
http://www.databasejournal.com/featu.../article.php/1
459181

but, I am always getting problem with

*** LoadFromSQLServer failed
HRESULT: 0x80030003
sp_OAGetErrorInfo failed

Any Ideas?

I saved a package on a client system and running the
stored procedure from that client system. Is this cause
of the problem?

thanks
The stored procedure (and indeed all T-SQL code) will always run on the
SQL Server machine. If the package is stored elsewhere then that may be
the problem, since the SQL Server security context may not have network
or security permissions to load the package from the client. Try saving
the package to the Local Packages stored on the same server you are
running the T-SQL against. Then set the server name to "(local)" and
check the package name is correct for LoadFromSQLServer call.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
  #3  
Old   
sreenath
 
Posts: n/a

Default DTS Package thru stored procedure - 04-13-2004 , 08:21 AM



hi Darren,
Could you post y our message again. I am getting messgae
unavailable.

Quote:
-----Original Message-----
hi,
I am trying to run a stored procedure to execute a DTS
Package as exactly explained in the following URL:
http://www.databasejournal.com/featu...l/article.php/
1
459181

but, I am always getting problem with

*** LoadFromSQLServer failed
HRESULT: 0x80030003
sp_OAGetErrorInfo failed

Any Ideas?

I saved a package on a client system and running the
stored procedure from that client system. Is this cause
of the problem?

thanks
.


Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: DTS Package thru stored procedure - 04-13-2004 , 01:06 PM



In message <1bdc601c4215a$347df620$a401280a (AT) phx (DOT) gbl>, sreenath
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
hi Darren,
Could you post y our message again. I am getting messgae
unavailable.

-----Original Message-----
hi,
I am trying to run a stored procedure to execute a DTS
Package as exactly explained in the following URL:
http://www.databasejournal.com/featu...l/article.php/
1
459181

but, I am always getting problem with

*** LoadFromSQLServer failed
HRESULT: 0x80030003
sp_OAGetErrorInfo failed

Any Ideas?

I saved a package on a client system and running the
stored procedure from that client system. Is this cause
of the problem?

thanks
.

The stored procedure (and indeed all T-SQL code) will always run on the
SQL Server machine. If the package is stored elsewhere then that may be
the problem, since the SQL Server security context may not have network
or security permissions to load the package from the client. Try saving
the package to the Local Packages stored on the same server you are
running the T-SQL against. Then set the server name to "(local)" and
check the package name is correct for LoadFromSQLServer call.
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.