SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 SSIS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sohrabkhan1000
Starting Member

Afghanistan
2 Posts

Posted - 06/12/2012 :  02:14:38  Show Profile  Reply with Quote
dear all,
i have devoloped ssis package it retrive data from one sql source to another it execute fine with same user and also it can be executed from sql sever,and i have devoloped asp.net application to execute package like follwing:
Package package = new Package();
Application app = new Application();
DTSExecResult packageresult = new DTSExecResult();
package = app.LoadFromSqlServer("packagename", "servername", "username", "password",null);
packageresult = package.Execute();

when i run application localy it execute fine when i debug application in another machine the package not execting and not i am getting error.

sohrab

nigelrivett
Flowing Fount of Yak Knowledge

United Kingdom
3328 Posts

Posted - 06/12/2012 :  04:26:53  Show Profile  Visit nigelrivett's Homepage  Reply with Quote
Does the load work?
Does the other machine yoou are running it on have access to the connections?

Have yoou enabled logging to see if anything happens?

==========================================
Cursors are useful if you don't know sql.
SSIS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
47099 Posts

Posted - 06/12/2012 :  15:39:29  Show Profile  Reply with Quote
whats error? is it error in fetching package itself from location or is it error in execution? Also whats protection level you've chosen for package? Is application using proxy account or logged in user account for running package?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000