Hi,
I have created SSIS Package using DTS vizard in SQL 2005 Express. Help me out to execute the Package.
Thanks
Even I am also trying for the Same. Update me if you get a solution.sqlHi,
I have created SSIS Package using DTS vizard in SQL 2005 Express. Help me out to execute the Package.
Thanks
Even I am also trying for the Same. Update me if you get a solution.sqlI have created a DTS package in SQL 2005 which will pull the data from oracle and pushes into SQLServer. I am able to execute the package from business intelligence wizard.
Is there anyway to trigger this package manually apart from the wizard?.
looking for responses.
Thanks
GaneshIt can also be executed from query analyzer.
You call it from any forntend tool also.|||Hi
Thanks for your response.
When I create package from Business intelligence wizard, It was created as Package1.dtsx. Now , How can I invoke package1.dtsx from query analyzer?.
As far as I know, In oracle, a package will contain main and a body procedures. We can invoke the main procedure from any command prompt. But I am new to SQL packages. Can you suggest me in this regard.
Thanks,
Ganesh
hi,
i am new here and interested in how to :
- execute serial dts in one single action or using vb script.
- change the status (enabled to disabled) and schedule using vb script.
Many dts make me tired when i have to change the status and schedule one by one.
regards.
You don't need to be tired. Read more here:
http://msdn.microsoft.com/msdnmag/issues/02/08/VBScriptandSQLServer2000/default.aspx
I have been successfully executing a series of IS packages from C# using the following syntax
Microsoft.SqlServer.Dts.Runtime.Package package;
package = app.LoadPackage(ISPackagePath + @."\myPackage.dtsx", null);
package.ImportConfigurationFile(ISPackagePath + @."\MyConfiguration.dtsConfig");
result = package.Execute();
package.Dispose();
My client has just moved their SQL boxes to a 64bit platform and this process no longer runs.
Now im also running some packages in a SQL Agent job on the SQL box and im aware of the issue of an SSIS job step defaulting to using the 64bit version of DTExec.exe. Ive updated those job steps to be operating system (cmdExec) type steps calling the 32bit version of DTExec.exe, and everything is fine there.
Is there anyway to force the Microsoft.SqlServer.Dts.Runtime.Package object in my C# code to use the 32bit version of DTEexec.exe? This code is running on the same 64bit SQL server box as the SQL agent job. Or will Microsoft.SqlServer.Dts.Runtime.Package object always default to using the 64 bit version if it is executed on a 64bit box ?
I would just call sp_start_job from C# and implement the IS packages in another job but unfortunatly my code cannot be given correct permissions to see the SQL agent jobs.
Any ideas?
Thanks
In a mixed platform environment you have to compile your code with AnyCPU instead of 32bits so just open your solutions in VS2005 and rebuild your code with AnyCPU and it will run in 64bits box. There maybe some configuration relevant to SSIS but in most mixed platform build with AnyCPU should fix it. I develop C# .NET applications with Oracle 9i/10g both 64bits with AnyCPU without any problems. Hope this helps.
|||
sql
Caddre wrote:
I want to know about the performance using oracle packages in c#.net
Bhavin.
Bhavin_82@.hotmail.com
I have been successfully executing a series of IS packages from C# using the following syntax
Microsoft.SqlServer.Dts.Runtime.Package package;
package = app.LoadPackage(ISPackagePath + @."\myPackage.dtsx", null);
package.ImportConfigurationFile(ISPackagePath + @."\MyConfiguration.dtsConfig");
result = package.Execute();
package.Dispose();
My client has just moved their SQL boxes to a 64bit platform and this process no longer runs.
Now im also running some packages in a SQL Agent job on the SQL box and im aware of the issue of an SSIS job step defaulting to using the 64bit version of DTExec.exe. Ive updated those job steps to be operating system (cmdExec) type steps calling the 32bit version of DTExec.exe, and everything is fine there.
Is there anyway to force the Microsoft.SqlServer.Dts.Runtime.Package object in my C# code to use the 32bit version of DTEexec.exe? This code is running on the same 64bit SQL server box as the SQL agent job. Or will Microsoft.SqlServer.Dts.Runtime.Package object always default to using the 64 bit version if it is executed on a 64bit box ?
I would just call sp_start_job from C# and implement the IS packages in another job but unfortunatly my code cannot be given correct permissions to see the SQL agent jobs.
Any ideas?
Thanks
In a mixed platform environment you have to compile your code with AnyCPU instead of 32bits so just open your solutions in VS2005 and rebuild your code with AnyCPU and it will run in 64bits box. There maybe some configuration relevant to SSIS but in most mixed platform build with AnyCPU should fix it. I develop C# .NET applications with Oracle 9i/10g both 64bits with AnyCPU without any problems. Hope this helps.
|||
Caddre wrote:
I want to know about the performance using oracle packages in c#.net
Bhavin.
Bhavin_82@.hotmail.com
Hello Everyone,
I am going through the following article
http://msdn2.microsoft.com/en-us/library/ms141766.aspx
and I have some clarifications to seek.
Based on the above article it seems its possible to run a DTS package on a SQL 2006 X64 machine.
Furthermore it seems possible that this package will run without any upgrade being performed to SSIS.
Also, to execute the DTS package in 32 bit mode, all I have to do is to set the job step type of SQL Agent to Operating system, and enter a command line or use a batch file that invokes the 32-bit version of dtexec.exe. You can use the dtexecui.exe utility to create the command line, and then copy and paste the command line into the job step.
Are the above deductions correct? Please let me know if some correction / refinement is needed.
There is no 64-bit design-time or run-time support for DTS packages.
You can run DTS packages (SQL Server 2000), as well as SSIS packages (SQL Server 2005), on the same 32-bit machine. You can use the dtsrun.exe utility to run the DTS packages from the command prompt. You also have the option of running a DTS package from a SSIS package (SQL Server 2005) by adding the Execute DTS 2000 Package task to the SSIS package.
For more information about SQL Server 2005 support for DTS packages, see "SQL Server 2005 Integration Services Backward Compatibility" at http://msdn2.microsoft.com/en-us/library/ms143706.aspx#runtime_installing.
hey out there,
just started playing with this so bare with me...
i've used the data export wizard to create a dts package in sql server 2000. the package takes selected tables, creates an access database and then dumps all the data into the tables.
it works fine when i run the package in enterprise manager, but when i call it from asp.net (vb.net) the access database gets created, the tables are created but it fails to dump the data!
this is my code:
1Public Sub executeDts()23Dim oPkgAs DTS.Package24 oPkg =New DTS.Package25Dim oStepAs DTS.Step6 Dim sMessageAs New StringBuilder789 oPkg.LoadFromSQLServer("serverNameHere","userNameHere","passwordHere", DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, , , ,"packageNameHere")1011For Each oStepIn oPkg.Steps1213 sMessage.Append("<p> Step [" & oStep.Name &"] ")1415If oStep.ExecutionResult = DTSStepExecResult.DTSStepExecResult_FailureThen1617 sMessage.Append(" failed<br>")1819Else2021 sMessage.Append(" succeeded<br>")2223End If2425 sMessage.Append("Task """ & oPkg.Tasks.Item(oStep.TaskName).Description &"""</p>")2627Next2829 Response.Write("sMessage = " & sMessage.ToString &"<br/>")3031 oPkg.Execute()3233 oPkg.UnInitialize()3435 oPkg =Nothing3637 End Sub38am i missing a step?! it seems very odd that the tables are created but the insert fails...
any advice anyone can offer would be great!
cheers,
jake
hi jake the code is perfect but there is one tiny little error
just put the DTS.Execute() statement before theFor loop block
this should solve your problem
take care brother
happy coding
|||hi jake
the code is perfect but there is one tiny little error
just put the DTS.Execute() statement before theFor loop block
this should solve your problem
take care brother
happy coding
sqlI have a web application that I kick off a DTS package. I tested the package and it works fine. However, when running the package through ASP.NET, I get the following error:
Type mismatch. (mscorlib (80004005): Missing parameter does not have a default value. Parameter name: parameters)\n
I've traced it to a dynamic task step. I have this as the first step in the workflow, but for some reason, it is executing last. Which is definitely not the place where I want it. Is there anyway I can force it, or why is it doing that?
Any ideas?
BrianHey,
It seems the error is because the steps aren't being executed in the right order. The steps are being sorted by name so to speak, as the execute SQL's are being fired first, then the dynamic task, then the pump tasks, etc. Is there anyway around that, either in the package or through code?
Brian|||The tasks in a DTS package will attempt to execute all at once unless you've established a workflow. With a workflow, the next task won't execute until the previous task has completed. Try this MSDN article and see if you can locate what you're missing:DTS Package Workflow.
Terri
Hi All,
I have a scenario where I am executing bunch of DTS packages from within an SSIS package. These packages are saved as structured files and everything works fine. However I am concerned about one thing which is whether these SSIS/DTS packges will run fine on my production server where I dont have any SQL SERVER 2000 /2005 installed , it just has SSIS installed on it. Appreciate all help.
Thanks
I did a little research on MSDN and other websites and I think it should not be any problem executing the DTS packages from within SSIS packages on a server having just Integration Services Installed on it.
http://msdn2.microsoft.com/en-us/library/ms137907.aspx
Thanks
|||Installing SSIS gives basic DTS suport for free, so it will already be there. Notable exceptions are the DTS AS Processing Task and Data Mining Task.
Installing Run-time Support for SQL Server 2000 DTS Packages
You can run DTS packages and SSIS packages on the same computer.
When you select Integration Services for installation, Setup also installs support for DTS packages, including the DTS runtime and DTS package enumeration in SQL Server Management Studio. Support in the runtime is enhanced to enable DTS packages to access SQL Server 2005 data sources.
SQL Server 2005 Integration Services Backward Compatibility
(http://msdn2.microsoft.com/en-us/library/ms143706.aspx#)
DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE)
Error string: Error Code: 0
Error Source= msxml3.dll
Error Description: A connection with the server could not be established
Error on Line 10
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: Error Code: 0
Error Source= msxml3.dll
Error Description: A connection with the server could not be established
Error on Line 10
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error: -2147467259 (80004005); Provider Error: 0 (0)
Error string: A connection with the server could not be established
Error source: msxml3.dll
Help file:
Help context: 0
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.
NULL
Can anyone help me solve this problem please
I am with the same occurrence, but in a server windows 2003 server. Does anybody can me to help?
Guilherme
guilhermer@.correios.com.br
|||Can you post the code you are running?
This works:
xp_cmdshell'dtsrun /SmyServer /NmyPackage /E'
|||DTSRun /S "smg0062" /N "DBTNT - BAIXA SRO" /W "0" /EsqlDTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSActiveScriptTask_1
DTSRun OnError: DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE)
Error string: Error Code: 0
Error Source= msxml3.dll
Error Description: A connection with the server could not be established
Error on Line 10
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error Detail Records:
Error: -2147220482 (800403FE); Provider Error: 0 (0)
Error string: Error Code: 0
Error Source= msxml3.dll
Error Description: A connection with the server could not be established
Error on Line 10
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.hlp
Help context: 4500
Error: -2147467259 (80004005); Provider Error: 0 (0)
Error string: A connection with the server could not be established
Error source: msxml3.dll
Help file:
Help context: 0
DTSRun OnFinish: DTSStep_DTSActiveScriptTask_1
DTSRun: Package execution complete.
NULL
Can anyone help me solve this problem please
I am with the same occurrence, but in a server windows 2003 server. Does anybody can me to help?
Guilherme
guilhermer@.correios.com.br
|||
Can you post the code you are running?
This works:
xp_cmdshell 'dtsrun /SmyServer /NmyPackage /E'
|||DTSRun /S "smg0062" /N "DBTNT - BAIXA SRO" /W "0" /ETerri
(note: this post was moved from Building Controls where it was off-topic)|||I've done it using an article from 15seconds.com:
http://www.15seconds.com/Issue/030909.htm
I get a "DSN not found and no default driver specified."
My DSN stuff looks OK to me, but perhaps some of that is wrong. What
does the DSN have to look like in order for the code in Query Analyzer
to find it? If the DSN is screwed up, why would it work OK when
executed from some places, but not in others? What am I missing?
Any help would be much appreciated. :) thanks...
-emilyAlso, I should clarify. Everything is local. Everything's on my
laptop on my coffee table. No network. SQLServer is local, Foxpro
data is local.|||OK, false alarm, I figured this out myself. Well, I didn't really
figure it out, but I did get it to work. If I set up the FoxPro DSN as
a System DSN, then it works. User DSN doesn't. I have no idea why.
I'll continue to play around with it. Next time I won't post here
until I'm absolutely sure that I've tried absolutely everything. :)|||emily (ehart624@.hotmail.com) writes:
> OK, false alarm, I figured this out myself. Well, I didn't really
> figure it out, but I did get it to work. If I set up the FoxPro DSN as
> a System DSN, then it works. User DSN doesn't. I have no idea why.
> I'll continue to play around with it. Next time I won't post here
> until I'm absolutely sure that I've tried absolutely everything. :)
I have an idea. If SQL Server runs as Local System it is not likely
to find User DSN for your user. Thus it must be a system DSN.
Recall that when you run from QA, it's SQL Server that runs the
package.
--
Erland Sommarskog, SQL Server MVP, esquel@.sommarskog.se
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp
Dan Guzman Apr 27 2000, 12:00 am show options
Newsgroups: comp.databases.ms-sqlserver
From: "Dan Guzman" <DGuz...@.nospamplease-earthlink.net&g*t; - Find
messages by this author
Date: 2000/04/27
Subject: Re: Executing a DTS Package using an ASP (VBScript) Script
Reply to Author | Forward | Print | Individual Message | Show original
| Report Abuse
This VBScript example loads and executes an existing DTS pac*kage from
SQL
Server.
Option Explicit
Const PackageName = "PackageName"
Const ServerName = "ServerName"
Const UserName = "UserName"
Const Password = "Password"
Dim DTSPk
Set DTSPk = CreateObject("dts.package")
DTSPk.LoadFromSQLServer ServerName, UserName ,Password
,,,,,*PackageName
DTSPk.Execute
If DTSPk.Steps(1).ExecutionResult = 0 Then
Response.Write "Package execution completed"
Else
Response.Write "Package execution failed"
End If
Set DTSPk = Nothing
You can also create the entire package from scratch from wit*hin your
asp and
execute it.
Hope this helps.
Chuck Gatto <cga...@.anchorsystems.com> wrote in message
news:8eapo8$frj$1@.slb7.atl.mindspring.net...
- Hide quoted text -
- Show quoted text -
> I'm looking for an example of how to execute an existing D*TS
package from
an
> ASP (VB)script and would appreciate any and all response.* I don't
even
> know if it's possible
> Thanks
> - Chuck Gatto
Chuck Gatto May 1 2000, 12:00 am show options
Newsgroups: comp.databases.ms-sqlserver
From: "Chuck Gatto" <cga...@.anchorsystems.com> - Find messages by this
author
Date: 2000/05/01
Subject: Re: Executing a DTS Package using an ASP (VBScript) Script
Reply to Author | Forward | Print | Individual Message | Show original
| Report Abuse
Below code works 100% in VB but the load fails in ASP. I g*et...
"Microsoft OLE DB Provider for SQL Server. Login failed for *user "\".
error.
I think the IIS (server a) is set for NT auth. and sql7 (on *server b)
as
well but I can't be sure.
Any idea what I should look for.
Thanks
"Dan Guzman" <DGuz...@.nospamplease-earthlink.net> wrote in m*essage
news:sgi3hi617qo89@.corp.supernews.com...
- Hide quoted text -
- Show quoted text -
> This VBScript example loads and executes an existing DTS p*ackage
from SQL
> Server.
> Option Explicit
> Const PackageName = "PackageName"
> Const ServerName = "ServerName"
> Const UserName = "UserName"
> Const Password = "Password"
> Dim DTSPk
> Set DTSPk = CreateObject("dts.package")
> DTSPk.LoadFromSQLServer ServerName, UserName ,Password
,,,*,,PackageName
> DTSPk.Execute
> If DTSPk.Steps(1).ExecutionResult = 0 Then
> Response.Write "Package execution completed"
> Else
> Response.Write "Package execution failed"
> End If
> Set DTSPk = Nothing
> You can also create the entire package from scratch from w*ithin
your asp
and
> execute it.
> Hope this helps.
> Chuck Gatto <cga...@.anchorsystems.com> wrote in message
> news:8eapo8$frj$1@.slb7.atl.mindspring.net...
> > I'm looking for an example of how to execute an existing* DTS
package
from
> an
> > ASP (VB)script and would appreciate any and all respons*e. I
don't even
> > know if it's possible
> > Thanks
> > - Chuck Gatto
Dan Guzman May 1 2000, 12:00 am show options
Newsgroups: comp.databases.ms-sqlserver
From: "Dan Guzman" <DGuz...@.nospamplease-earthlink.net&g*t; - Find
messages by this author
Date: 2000/05/01
Subject: Re: Executing a DTS Package using an ASP (VBScript) Script
Reply to Author | Forward | Print | Individual Message | Show original
| Report Abuse
You can specify a trusted connection with flag 256 instead o*f
username and
password. For example:
DTSPk.LoadFromSQLServer ServerName, , , 256,,,,PackageNa*me
Assuming this is an intranet application running under NT 4.*0 and you
want
to execute the package under the invoking user's account, yo*u can do
this as
follows:
Specify 'clear text' for the IIS Directory Security
auth*entication
Remove 'Everyone' from the access list on the files (req*uires
NTFS) and
grant permissions to the users
Grant logins access to the database server
With this method, users must enter their Domain\UserName and* password
when
prompted.
NT authentication presents a challenge when multiple servers* are
involved
because NT 4.0 does not support delegation. See
http://msdn.microsoft.com/workshop/...re/security.asp for
details.
I understand Windows 2000 provides delegation capabilities b*ut this
can be a
bit tricky to implement.
BTW, if your DTS package does not access SQL Server, you can* save it
to a
file and use the LoadFromStorageFile method instead.
Hope this helps.
If you need to use
Chuck Gatto <cga...@.anchorsystems.com> wrote in message
news:8ekrkd$pmq$1@.slb7.atl.mindspring.net...
- Hide quoted text -
- Show quoted text -
> Below code works 100% in VB but the load fails in ASP. I* get...
> "Microsoft OLE DB Provider for SQL Server. Login failed fo*r user
"\".
error.
> I think the IIS (server a) is set for NT auth. and sql7 (o*n server
b) as
> well but I can't be sure.
> Any idea what I should look for.
> Thanks
Chuck Gatto May 6 2000, 12:00 am show options
Newsgroups: comp.databases.ms-sqlserver
From: "Chuck Gatto" <cga...@.anchorsystems.com> - Find messages by this
author
Date: 2000/05/06
Subject: Re: Executing a DTS Package using an ASP (VBScript) Script
Reply to Author | Forward | Print | Individual Message | Show original
| Report Abuse
Hey Dan
Thanks again. I really appreciate your input and help.
I actually solved the problem by calling dtsrun...
I apologize for the delay getting back w/you but thee recent* virus
atack
sidetracked me.
Thanks again.
"Dan Guzman" <DGuz...@.nospamplease-earthlink.net> wrote in m*essage
news:sgsfh8spoog87@.corp.supernews.com...
- Hide quoted text -
- Show quoted text -
> You can specify a trusted connection with flag 256 instead* of
username and
> password. For example:
> DTSPk.LoadFromSQLServer ServerName, , , 256,,,,Package*Name
> Assuming this is an intranet application running under NT *4.0 and
you want
> to execute the package under the invoking user's account, *you can
do this
as
> follows:
> Specify 'clear text' for the IIS Directory Security
au*thentication
> Remove 'Everyone' from the access list on the files (r*equires
NTFS)
and
> grant permissions to the users
> Grant logins access to the database server
> With this method, users must enter their Domain\UserName a*nd
password when
> prompted.
> NT authentication presents a challenge when multiple serve*rs are
involved
> because NT 4.0 does not support delegation. See
> http://msdn.microsoft.com/workshop/...re/security.asp for
details.
> I understand Windows 2000 provides delegation capabilities* but this
can be
a
> bit tricky to implement.
> BTW, if your DTS package does not access SQL Server, you c*an save
it to a
> file and use the LoadFromStorageFile method instead.
> Hope this helps.
> If you need to use
> Chuck Gatto <cga...@.anchorsystems.com> wrote in message
> news:8ekrkd$pmq$1@.slb7.atl.mindspring.net...
> > Below code works 100% in VB but the load fails in ASP. * I get...
> > "Microsoft OLE DB Provider for SQL Server. Login failed *for user
"\".
> error.
> > I think the IIS (server a) is set for NT auth. and sql7 *(on
server b) as
> > well but I can't be sure.
> > Any idea what I should look for.
> > Thanks
chris.duni...@.agwsha.nhs.uk Jan 31, 10:05 am show options
Newsgroups: comp.databases.ms-sqlserver
From: chris.duni...@.agwsha.nhs.uk - Find messages by this author
Date: 31 Jan 2005 10:05:00 -0800
Subject: Re: Executing a DTS Package using an ASP (VBScript) Script
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse
Hi,
I've tried adding this function to my ASP pages and get the *following
error message;
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'DTS.Package'
/asp/pages/dts.asp, line 21
Does anyone have any idea what I need to fix to get the DTS *to work?
I'm v. new to SQL Server and ASP so any help would be apprec*iated.
Many thanks,
Chris Dunigan<chris.dunigan@.agwsha.nhs.uk> wrote in message
news:1107256044.746188.14660@.c13g2000cwb.googlegro ups.com...
I'm looking for an example of how to execute an existing DTS* package
from an
ASP (VB)script and would appreciate any and all response. *I don't
even
know if it's possible
Thanks
- Chuck Gatto
http://www.google.co.uk/search?hl=e...+vbscript&meta=
Your package.
It works OK if you try and run it from Enterprise Manager on your machine?
You tried a real user and password in those fields when you tried that
method?
This would be equal to the user you're logged on as?
--
Regards,
Andy O'Neill|||
Hi Andy,
Yes the DTS Package works fine when I run it from Enterprise Manager;
and I have used the correct server name, username, password and
packagename.
Having done some more digging into this error I found a site that told
me it could be something to so with the software installed on the PC on
which the database resides.
I think I might need to ensure that dtspkg.dll is correctly installed
(along with a host of other dll and rll's).
As I can't get hold of our IT guys today I haven't been able to see if
this solves my problem.
Does this sound like it may fix the problem??
Regards,
Chris
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!|||"Chris Dunigan" <chris.dunigan@.agwsha.nhs.uk> wrote in message
news:41ffb33f$1_2@.127.0.0.1...
>
> Hi Andy,
> Yes the DTS Package works fine when I run it from Enterprise Manager;
> and I have used the correct server name, username, password and
> packagename.
> Having done some more digging into this error I found a site that told
> me it could be something to so with the software installed on the PC on
> which the database resides.
> I think I might need to ensure that dtspkg.dll is correctly installed
> (along with a host of other dll and rll's).
> As I can't get hold of our IT guys today I haven't been able to see if
> this solves my problem.
> Does this sound like it may fix the problem??
> Regards,
> Chris
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
These links might help:
http://www.sqldts.com/default.aspx?207
http://support.microsoft.com/defaul...kb;en-us;252987
http://support.microsoft.com/defaul...kb;en-us;323685
http://support.microsoft.com/defaul...kb;en-us;282463
Simon|||"Chris Dunigan" <chris.dunigan@.agwsha.nhs.uk> wrote in message
news:41ffb33f$1_2@.127.0.0.1...
> Hi Andy,
> Yes the DTS Package works fine when I run it from Enterprise Manager;
> and I have used the correct server name, username, password and
> packagename.
> Having done some more digging into this error I found a site that told
> me it could be something to so with the software installed on the PC on
> which the database resides.
> I think I might need to ensure that dtspkg.dll is correctly installed
> (along with a host of other dll and rll's).
> As I can't get hold of our IT guys today I haven't been able to see if
> this solves my problem.
> Does this sound like it may fix the problem??
If no dts package works when run from a job on the server.
Quite frankly, I'm confused by your huge initial post as to which technique
you're trying and what's going on.
I'm wondering if this is running and owned by a user can run the dts package
OK on the server using whichever of the alternatives you posted you're
currently trying.
Try this with the package if it's vbscript using any activex.
Open DTS Designer, right-click the task, select Workflow, then Workflow
Properties. On the Options tab, check "Execute on main package thread"
--
Regards,
Andy O'Neill
EXECUTE AS question,sql server