dbTalk Databases Forums  

NEWBIE - can't run SSIS package in SQL server agent scheduled job?

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


Discuss NEWBIE - can't run SSIS package in SQL server agent scheduled job? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM






Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





Reply With Quote
  #12  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM






Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





Reply With Quote
  #13  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM



Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





Reply With Quote
  #14  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM



Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





Reply With Quote
  #15  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM



Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





Reply With Quote
  #16  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM



Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





Reply With Quote
  #17  
Old   
Irvine, Dennis
 
Posts: n/a

Default Re: NEWBIE - can't run SSIS package in SQL server agent scheduled job? - 07-01-2008 , 10:22 AM



Further update.
The package will run if I log into the server under the given account and
right click on the job and chose "run".
But it won't run at the scheduled time, by itself.

Any ideas?

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote

Quote:
Further update.

It is almost definitely a network drive mapping issue.
I added a "step" to the job that ran an operating system command to map
the necessary drive prior to running the main package and it worked.

Don't know why I need to map the drive, as it is normally mapped for that
computer under that account.
But at least it worked.

Dennis

"Irvine, Dennis" <dennis.irvine (AT) plumasnt (DOT) com> wrote in message
news:eMd%23zQu1IHA.3920 (AT) TK2MSFTNGP02 (DOT) phx.gbl...
I have a SSIS package that runs fine in Visual Studio. But if I put it
in a scheduled job in SQL Server agent, it won't run.

Both VS and SA use the same account to run.

The error I get in the logs is an ODBC error.
The package does have an ODBC connection in it.
The connection uses a SYSTEM DSN connection to get data from another
source on another machine.
I am simply using Windows authentication and VS is running under account
"x".
the SQL Server Agent service is also set up to run under account "x".

Yet the error message says the driver cannot be loaded.

Is there perhaps and environment variable problem???
I believe the actual ODBC driver for this is on a network drive. Perhaps
the network drive is not "mapped" within the SQL Server Agent service????

Anyone have any suggestions?
Thanks





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.