473,503 Members | 7,214 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.dtsx")
pkg = app.LoadPackage(pkgLocation, Nothing)
pkg.Execute()

Me.l_errormessage.Text &= "<br>Execution Result: " &
pkg.ExecutionResult
---------------

Nov 13 '08 #1
0 1391

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

Similar topics

1
1602
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
11849
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:...
1
3591
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...
1
2105
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'...
18
1770
by: panig | last post by:
how the program knows when a file is finsihed, mmm?
5
4050
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...
0
1088
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...
4
1598
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...
0
962
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. ...
0
7093
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...
0
7291
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,...
0
7357
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7012
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...
0
7468
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3171
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
402
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...

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.