Problem Running SSIS From C# Executable When Kicked Off By Another Executable.
Sep 26, 2007
If I kick off my C# executable from the server everything works fine but if I have another C# executable kick off the C# executable that runs the SSIS I get an error message saying it cannot run SSIS package. I am thinking it sounds like a permissions problem but not sure. Any suggestions/guidance would be greatly appreciated.
Errors I am getting.
2007-09-26 15:02:30,187 [1] ERROR reporting.Processor [(null)] - Problem with Direct Script
2007-09-26 15:02:30,843 [1] ERROR reporting.Processor [(null)] - {Microsoft.SqlServer.Dts.Runtime.DtsError, Microsoft.SqlServer.Dts.Runtime.DtsError, Microsoft.SqlServer.Dts.Runtime.DtsError, Microsoft.SqlServer.Dts.Runtime.DtsError, Microsoft.SqlServer.Dts.Runtime.DtsError}
Thanks in advance.
View 3 Replies
ADVERTISEMENT
May 24, 2002
We have a job set up that runs a Visual Basic executable file. It was running fine. We just upgraded to SQL2000. The job still seems to run ok, but we are getting a message that the job failed. "The step did not generate any output. Process Exit Code -1073741819. The step failed." Yet, when we check the output tables, it seems as though the job ran ok. The programmer is not passing any exit codes. Any ideas?
View 1 Replies
View Related
Feb 15, 2001
Hi,
I have a small Vb project( it is triggers Crystal report to run) which should be scheduled with SQL 7.0.
Project itself runs without any problem.
When I schedule a job to run that Myproject.exe with WIN95 Or create a DTS package and execute it on WINNT it also works fine.
But when I am trying to schedule that package OR create a separate job on WINNT to run Myproject.exe- nothing happen(it run 47 hours since yeasterday-nothing happen) Also under Job/Edit/Step1/Command I am using the following command
either: Myproject.exe OR cmd /c "D:VB98f100estvbCrystalMyproject.exe"
Any ideas,
Andy
View 1 Replies
View Related
Aug 8, 2007
I am trying to add a custom dll(IncrementTask avalilable in SQL Server DTS Samples)
as an executable(Task) to an SSIS package.
The following console application consumes the Custom dll:
using System;
using Microsoft.SqlServer.Dts.Runtime;
using Microsoft.SqlServer.Dts.Tasks.FileSystemTask;
using Microsoft.SqlServer.Dts.Samples;
using Microsoft.Samples.SqlServer.Dts;
namespace Microsoft.SqlServer.Dts.Samples
{
class Program
{
static void Main(string[] args)
{
Package p = new Package();
// Add a File System task to the package.
//This Line of code works fine.
//TaskHost execPkghost = (TaskHost)p.Executables.Add("STOCKQLTask");
//This line throws the following error: Object reference not set to an instance of an object.
TaskHost execPkghost = (TaskHost)p.Executables.Add("Microsoft.Samples.SqlServer.Dts.IncrementTaskUI,IncrementTaskCS,
Version=1.0.0.0,Culture=Neutral,PublicKeyToken=b23be0feabed1355");
TaskHost thFileSystemTask = execPkghost as TaskHost;
// Iterate through the package Executables collection.
Executables pExecs = p.Executables;
foreach (Executable pExec in pExecs)
{
TaskHost taskHost = (TaskHost)pExec;
Console.WriteLine("Type {0}", taskHost.InnerObject.ToString());
}
Console.Read();
}
}
}
I am getting a runtime error that "object reference has not been set to an instance of the object".
Any help on this is higly appreciated.
View 3 Replies
View Related
Jul 10, 2015
I have an execute process task set up to run ftp.exe and a script argument. The ftp.exe is referenced in the executable field without a qualified path. The package just seems to know it's there relatively. I need to change this to run a secured ftp executable that I recently installed on my pc. I put the new executable in the WindowsSystem32 folder where the old ftp.exe is stored. But when I put the new executable in the executable field, it says the 'File/Process "FTPS.exe" is not in path'. I get the same error when I fully qualify the path. Is there something I need to do with the new executable for SSIS to pick it up without having to fully qualify the path?
View 8 Replies
View Related
Jan 22, 2008
Hello,
I am having a hard time setting the executable path for an Execute Process Task in SSIS. I have a variable that is initialized at package statup which holds the path to an executable in Windows. When I set the property "Executable" Path in an expression, I get a warning that the path for the executable is not set. One workaround was to try and initialize the variable with a bogus path with the hopes that the "correct" value will be written on run-time. NO LUCK. I still get the error and I cannot run the package until I put a static path.
Does anyone have a clue as to what is going on??
Mike
View 1 Replies
View Related
Feb 28, 2002
I'm trying to initiate an executable from a job step. This executable functions normally from a command prompt on the server and will initiate properly from a DTS package that is executed locally by a logged in user. It won't run from Query Analyzer, an Operating System Command jobstep, or a scheduled DTS package. The executable creates a report that gets written to disk and a window shows briefly during execution.
MS SQL 2000 on Win2K.
Any clues as to how to run this executable from a scheduled jobstep?
Thanks if you can help,
Mack
View 5 Replies
View Related
Feb 20, 2008
Hi, I'm new to SQL and I just got a new job with very little hands on training. I have executed a CreateTables.sql and now my boss wants me to run a Conversion.exe file. I am not sure how to do that, any help would be most appreciated. Thanks,
Laura
View 3 Replies
View Related
Apr 13, 2007
Is there an ability to add dll or executable to ssis?????
View 4 Replies
View Related
Jun 14, 1999
I am trying to run an executable via a scheduled sqlserver job. I have set the jobstep type to CMDEXEC; and the commands for the jobstep that I have tried are:
start c:estinsertindb.exe
c:estinsertindb.exe
c:estinsert.bat
insert.bat above contains c:estinsertdb.exe or
start c:estinsertdb.exe
Is there an exception that will not allow a job to run an exe file?
I am running into a similar problem using the NT scheduler via the "at" command.
With NT, I run a bat file with the following command to create a scheduled task or job (at 10:10 /every:M,W,F c:estinsertdb.exe).
At 10:10, when the job is scheduled to run, nothing happens; but if I edit the job and manually start the job, it runs.
View 1 Replies
View Related
Jul 22, 1999
Can I kick off a VB.exe in SQL Server 6.5?
TIA,
Stella
View 1 Replies
View Related
Nov 16, 2001
Hi folks,
Is there is any way to run a executable from triggers or stored procedures..
Please let me know, whether it is possible in SQl Server 7.0.
Let me know asap...
rgds,
VJ
View 1 Replies
View Related
Jan 23, 2007
Kazim writes "generally when we find the new software on our customer and when they want to change the software they said "we must see and use the old datas on the new program". but at here the problem is starting for us because of i want to know on any example on the old software which data is stored on which table on sql server or it is possible for this example we can say spy. do you know anything for about this type of the question and how can we check which tables and columnS are affected by the software?
thnx."
View 1 Replies
View Related
Feb 19, 2008
I am having a hard time finding the executable file to start sql express 2005 or SQL exress 2005 with advance services. I installed the SQL express and had the desktop icon....but I thought i would need to uninstall it before installing SQL 2005 with advance services. Now I can not find anything to start the program.
View 1 Replies
View Related
Jul 26, 2007
Hi people.
I have this issue
I'm on a application server and i need to run a executable file from a SP, my problem is if i use xp_cmdshell (from the SP) it will try to run it on the SQL Server not on a App server, this a third party executable so cannnot be run on the sql backend.
Do you know any workaround for this?
View 8 Replies
View Related
Mar 22, 2008
Im trying to figure out if there is a way to embed an ssis package into a c# winform?
I know that I can pass variables to a package and write the entire package out programatically, but im curious if there is a way to add the dtsx as an assembly or something. OR is there any tool that would take the ssis package and spit out its equivalent in code?
thanks
View 6 Replies
View Related
Jun 12, 2015
I am having Windows 2012R2 Std with SQL2012SP2. Trying to add SQL cluster node2 but unable to locate the instance name when I click on drop down button.Understand that SQL Server Agent is required but it is not listed as cluster resource. Therefore, I perform the followingFrom Windows Power Shell with Administrator rights
1. Import-Module FailoverClusters
2. Add-ClusterResourceType "SQL Server Agent" c:windowssystem32SQAGTRES.DLL
Error: Add-ClusterResourceType : Unable to locate the cluster service executable on node1.The network name cannot be found.No problem to ping all cluster related names as well as fail-over to and from next available node.
View 3 Replies
View Related
May 31, 2006
I am in the process of downloading the executable file, however which am I meant to pick
X86
x64
IA64
I will be installing on a labtop, 256 memory, Pentium 4 1.7 GHZ
I have gone for the x86. Is this right? Also I know recommended memory is 1 gig but will I still be able to install. I just want to have a look at the procduct.
Please help
View 1 Replies
View Related
Jan 21, 2008
Hello everybody,
Could anybody tell me how can I stop the executable program which I am using in Arguments field of Execute Process Task Editor window. My SSIS process based on three steps.
1. retrieve the file from FTP location
2. Process the file by using windows 32bit application
3. transfer the processed file back to FTP location
The problem occurs in step 2, it opens the win32 application for processing and it does process BUT after that it won't exit untill I close it manually, so it never reaches to step 3 if I don't close it.
Thanks in advance.
Zee.
View 2 Replies
View Related
Jan 4, 2008
Hi,
I want to install SQL server 2005 trial version from Microsoft, How do I know which excecutable to tale from these below?
Self-extracting executables:
X86 Executable
X64 Executable
IA64 Executable
Thanks
View 6 Replies
View Related
Apr 4, 2006
Hi
I am looking at documentation of CREATE CERTIFICATE statement. I am having hard time in understanding if I want to create CERTIFICATE with above mentioned options, how I am supposed to create either PRIVATE KEY file or EXECUTABLE file. any example would be really helpful for what I am doing here.
thanks
Satya
View 1 Replies
View Related
Jul 23, 2005
I'm working on a VB.NET project where we are intending to use MSDE as ourback-end database. The actual number of users is expected to be low and Idon't have any concerns as to whether MSDE will be up to the job (most ofthe time). I'm aware that if we end up with lots of users connecting to oursite at once (which may happen as certain times in the year when people needinformation for deadlines) then the performance governor in MSDE will kickin and slow everything down.What I don't know is how do I find out whether the performance governor haskicked in?I would like to know how to monitor this so we can make an educated decisionas to when we need to migrate to a full version of SQL Server (if at all).Can anyone point me in the right direction for finding this out?thanks,Brian Cryer.
View 2 Replies
View Related
Jan 22, 2007
running ssis package with ssis run time compoenents and sql server 2000...
Is it possible to run ssis packages that point to servers on sql server 2000
without installing sql server 2005 ?
Can we just install runtime for ssis and run the packages ?
Please explian with links if possible
thanks a lot
View 18 Replies
View Related
Aug 30, 2006
Hey, I've a few jobs which call SSIS packages. If I run the SSIS package, it runs fine but if I try to run the job which calls this package, it fails. Can someone help me troubleshoot this issue? None of my jobs that call an SSIS package work. All of them fail.
Thank you
Tej
View 7 Replies
View Related
Jul 20, 2005
Life is not good.So I've got a machine that I do some development work on, nothingmajor, but I'd like to keep some things intact. I'm running SQL Server7, it's an old installation, but it works and I've got a number ofdatabases on it.So I see the new 2005 Express downloads and I download the WebDeveloper edition, install it, it installs 2005, but my SQL Server 7installation now seems to be hosed.The SQL Server Service Manager still shows SQL Server 7 starting andrunning, but the Enterprise Manager can no longer connect, it gives avague "General Error" message even though the sqlservr.exe process isstill running. It was not able to connect upon installing the otherproducts.I've de-installed the new Express stuff and now just have my trustyVS2003 installation. Everything seems fine except nothing can talk tothe database, which makes sense since the database now doesn't evenshow up on the Enterprise Manager. The Application node of the EventLog shows no errors coming from SQLServer. But when I try to connector re-register a database I get: "Server registration informationcannot be changed on remote registries"Nothing like this has even vaguely happened to me before. Is thereanyone with any constructive advice? I'd be grateful.Peace,Greg McClure
View 3 Replies
View Related
Jun 6, 2007
Hello,
If my SSIS runs every day, how can I "know" that I'm running it for the first time?
I need an SQL Select1 statement to execute the first day that my flow starts (to get all the old data) and after that SQL Select2 statement should always execute (to get the latest data).
How is this possable?
Thank you.
View 14 Replies
View Related
Aug 18, 2006
I'm trying to run a SSIS package (dtsx) from inside an sql job (SQL Server agent). This works fine if the user running (run as) the step is a local admin on the server. If it's not, I get the error message "The package could not be loaded. The step failed". This happens even if the user has all possible serverroles such as "sysadmin" etc in SQL.
So, my question is, is there any way to load an SSIS package without being local admin on the machine? In case it is, what is needed?
regards Andreas
View 3 Replies
View Related
Aug 27, 2007
Folks -
Did you have any success when running bat files (Execute Process Task) from SSIS through SQL Server Agent jobs? My package will succeed when I run it from my machine, when I ask the DBA to run it manually from the Server but not when we run from a job.
The job will hang and the bat file does not seem to be executed. The executable property does evaluate to the right path and the package owner does have write/execute permissions in the folder where the bat file is located.
Everything I could find close to that is under <http://support.microsoft.com/kb/918760>. Would you shed any light on this? When I run the same bat file from a DTS through SQL Server Agent job, it will work with no issues. Any help would be very much appreciated.
Thanks.
View 13 Replies
View Related
Nov 8, 2006
I have an issue when a job is scheduled to run a SSIS package. The package (exporte a table to a text file) runs fine from microsoft visual studio but when i create a job and run it, i get the following error:
[298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user 'VOLCANOAdministrator', error code 0x534. [SQLSTATE 42000] (ConnIsLoginSysAdmin)
View 5 Replies
View Related
Sep 20, 2006
Is there any way to check from SQL code if a specific SSIS stored package is running like a SQL system view or stored procedure? Management studio option works fine but not if you need to determine if a specific package already is running or not?
View 3 Replies
View Related
Feb 23, 2007
I need to be able to run SSIS packages form an asp.net (win 2k3) web server. Wrox has a book out "Professional SQL Server 2005 Integration Services" where they call the dtsx package directly using the following vb.net snipette:
Imports Microsoft.SqlServer.Dts.DtsClient
Dim ssisConn As New DtsConnection
ssisConn.ConnectionString = String.Format("-f ""{0}""", strMyFilePath)
ssisConn.Open()
As you would expect this works great on a workstation that has BIDS installed on it but does not work on a web server where sql client tools are not installed. Without install sql tools on the server what needs to be done to get this functioning as coded? How about calling packages that are installed on the server?
If anyone knows of any sites or books that cover this in detail I would appreciate the info. I only seem to be able to find bits and pieces.
thanks in advance
View 4 Replies
View Related