dbTalk Databases Forums  

SSIS package fails to execute from scheduler

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


Discuss SSIS package fails to execute from scheduler in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Panos Stavroulis.
 
Posts: n/a

Default SSIS package fails to execute from scheduler - 04-21-2006 , 12:37 PM






Hi,

This is the first time I've am scheduling an SQL Server 2005 package. The
package contains few vb.net scripts and other sql scripts. The package works
fine when I execute from Visual studio. So I tried to schedule from sql
server agent. But it just fails on me, no specific error message no more info
in the package history.

I've created another very simple package to test if that works and that
works fine. So must be something wrong with this particular package. Does
anybody have any ideas what's wrong? What else can I do to debug it? Thanks.

Panos.

Reply With Quote
  #2  
Old   
Panos Stavroulis.
 
Posts: n/a

Default RE: SSIS package fails to execute from scheduler - 04-21-2006 , 12:45 PM






Some more info.

I just amended the simple task to include a SQL script execution and it
fails as well.

The agent is running on a different SQL server than the SQL server I am
connecting within the dtsx package. Does this matter? can see why. Any ideas?

Thanks,

Panos.

"Panos Stavroulis." wrote:

Quote:
Hi,

This is the first time I've am scheduling an SQL Server 2005 package. The
package contains few vb.net scripts and other sql scripts. The package works
fine when I execute from Visual studio. So I tried to schedule from sql
server agent. But it just fails on me, no specific error message no more info
in the package history.

I've created another very simple package to test if that works and that
works fine. So must be something wrong with this particular package. Does
anybody have any ideas what's wrong? What else can I do to debug it? Thanks.

Panos.

Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS package fails to execute from scheduler - 04-21-2006 , 01:31 PM



Enable logging in your package. My guess from the info available so far is
that you have a login failure.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:8E8C8A79-6661-42B5-A7D3-B3C82B46059D (AT) microsoft (DOT) com...
Quote:
Hi,

This is the first time I've am scheduling an SQL Server 2005 package. The
package contains few vb.net scripts and other sql scripts. The package
works
fine when I execute from Visual studio. So I tried to schedule from sql
server agent. But it just fails on me, no specific error message no more
info
in the package history.

I've created another very simple package to test if that works and that
works fine. So must be something wrong with this particular package. Does
anybody have any ideas what's wrong? What else can I do to debug it?
Thanks.

Panos.



Reply With Quote
  #4  
Old   
Panos Stavroulis.
 
Posts: n/a

Default Re: SSIS package fails to execute from scheduler - 04-24-2006 , 08:11 AM



Hi,

I've tried the logging, are you talking about the tap page on the step? I've
tried both text and sql but now it fails with a different error message.
What's the configuration string, don't know what to enter there. Thanks.

Panos.

"Allan Mitchell" wrote:

Quote:
Enable logging in your package. My guess from the info available so far is
that you have a login failure.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:8E8C8A79-6661-42B5-A7D3-B3C82B46059D (AT) microsoft (DOT) com...
Hi,

This is the first time I've am scheduling an SQL Server 2005 package. The
package contains few vb.net scripts and other sql scripts. The package
works
fine when I execute from Visual studio. So I tried to schedule from sql
server agent. But it just fails on me, no specific error message no more
info
in the package history.

I've created another very simple package to test if that works and that
works fine. So must be something wrong with this particular package. Does
anybody have any ideas what's wrong? What else can I do to debug it?
Thanks.

Panos.




Reply With Quote
  #5  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS package fails to execute from scheduler - 04-24-2006 , 08:19 AM



No I am talking about inside the package itself.

It would seem that the package fires from the scheduler so we are actually
executing. The best way to see what is happening inside is to turn on
logging in the package itself.

Make sure you turn it on for each executable and all events. Whilst this
will be verbose it will allow you to see everything. You can always turn it
down afterwards.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:61301D15-708A-49D8-9F82-EA4002840FA6 (AT) microsoft (DOT) com...
Quote:
Hi,

I've tried the logging, are you talking about the tap page on the step?
I've
tried both text and sql but now it fails with a different error message.
What's the configuration string, don't know what to enter there. Thanks.

Panos.

"Allan Mitchell" wrote:

Enable logging in your package. My guess from the info available so far
is
that you have a login failure.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:8E8C8A79-6661-42B5-A7D3-B3C82B46059D (AT) microsoft (DOT) com...
Hi,

This is the first time I've am scheduling an SQL Server 2005 package.
The
package contains few vb.net scripts and other sql scripts. The package
works
fine when I execute from Visual studio. So I tried to schedule from sql
server agent. But it just fails on me, no specific error message no
more
info
in the package history.

I've created another very simple package to test if that works and that
works fine. So must be something wrong with this particular package.
Does
anybody have any ideas what's wrong? What else can I do to debug it?
Thanks.

Panos.






Reply With Quote
  #6  
Old   
Panos Stavroulis.
 
Posts: n/a

Default Re: SSIS package fails to execute from scheduler - 04-24-2006 , 09:06 AM



Hi Alan,

Now that might be a Windows question not SQL server. I've tried the logging
within the package and after I've changed the drive names to something more
appropriate now I get

Message: The script threw an exception: Access to the path
'\\cqsm.com\cqsnet\shareddata\CreditFund\Data\Mark -It\CDS\AllComposite' is
denied.

Why I don't have access when executing from SQL. I do have access to see
files in the folders from the file system. Thanks.

Panos.

"Allan Mitchell" wrote:

Quote:
No I am talking about inside the package itself.

It would seem that the package fires from the scheduler so we are actually
executing. The best way to see what is happening inside is to turn on
logging in the package itself.

Make sure you turn it on for each executable and all events. Whilst this
will be verbose it will allow you to see everything. You can always turn it
down afterwards.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:61301D15-708A-49D8-9F82-EA4002840FA6 (AT) microsoft (DOT) com...
Hi,

I've tried the logging, are you talking about the tap page on the step?
I've
tried both text and sql but now it fails with a different error message.
What's the configuration string, don't know what to enter there. Thanks.

Panos.

"Allan Mitchell" wrote:

Enable logging in your package. My guess from the info available so far
is
that you have a login failure.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:8E8C8A79-6661-42B5-A7D3-B3C82B46059D (AT) microsoft (DOT) com...
Hi,

This is the first time I've am scheduling an SQL Server 2005 package.
The
package contains few vb.net scripts and other sql scripts. The package
works
fine when I execute from Visual studio. So I tried to schedule from sql
server agent. But it just fails on me, no specific error message no
more
info
in the package history.

I've created another very simple package to test if that works and that
works fine. So must be something wrong with this particular package.
Does
anybody have any ideas what's wrong? What else can I do to debug it?
Thanks.

Panos.







Reply With Quote
  #7  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS package fails to execute from scheduler - 04-24-2006 , 09:18 AM



Because you are not executing the package as you. The execution context is
somebody else and chances are they do not have access to that path

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:41010350-D9F8-4945-84F6-FCF95E0295C1 (AT) microsoft (DOT) com...
Quote:
Hi Alan,

Now that might be a Windows question not SQL server. I've tried the
logging
within the package and after I've changed the drive names to something
more
appropriate now I get

Message: The script threw an exception: Access to the path
'\\cqsm.com\cqsnet\shareddata\CreditFund\Data\Mark -It\CDS\AllComposite' is
denied.

Why I don't have access when executing from SQL. I do have access to see
files in the folders from the file system. Thanks.

Panos.

"Allan Mitchell" wrote:

No I am talking about inside the package itself.

It would seem that the package fires from the scheduler so we are
actually
executing. The best way to see what is happening inside is to turn on
logging in the package itself.

Make sure you turn it on for each executable and all events. Whilst this
will be verbose it will allow you to see everything. You can always turn
it
down afterwards.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote in
message news:61301D15-708A-49D8-9F82-EA4002840FA6 (AT) microsoft (DOT) com...
Hi,

I've tried the logging, are you talking about the tap page on the step?
I've
tried both text and sql but now it fails with a different error
message.
What's the configuration string, don't know what to enter there.
Thanks.

Panos.

"Allan Mitchell" wrote:

Enable logging in your package. My guess from the info available so
far
is
that you have a login failure.

--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"Panos Stavroulis." <PanosStavroulis (AT) discussions (DOT) microsoft.com> wrote
in
message news:8E8C8A79-6661-42B5-A7D3-B3C82B46059D (AT) microsoft (DOT) com...
Hi,

This is the first time I've am scheduling an SQL Server 2005
package.
The
package contains few vb.net scripts and other sql scripts. The
package
works
fine when I execute from Visual studio. So I tried to schedule from
sql
server agent. But it just fails on me, no specific error message no
more
info
in the package history.

I've created another very simple package to test if that works and
that
works fine. So must be something wrong with this particular package.
Does
anybody have any ideas what's wrong? What else can I do to debug it?
Thanks.

Panos.









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.