dbTalk Databases Forums  

DTS Execution Context

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Execution Context in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Robbins
 
Posts: n/a

Default DTS Execution Context - 08-13-2003 , 08:35 AM






Hello all,

How can I determine what context a DTS package runs under
when executed from a dll? I am attempting to execute a
DTS package from a asp script. The COM+ component has
the proper privileges, but the job is failing when
executed from the web. When I run the job manually in
DTS, the job complete successfully.

The error I receive is:

DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1

DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1

DTSRun OnStart: DTSStep_DTSDataPumpTask_6

DTSRun OnError: DTSStep_DTSDataPumpTask_6, Error = -
2147467259 (80004005)

Error string: [Timberline][Timberline ODBC Driver]
[File Library]Timberline ODBC Driver not activated.

Error source: Microsoft OLE DB Provider for ODBC
Drivers

Help file:

Help context: 0

Reply With Quote
  #2  
Old   
William Wang[MSFT]
 
Posts: n/a

Default RE: DTS Execution Context - 08-15-2003 , 11:30 AM






Hi David,

I have found some articles related to this issue, it seems to be IIS and
ASP security issue.

In the following article. If Allow Anonymous is checked, IIS will always
attempt to access the requested resource by impersonating the Anonymous
Logon account (by default, IUSR_machinename).
http://msdn.microsoft.com/library/de...us/dnauth/html
/dnauth_security.asp

306518 INFO: Troubleshooting Guide for 80004005 Errors in Active Server
Pages
http://support.microsoft.com/?id=306518

175671 PRB: 80004005 ConnectionOpen (CreateFile()) Error Accessing SQL
http://support.microsoft.com/?id=175671

290398 PRB: Access Denied When You Try to Start DCOM Server
http://support.microsoft.com/?id=290398

Sincerely,

William Wang
Microsoft Partner Online Support

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
================================================== ===

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Quote:
Content-Class: urn:content-classes:message
From: "David Robbins" <drobbins (AT) taubman (DOT) com
Sender: "David Robbins" <drobbins (AT) taubman (DOT) com
Subject: DTS Execution Context
Date: Wed, 13 Aug 2003 06:35:47 -0700
Lines: 29
Message-ID: <101001c3619f$cd8e3850$a301280a (AT) phx (DOT) gbl
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNhn82O3PR3QSEvQpSXriLGHh3Y3w==
Newsgroups: microsoft.public.sqlserver.dts
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.dts:37279
NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
X-Tomcat-NG: microsoft.public.sqlserver.dts

Hello all,

How can I determine what context a DTS package runs under
when executed from a dll? I am attempting to execute a
DTS package from a asp script. The COM+ component has
the proper privileges, but the job is failing when
executed from the web. When I run the job manually in
DTS, the job complete successfully.

The error I receive is:

DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1

DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1

DTSRun OnStart: DTSStep_DTSDataPumpTask_6

DTSRun OnError: DTSStep_DTSDataPumpTask_6, Error = -
2147467259 (80004005)

Error string: [Timberline][Timberline ODBC Driver]
[File Library]Timberline ODBC Driver not activated.

Error source: Microsoft OLE DB Provider for ODBC
Drivers

Help file:

Help context: 0



Reply With Quote
  #3  
Old   
William Wang[MSFT]
 
Posts: n/a

Default RE: DTS Execution Context - 08-19-2003 , 08:57 AM



Hi David,

Hope the following article will help:
INF: Execute a SQL Server DTS Package from Active Server Pages
http://support.microsoft.com/default...b;EN-US;252987

You may try to set an error file in DTS package. Then you should see the
detailed error message when the DTS fails.

Open the properties of the DTS package, and then click the General tab:
You will see "Error file". Use this option to specify the file to which
package run-time errors are logged. Click the ellipsis button (...) to
locate and to specify the log file.

Sincerely,

William Wang
Microsoft Partner Online Support

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
================================================== ===

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Quote:
Content-Class: urn:content-classes:message
From: "David Robbins" <drobbins (AT) taubman (DOT) com
Sender: "David Robbins" <drobbins (AT) taubman (DOT) com
References: <101001c3619f$cd8e3850$a301280a (AT) phx (DOT) gbl
C$jlpp0YDHA.1996 (AT) cpmsftngxa06 (DOT) phx.gbl
Subject: RE: DTS Execution Context
Date: Mon, 18 Aug 2003 06:39:16 -0700
Lines: 110
Message-ID: <080b01c3658e$1e861150$a601280a (AT) phx (DOT) gbl
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcNljh6DXEV0W8wZSdyiaPTqSZ1TKA==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.sqlserver.dts
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.sqlserver.dts:37472
NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
X-Tomcat-NG: microsoft.public.sqlserver.dts

Thanks for the links. I'm a victim of the power outage,
hence my delay in replying.

What I am looking for is how to determine which id and
context SQL server exec's my DTS package; e.g. what id
fails and how I can set the proper id. Any other
thoughts would be appreciated.

Thanks again.
-----Original Message-----
Hi David,

I have found some articles related to this issue, it
seems to be IIS and
ASP security issue.

In the following article. If Allow Anonymous is checked,
IIS will always
attempt to access the requested resource by
impersonating the Anonymous
Logon account (by default, IUSR_machinename).
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnauth/html
/dnauth_security.asp

306518 INFO: Troubleshooting Guide for 80004005 Errors
in Active Server
Pages
http://support.microsoft.com/?id=306518

175671 PRB: 80004005 ConnectionOpen (CreateFile()) Error
Accessing SQL
http://support.microsoft.com/?id=175671

290398 PRB: Access Denied When You Try to Start DCOM
Server
http://support.microsoft.com/?id=290398

Sincerely,

William Wang
Microsoft Partner Online Support

Get Secure! - www.microsoft.com/security
================================================== ===
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
================================================== ===

This posting is provided "AS IS" with no warranties, and
confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "David Robbins" <drobbins (AT) taubman (DOT) com
| Sender: "David Robbins" <drobbins (AT) taubman (DOT) com
| Subject: DTS Execution Context
| Date: Wed, 13 Aug 2003 06:35:47 -0700
| Lines: 29
| Message-ID: <101001c3619f$cd8e3850$a301280a (AT) phx (DOT) gbl
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE
V5.50.4910.0300
| Thread-Index: AcNhn82O3PR3QSEvQpSXriLGHh3Y3w==
| Newsgroups: microsoft.public.sqlserver.dts
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.sqlserver.dts:37279
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.sqlserver.dts
|
| Hello all,
|
| How can I determine what context a DTS package runs
under
| when executed from a dll? I am attempting to execute
a
| DTS package from a asp script. The COM+ component has
| the proper privileges, but the job is failing when
| executed from the web. When I run the job manually in
| DTS, the job complete successfully.
|
| The error I receive is:
|
| DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1
|
| DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1
|
| DTSRun OnStart: DTSStep_DTSDataPumpTask_6
|
| DTSRun OnError: DTSStep_DTSDataPumpTask_6, Error = -
| 2147467259 (80004005)
|
| Error string: [Timberline][Timberline ODBC Driver]
| [File Library]Timberline ODBC Driver not activated.
|
| Error source: Microsoft OLE DB Provider for ODBC
| Drivers
|
| Help file:
|
| Help context: 0
|

.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.