473,657 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excecuting a dtsx file fails

Hello all
I create a package in SSIS, this works fine (is just a file that update and
isert records).
But when I add this in my vb.nat project this fails, the resultcode is 0
(successfuly) but nothing happend.

Strange: When I run my website in Design Mode with F5, this works, but when
I move this (in the same server) in a Web directory this is ignored....
doesn't works.

Thanks for your comments. This is the code:
--------------
Dim pkgLocation As String
Dim app As New Application
Dim pkg As Package

pkgLocation = Server.MapPath( "SF_Renewal1.dt sx")
pkg = app.LoadPackage (pkgLocation, Nothing)
pkg.Execute()

Me.l_errormessa ge.Text &= "<br>Execut ion Result: " &
pkg.ExecutionRe sult
---------------

Nov 13 '08 #1
0 1400

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1615
by: Raghul | last post by:
friends When i execute the python bu dbleclick in windows a command prompt run s at back what to do to stop the command prompt running back when running python. pls give me a solution
4
11871
by: SS | last post by:
We built an MSI file to deploy a .net app to the workstation. We created an HTML page that has a link to the MSI file. On a very sporadic basis, when the MSI is run we get the following message: The cabinet file '_blahblahblah' required for this installation is corrupt and cannot be used. This could indicate a newtwork error, an error reading from the CD-ROM, or a problem with this package. The MSI file fails consistently on some...
1
3607
by: Michael | last post by:
Hello, Not sure if this is the right message board but I have an interesting problem. Using Visual Studio .NET, C++, I want to write an all-encompassing C++ program to download new files from an FTP Server. The C++ program will ftp to the server and download a list of files, match those files with the ones I've already received, put together a new ftp script and download.
1
2117
by: Martin Burger | last post by:
Hello, I configured PHP 4.3.11 './configure' '--prefix=~/php-4.3.11' '--enable-memory-limit' '--enable-force-cgi-redirect' '--enable-track-vars' '--with-pcre-regex' '--with-mysql=shared' '--without-mm' '--enable-fastcgi' and executed "make; make install".
18
1793
by: panig | last post by:
how the program knows when a file is finsihed, mmm?
5
4060
by: Digital Puer | last post by:
I fixed a bug today that went against my intuition. I am on Linux. I had a class that fopen'ed some files. When I called delete on these objects, I expected that the files would be closed automatically, just as when an application terminates, but evidently this is not the case. I guess I have to fclose the files in the destructor. Is this a correct assessment?
0
1095
by: =?Utf-8?B?UGV0ZXIgTmV3bWFu?= | last post by:
im in need of help. Workstation - win xp pro. FTP & SQL servers Win2003 , devolopment in VS2005 ( vb.net ) , SQL 2005 I have generated an application which is fired from an event on a FTP server. The application runs a DTSX which redides in a directory on the FTP server. The application runs fun ( tested ) and when loaded into SQL Server Business Intelligence Development Studio the dtsx runs fine. However when the application calls...
4
1609
by: mailavi | last post by:
Sir! thanks i got reply for my last posting. now please tell me the procedure for excecuting and writing the Servlets programs and please also explain the procedure for seting the path for my computer .............. if possible with an example.
0
970
by: =?Utf-8?B?UGV0ZXIgTmV3bWFu?= | last post by:
VB.net 2005 * SQL Server 2005 im running a test applicaton to see if this can be done . My DTSX has a string variable called filename and i want to parm that file name in from my application. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim pkgLocation As String = "" Dim App As New Application
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.