all groups > sql server dts > april 2007 >
You're in the

sql server dts

group:

DTS and MSDE


DTS and MSDE jim
4/11/2007 3:06:01 PM
sql server dts:
Hello,

I have vb (6.0) app that attempts to execute a couple of dts packages. The
pkg's merely does some data retrieval and pumps the data into a text file
(.dat). The app runs fine on the machine that have sql server (7.0)
installed. However, on the machine w/ MSDE the app appears to be executing
the pkg but the text file is not being created or the data is not being
stored into file.

Not sure why this is happening.

any help is appreciated.

RE: DTS and MSDE jim
4/11/2007 3:24:01 PM
I just wanted to add to the prev. post, that the packages have been installed
via LoadFromStorageFile and SavetoSqlserver methods prior to attempting to
executing the packages via the vb app. The LoadFromSqlServer and Execute
methods are being invoked in the vb app.

I'm not receiving in any error messages at all. The the packages does have
global variables which are set via the app. I've tried running the dts w/
dtsrun utility but of course it errs out since the global variable is not
set. Or, is there the pass a value to the variable in dtsrun.

any help is appreciated.
[quoted text, click to view]
Re: DTS and MSDE jim
4/12/2007 3:46:02 PM
Hi Allan,

I'm not sure I follow you about the runtine w/ MSDE 1.0. The packages are
running per the dtsrun utility (command prompt). I have one pkg that does not
have any global variables. The remaining do. However, I receive the following
error msg:

Error #: -2147467259
Error Desc: [DBNETLIB][ConnectionOpen(Connect()] SQL Server does not exist
or access denied
Error Source: Microsoft OLE DB Provider for SQL Server.

The above error is not appearing the in the vb app (removed error handling).
Also, the odd thing about this error is, I'm able to run the stored
procedures in the dts pkg's via osql.exe w/ no problem. That is, e.g. osql -S
<username> -P <password> -d <DBName> -q "EXEC Get_MyData @parm1='something'".
The data is returned w/ no Connection problem. I do the same w/ dtsrun /S
<username> /P <password> -N <pkgname>.

The pkg's w/ the global variables can't be executed properly because I can't
the use /A switch.

I've even used the "sa" login to execute the dts pkg and still receiving
connection error.

any help is appreciated.

jim
[quoted text, click to view]
Re: DTS and MSDE Allan Mitchell
4/12/2007 7:03:55 PM
Hello Jim,


So you are using SQL Server 7?

Only the runtime is installed with MSDE 7. How do you know the package runs
or think it runs?




--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

Re: DTS and MSDE Allan Mitchell
4/14/2007 12:00:00 AM
Hello Jim,

To use DTSRun you have to have at least the runtime installed on the box
that does the calling of the package as the package runs from the place calling
it and not on its storage location.

I will presume that the package is stored on a SQL Server somewhere.

The error may not be from the retrieval of the package from storage but from
a connection internally.

What account are things running under?

You can trace the storage server to see if the attempt gets made to retrieve
from the storage there.




--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

Re: DTS and MSDE jim
4/14/2007 6:26:01 PM
Hi Alllan,

Once again, thx. for the help. I really appreciate it. I think I found the
solution to my problem, which happens to be an error on my part. It turns out
the dts pkg's were using winnt authentication rather than sql server, so the
connection error. All seems to be well, now.

sorry about that.

jim
[quoted text, click to view]
Re: DTS and MSDE Allan Mitchell
4/15/2007 6:55:31 AM
Hello Jim,

I am glad you got things sorted.

--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

AddThis Social Bookmark Button