473,396 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Unable to call dts package from web application

Hi,

It would be of great help if some one could guide me on the below.

I am trying to execute a DTS package created in sql server 2000 from a web application created in asp.net 1.1 using C#.

I tried the same code with a windows application and was able to execute.

The code that i had used.

DTS.PackageClass package = new DTS.PackageClass();
package.LoadFromSQLServer("ctsintdluhgd","hcdev"," flowers",DTS.DTSSQLServerStorageFlags.DTSSQLStgFla g_Default, null, null, null, packageName, ref pVarPersistStgOfHost);

package.Execute();


the same code works in windows application.

I had added the reference to the name space DTS(using dts)

(Note: I dont have proper previlage to call the package through a stored procedure so chose this method)

Would appreciate your help.

Thanks & regards,
Siva.
Aug 22 '07 #1
1 2468
kenobewan
4,871 Expert 4TB
Here is an article that may help:
How to Asynchronously Execute a DTS package from ASP or ASP.NET
Aug 22 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Tubby Tudor | last post by:
What is the best way to call one python script from within another python script? For example: one.py finishes succesfully and calls two.py which finishes OK and then calls three.py Thanks...
2
by: Peter Gomis | last post by:
I have encountered a situation where I am unable to remove a .NET assembly from the GAC. The message I receive is "Assembly 'assemblyname' could not be uninstalled because it is required by other...
12
by: VJ | last post by:
My application is installing files in C:\Program Files\Common Files\Company Name\Shared Files\. The application installed cannot find files in this directory. I thought putting this in Path...
2
by: Michael | last post by:
Running DB2 v7 UDB ("DB2 v7.1.0.93", "n031208" and "WR21333") on Windows XP, I am unable to find out why the "Build for Debug" option within Stored Procedure Builder is not enabled on Java stored...
0
by: marina.sukhnev | last post by:
Hi guys, I have some issue. Recently we moved our servers to different location and ip addressed have changed,now we started to use dsn everywhere. I have an existing web service that uploads...
0
by: Marisha | last post by:
Hi guys, I have some issue. Recently we moved our servers to different location and ip addressed have changed,now we started to use dsn everywhere. I have an existing web service that uploads...
3
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
Hi, I need to call an SSIS package from ASP.NET 2.0 web page. First I triy to call it directly from the asp.net page, as the following: Dim app As New Application Dim pack As Package =...
0
by: Monty | last post by:
I have an installation package for my web application which has worked well. After rebuilding the package and running install, I began receiving this error message: Error 1001. Unable to get...
0
by: nimjerry | last post by:
i am using db2 udb V 9 on aix 5.3 and in db2diag.log alwas has this error occurr below is sample message 2008-03-03-09.45.34.366406+420 I306667A443 LEVEL: Warning PID : 835622 ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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...
0
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
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,...

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.