Showing posts with label sqlserver. Show all posts
Showing posts with label sqlserver. Show all posts

Friday, March 30, 2012

scheduling the job to process a dts package

I am new to sqlserver.

Could anybody please help me by giving me a syntax for the command in job schedular to run dts package

i enter the job name in the first screen of the wizard.

I entered the step name. type Transact SQL

database msdb

What should i enter in command text box

My dts package name is fullcube.

Thanks in advance

The easiest way to schedule a DTS package in SQL 2000 is to navigate to the package in Enterprise Manager, right click on the package and choose the "Schedule Package..." option.

This will create a SQL Agent job to execute the package, by default I think it encrypts the command line.

The other way to execute a DTS package is to use the DTexec command line utility. To get a list of the parameters for this utility, type in "DTEXEC /?" to a command line window. If you wanted to you could manually do what the "Schedule Package..." screen does and create a SQL job that has a CmdExec step that calls DTExec.

Scheduling SQL Server start/stop

I have an instance of SQLServer which I would like to restart automatically
once a day due to memory leak issues. How can I best achieve this?
Thanks in advance for your help.rmuram wrote:
> I have an instance of SQLServer which I would like to restart
> automatically once a day due to memory leak issues. How can I best
> achieve this?
> Thanks in advance for your help.
I think before you go this route, we should discuss the memory issues. I
have not seen any reported memory leak issues with SQL Server. Some may
exist, but I have not seen them. What is often reported as a memory leak
issue is generally not a problem, but a SQL Server design. If what you're
seeing is that SQL Server gradually consumes more and more memory on the
server without returning that memory to the server, this is by design. If
you are finding that you require additional memory for other services on the
server, then you should set an upper memory limit for the server to prevent
it from consuming too much. If OTOH you are seeing a memory leak issue,
please let us know in more detail what you are seeing.
To start stop the server manually, you can look at "Starting SQL Server
Manually" and "Stopping SQL Server" in BOL.
David Gugick
Quest Software|||Hi,

>From SQL Server it is imposssible to schedule a restart of SQL
Server.But can create a BATCH file.
HTH
from
Killer
rmuram wrote:
> I have an instance of SQLServer which I would like to restart automaticall
y
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.|||Thanks David for the reply.
My use of the descrition 'memory leak' was not not entirely correct and wh
at
I am seeing is as described you described below.

> If what you're seeing is that SQL Server gradually consumes more and more
> memory on the server without returning that memory to the server, this is
by
> design.
What happens if I set the upperlimit to the memory usage? Will it free up
memory to serve additional requests etc?
I would still like to know if there are ways to automate startup/shutdown if
anybody has any experience.
Thanks.
"David Gugick" wrote:

> rmuram wrote:
> I think before you go this route, we should discuss the memory issues. I
> have not seen any reported memory leak issues with SQL Server. Some may
> exist, but I have not seen them. What is often reported as a memory leak
> issue is generally not a problem, but a SQL Server design. If what you're
> seeing is that SQL Server gradually consumes more and more memory on the
> server without returning that memory to the server, this is by design. If
> you are finding that you require additional memory for other services on t
he
> server, then you should set an upper memory limit for the server to preven
t
> it from consuming too much. If OTOH you are seeing a memory leak issue,
> please let us know in more detail what you are seeing.
> To start stop the server manually, you can look at "Starting SQL Server
> Manually" and "Stopping SQL Server" in BOL.
>
> --
> David Gugick
> Quest Software
>
>|||Thanks for the reply.
Do you have a sample I can work from?
"doller" wrote:

> Hi,
>
> Server.But can create a BATCH file.
> HTH
> from
> Killer
> rmuram wrote:
>|||Hi rmura,
If u want to create a backfile to start and stop of sql server the u
have to follow these steps
open command prompt
write net stop mssqlsever
if will ask u to stop sql agent y/n : press y
then it will ask u to stop sql server y/n : press y
so u can create a backfile
like this
cd \
net stop mssqlserver
y
to start sql sever
add the code
net start mssqlserver
now u need to start sql agent
add these code
net start sqlserveragent
HTH
from
Killer|||Here's some info on SQL Server's memory usage:
INF: SQL Server Memory Usage
http://support.microsoft.com/defaul...b;en-us;q321363
http://www.mssqlserver.com/faq/trou...-memoryleak.asp
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"rmuram" <rmuram@.discussions.microsoft.com> wrote in message
news:CCC09FAF-9647-4210-9C2A-779AF6FB760C@.microsoft.com...
>I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.

Scheduling SQL Server start/stop

I have an instance of SQLServer which I would like to restart automatically
once a day due to memory leak issues. How can I best achieve this?
Thanks in advance for your help.rmuram wrote:
> I have an instance of SQLServer which I would like to restart
> automatically once a day due to memory leak issues. How can I best
> achieve this?
> Thanks in advance for your help.
I think before you go this route, we should discuss the memory issues. I
have not seen any reported memory leak issues with SQL Server. Some may
exist, but I have not seen them. What is often reported as a memory leak
issue is generally not a problem, but a SQL Server design. If what you're
seeing is that SQL Server gradually consumes more and more memory on the
server without returning that memory to the server, this is by design. If
you are finding that you require additional memory for other services on the
server, then you should set an upper memory limit for the server to prevent
it from consuming too much. If OTOH you are seeing a memory leak issue,
please let us know in more detail what you are seeing.
To start stop the server manually, you can look at "Starting SQL Server
Manually" and "Stopping SQL Server" in BOL.
David Gugick
Quest Software|||Hi,
>From SQL Server it is imposssible to schedule a restart of SQL
Server.But can create a BATCH file.
HTH
from
Killer
rmuram wrote:
> I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.|||Thanks David for the reply.
My use of the descrition 'memory leak' was notã'not entirely correct and what
I am seeing is as described you described below.
> If what you're seeing is that SQL Server gradually consumes more and more
> memory on the server without returning that memory to the server, this is by
> design.
What happens if I set the upperlimit to the memory usage? Will it free up
memory to serve additional requests etc?
I would still like to know if there are ways to automate startup/shutdown if
anybody has any experience.
Thanks.
"David Gugick" wrote:
> rmuram wrote:
> > I have an instance of SQLServer which I would like to restart
> > automatically once a day due to memory leak issues. How can I best
> > achieve this?
> > Thanks in advance for your help.
> I think before you go this route, we should discuss the memory issues. I
> have not seen any reported memory leak issues with SQL Server. Some may
> exist, but I have not seen them. What is often reported as a memory leak
> issue is generally not a problem, but a SQL Server design. If what you're
> seeing is that SQL Server gradually consumes more and more memory on the
> server without returning that memory to the server, this is by design. If
> you are finding that you require additional memory for other services on the
> server, then you should set an upper memory limit for the server to prevent
> it from consuming too much. If OTOH you are seeing a memory leak issue,
> please let us know in more detail what you are seeing.
> To start stop the server manually, you can look at "Starting SQL Server
> Manually" and "Stopping SQL Server" in BOL.
>
> --
> David Gugick
> Quest Software
>
>|||Thanks for the reply.
Do you have a sample I can work from?
"doller" wrote:
> Hi,
> >From SQL Server it is imposssible to schedule a restart of SQL
> Server.But can create a BATCH file.
> HTH
> from
> Killer
> rmuram wrote:
> > I have an instance of SQLServer which I would like to restart automatically
> > once a day due to memory leak issues. How can I best achieve this?
> > Thanks in advance for your help.
>|||Hi rmura,
If u want to create a backfile to start and stop of sql server the u
have to follow these steps
open command prompt
write net stop mssqlsever
if will ask u to stop sql agent y/n : press y
then it will ask u to stop sql server y/n : press y
so u can create a backfile
like this
cd \
net stop mssqlserver
y
to start sql sever
add the code
net start mssqlserver
now u need to start sql agent
add these code
net start sqlserveragent
HTH
from
Killer|||Here's some info on SQL Server's memory usage:
INF: SQL Server Memory Usage
http://support.microsoft.com/default.aspx?scid=kb;en-us;q321363
http://www.mssqlserver.com/faq/troubleshooting-memoryleak.asp
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"rmuram" <rmuram@.discussions.microsoft.com> wrote in message
news:CCC09FAF-9647-4210-9C2A-779AF6FB760C@.microsoft.com...
>I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.

Scheduling SQL Server start/stop

I have an instance of SQLServer which I would like to restart automatically
once a day due to memory leak issues. How can I best achieve this?
Thanks in advance for your help.
rmuram wrote:
> I have an instance of SQLServer which I would like to restart
> automatically once a day due to memory leak issues. How can I best
> achieve this?
> Thanks in advance for your help.
I think before you go this route, we should discuss the memory issues. I
have not seen any reported memory leak issues with SQL Server. Some may
exist, but I have not seen them. What is often reported as a memory leak
issue is generally not a problem, but a SQL Server design. If what you're
seeing is that SQL Server gradually consumes more and more memory on the
server without returning that memory to the server, this is by design. If
you are finding that you require additional memory for other services on the
server, then you should set an upper memory limit for the server to prevent
it from consuming too much. If OTOH you are seeing a memory leak issue,
please let us know in more detail what you are seeing.
To start stop the server manually, you can look at "Starting SQL Server
Manually" and "Stopping SQL Server" in BOL.
David Gugick
Quest Software
|||Hi,

>From SQL Server it is imposssible to schedule a restart of SQL
Server.But can create a BATCH file.
HTH
from
Killer
rmuram wrote:
> I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.
|||Thanks David for the reply.
My use of the descrition 'memory leak' was not not entirely correct and what
I am seeing is as described you described below.

> If what you're seeing is that SQL Server gradually consumes more and more
> memory on the server without returning that memory to the server, this is by
> design.
What happens if I set the upperlimit to the memory usage? Will it free up
memory to serve additional requests etc?
I would still like to know if there are ways to automate startup/shutdown if
anybody has any experience.
Thanks.
"David Gugick" wrote:

> rmuram wrote:
> I think before you go this route, we should discuss the memory issues. I
> have not seen any reported memory leak issues with SQL Server. Some may
> exist, but I have not seen them. What is often reported as a memory leak
> issue is generally not a problem, but a SQL Server design. If what you're
> seeing is that SQL Server gradually consumes more and more memory on the
> server without returning that memory to the server, this is by design. If
> you are finding that you require additional memory for other services on the
> server, then you should set an upper memory limit for the server to prevent
> it from consuming too much. If OTOH you are seeing a memory leak issue,
> please let us know in more detail what you are seeing.
> To start stop the server manually, you can look at "Starting SQL Server
> Manually" and "Stopping SQL Server" in BOL.
>
> --
> David Gugick
> Quest Software
>
>
|||Thanks for the reply.
Do you have a sample I can work from?
"doller" wrote:

> Hi,
> Server.But can create a BATCH file.
> HTH
> from
> Killer
> rmuram wrote:
>
|||Hi rmura,
If u want to create a backfile to start and stop of sql server the u
have to follow these steps
open command prompt
write net stop mssqlsever
if will ask u to stop sql agent y/n : press y
then it will ask u to stop sql server y/n : press y
so u can create a backfile
like this
cd \
net stop mssqlserver
y
to start sql sever
add the code
net start mssqlserver
now u need to start sql agent
add these code
net start sqlserveragent
HTH
from
Killer
|||Here's some info on SQL Server's memory usage:
INF: SQL Server Memory Usage
http://support.microsoft.com/default...;en-us;q321363
http://www.mssqlserver.com/faq/troub...memoryleak.asp
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"rmuram" <rmuram@.discussions.microsoft.com> wrote in message
news:CCC09FAF-9647-4210-9C2A-779AF6FB760C@.microsoft.com...
>I have an instance of SQLServer which I would like to restart automatically
> once a day due to memory leak issues. How can I best achieve this?
> Thanks in advance for your help.

Wednesday, March 28, 2012

Scheduling DTS packages in SQLServer 2005 via the Run Time utility

All,
I installed SQLServer 2005 on a new box and installed the DTS Runtime
utility as well so that the DTS packages run in the 2005 environment.
I imported all the DTS packages but I dont know how to schedule each of
them. Would anyone know. In SQLServer 2000, "Schedule Package" menu on a DTS
package would create and schedule a job. I'm not sure how to do it here other
than creating the job manually.
Thanks,
rgnCreate an Agent job with a CmdExec jobstep. In this jobstep, you execute DTSRUN.EXE with appropriate
command-line options (see 2000 Books Online for documentation of the command-line options for
DTSRUN.EXE).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
"rgn" <rgn@.discussions.microsoft.com> wrote in message
news:5B08D6C7-9A39-49AF-8EA5-532627D5E310@.microsoft.com...
> All,
> I installed SQLServer 2005 on a new box and installed the DTS Runtime
> utility as well so that the DTS packages run in the 2005 environment.
> I imported all the DTS packages but I dont know how to schedule each of
> them. Would anyone know. In SQLServer 2000, "Schedule Package" menu on a DTS
> package would create and schedule a job. I'm not sure how to do it here other
> than creating the job manually.
> Thanks,
> rgn
>|||rgn,
Apparently, since DTS is being deprecated the scheduling function did not
move over with the legacy support.
However, creating your own job is pretty easy, especially if you examine the
job definitions created for you on your SQL Server 2000 server. In fact, you
may be able to simply script out the jobs from SQL Server 2000 and run those
scripts on your 2005 SQL Server.
Some adjustements may be necessary. For example, if the same logins used
for the jobs on 2000 do not exist on your new 2005 server, you will need to
adjust the scripts to point to the logins you wish to use.
RLF
"rgn" <rgn@.discussions.microsoft.com> wrote in message
news:5B08D6C7-9A39-49AF-8EA5-532627D5E310@.microsoft.com...
> All,
> I installed SQLServer 2005 on a new box and installed the DTS Runtime
> utility as well so that the DTS packages run in the 2005 environment.
> I imported all the DTS packages but I dont know how to schedule each of
> them. Would anyone know. In SQLServer 2000, "Schedule Package" menu on a
> DTS
> package would create and schedule a job. I'm not sure how to do it here
> other
> than creating the job manually.
> Thanks,
> rgn
>|||Tibor/Russell,
I should have been clearer in my earlier post. I can create a job for each
one of the DTS packages with DTSRUN. However, I dont know how to generate the
encrypted details of the package name, login name, Password ... etc.
It is against our SOX policy to include password in open text.
THis example is for a different DTS on a different server altogether.[DTSRun
/~Z0xBBA31CD08C42214454A70882A4D929948FA0915B8AA465A7BEF16CCA4AC7639EB256D85DB6780227228D2D92A3FF92D1AAC3354C13AF4CCF5704F24B8EA95C5C95E33BE0EAF73A5ED7C9F1D9AA391B364F64B7473F9E27823B3EF142CE09CF1F1BF7E08A031026BC2F7E03E544C824E13C2584B3C7197F19A12371 ]
Thanks,
rgn
"Russell Fields" wrote:
> rgn,
> Apparently, since DTS is being deprecated the scheduling function did not
> move over with the legacy support.
> However, creating your own job is pretty easy, especially if you examine the
> job definitions created for you on your SQL Server 2000 server. In fact, you
> may be able to simply script out the jobs from SQL Server 2000 and run those
> scripts on your 2005 SQL Server.
> Some adjustements may be necessary. For example, if the same logins used
> for the jobs on 2000 do not exist on your new 2005 server, you will need to
> adjust the scripts to point to the logins you wish to use.
> RLF
>
> "rgn" <rgn@.discussions.microsoft.com> wrote in message
> news:5B08D6C7-9A39-49AF-8EA5-532627D5E310@.microsoft.com...
> > All,
> >
> > I installed SQLServer 2005 on a new box and installed the DTS Runtime
> > utility as well so that the DTS packages run in the 2005 environment.
> >
> > I imported all the DTS packages but I dont know how to schedule each of
> > them. Would anyone know. In SQLServer 2000, "Schedule Package" menu on a
> > DTS
> > package would create and schedule a job. I'm not sure how to do it here
> > other
> > than creating the job manually.
> >
> > Thanks,
> > rgn
> >
> >
>
>|||rgn,
I poked around a bit and found that the encrypted details are not as secure
as you might wish. So... user beware. Here is how you can generate one:
dtsrun /S ServerName /E /N PackagePathAndName /!Y
You will see that it gives a different encryption each time, but try it out
and see if the results work for you.
Since you are in SQL Server 2005, I encourage you to study up on SQL Agent
Proxies, which use Credentials for Logins to switch execution context before
running the Operating System step of DTSRUN. If that works for you, you can
run your DTS Packages without any user names or passwords in the command
line. Much more secure.
RLF
"rgn" <rgn@.discussions.microsoft.com> wrote in message
news:C777E793-E904-4D38-A361-E642C056AF7A@.microsoft.com...
> Tibor/Russell,
> I should have been clearer in my earlier post. I can create a job for each
> one of the DTS packages with DTSRUN. However, I dont know how to generate
> the
> encrypted details of the package name, login name, Password ... etc.
> It is against our SOX policy to include password in open text.
> THis example is for a different DTS on a different server
> altogether.[DTSRun
> /~Z0xBBA31CD08C42214454A70882A4D929948FA0915B8AA465A7BEF16CCA4AC7639EB256D85DB6780227228D2D92A3FF92D1AAC3354C13AF4CCF5704F24B8EA95C5C95E33BE0EAF73A5ED7C9F1D9AA391B364F64B7473F9E27823B3EF142CE09CF1F1BF7E08A031026BC2F7E03E544C824E13C2584B3C7197F19A12371
> ]
> Thanks,
> rgn
> "Russell Fields" wrote:
>> rgn,
>> Apparently, since DTS is being deprecated the scheduling function did not
>> move over with the legacy support.
>> However, creating your own job is pretty easy, especially if you examine
>> the
>> job definitions created for you on your SQL Server 2000 server. In fact,
>> you
>> may be able to simply script out the jobs from SQL Server 2000 and run
>> those
>> scripts on your 2005 SQL Server.
>> Some adjustements may be necessary. For example, if the same logins used
>> for the jobs on 2000 do not exist on your new 2005 server, you will need
>> to
>> adjust the scripts to point to the logins you wish to use.
>> RLF
>>
>> "rgn" <rgn@.discussions.microsoft.com> wrote in message
>> news:5B08D6C7-9A39-49AF-8EA5-532627D5E310@.microsoft.com...
>> > All,
>> >
>> > I installed SQLServer 2005 on a new box and installed the DTS Runtime
>> > utility as well so that the DTS packages run in the 2005 environment.
>> >
>> > I imported all the DTS packages but I dont know how to schedule each of
>> > them. Would anyone know. In SQLServer 2000, "Schedule Package" menu on
>> > a
>> > DTS
>> > package would create and schedule a job. I'm not sure how to do it here
>> > other
>> > than creating the job manually.
>> >
>> > Thanks,
>> > rgn
>> >
>> >
>>sql

Wednesday, March 21, 2012

Scheduled reboot of SQL Server on Windows 2000

I am descerning whether it is a good idea (or necessary) to reboot our SQL
Server 2000 servers on a regular basis (E.g., monthly or quarterly). Are
there any performance benefits in doing this? Does this help to defragment
memory?
There's no real benefit. However, you will likely incur a performance
penalty each time, since it will have to repopulate the data cache.
Tom
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"Cajun" <Cajun@.discussions.microsoft.com> wrote in message
news:FECF4E55-A44B-42CE-86E0-9D0915BD6490@.microsoft.com...
I am descerning whether it is a good idea (or necessary) to reboot our SQL
Server 2000 servers on a regular basis (E.g., monthly or quarterly). Are
there any performance benefits in doing this? Does this help to defragment
memory?
|||Hi -
Experts says :-
"This is a fairly common question, and the answer is fairly straight
forward, no. Assuming you are using Windows NT Server 4.0 SP6a, or Windows
2000 Server SP4, or Windows 2003 Server, and are running SQL Server 7.0 or
2000 (any service packs), there is no reason to automatically reboot your
server. Doing so will not offer you any performance benefits or enhance
reliability.
There is a common myth among many IS people that Windows Server software
needs to be rebooted regularly for it to work efficiently. There may have
been a grain of truth to this in previous versions of Windows NT Server
(before 4.0), but since 4.0, there has not been any need to reboot Windows
Server on a regular basis.
I have seen many, many Windows servers that are virtually never rebooted,
and they never have any problems due to the OS.
On the other hand, I have seen poorly written applications written for
Windows Server that have memory leaks that have force the need to reboot the
server on a regular basis. But this problem is the fault of the application,
not the OS. It is very possible that less knowledgeable IS staff in general
have improperly diagnosed the cause of a server's problem and blamed it on
the OS, and not the application as they should, which is perpetuating this
myth.
Since your SQL Server is not having any problems, leave it alone, and tell
the other people on your staff to stop listening to urban legends."
"Cajun" wrote:

> I am descerning whether it is a good idea (or necessary) to reboot our SQL
> Server 2000 servers on a regular basis (E.g., monthly or quarterly). Are
> there any performance benefits in doing this? Does this help to defragment
> memory?

Scheduled reboot of SQL Server on Windows 2000

I am descerning whether it is a good idea (or necessary) to reboot our SQL
Server 2000 servers on a regular basis (E.g., monthly or quarterly). Are
there any performance benefits in doing this? Does this help to defragment
memory?There's no real benefit. However, you will likely incur a performance
penalty each time, since it will have to repopulate the data cache.
Tom
---
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
"Cajun" <Cajun@.discussions.microsoft.com> wrote in message
news:FECF4E55-A44B-42CE-86E0-9D0915BD6490@.microsoft.com...
I am descerning whether it is a good idea (or necessary) to reboot our SQL
Server 2000 servers on a regular basis (E.g., monthly or quarterly). Are
there any performance benefits in doing this? Does this help to defragment
memory?|||Hi -
Experts says :-
"This is a fairly common question, and the answer is fairly straight
forward, no. Assuming you are using Windows NT Server 4.0 SP6a, or Windows
2000 Server SP4, or Windows 2003 Server, and are running SQL Server 7.0 or
2000 (any service packs), there is no reason to automatically reboot your
server. Doing so will not offer you any performance benefits or enhance
reliability.
There is a common myth among many IS people that Windows Server software
needs to be rebooted regularly for it to work efficiently. There may have
been a grain of truth to this in previous versions of Windows NT Server
(before 4.0), but since 4.0, there has not been any need to reboot Windows
Server on a regular basis.
I have seen many, many Windows servers that are virtually never rebooted,
and they never have any problems due to the OS.
On the other hand, I have seen poorly written applications written for
Windows Server that have memory leaks that have force the need to reboot the
server on a regular basis. But this problem is the fault of the application,
not the OS. It is very possible that less knowledgeable IS staff in general
have improperly diagnosed the cause of a server's problem and blamed it on
the OS, and not the application as they should, which is perpetuating this
myth.
Since your SQL Server is not having any problems, leave it alone, and tell
the other people on your staff to stop listening to urban legends."
"Cajun" wrote:

> I am descerning whether it is a good idea (or necessary) to reboot our SQL
> Server 2000 servers on a regular basis (E.g., monthly or quarterly). Are
> there any performance benefits in doing this? Does this help to defragmen
t
> memory?sql

Tuesday, February 21, 2012

Schedule a Job - Access denied

Greetings,
We have a NT4.0 SP6a server with SQLServer 7.0 SP3 installed. We have a job
that writes data to a text file. This job works fine either manually or
scheduled when writing to a local hard drive. However when writing to the
network the job will work when run manually but not when run scheduled.
I thought the problem has to do with the scheduler not having rights on the
network. The scheduler runs from the system account. When I tried to change
it to a network account I got this message, "Service Schedule could not be
configured to run under a shared process. If computer xxxx in not a Windows
2000 computer, service which run in a shared process must run under the
system account."
Error 1057: the account name is invalid or does not exist, or the password
is invalid for the account name specified.
Any idea how I can get this schedule job to write to the network?
Jim
Jim,
Which service did you change? You need to change the account of the
SQLServerAgent service to use a domain account that has rights to your
network resource.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602X.html
"Jim" wrote:

> Greetings,
> We have a NT4.0 SP6a server with SQLServer 7.0 SP3 installed. We have a job
> that writes data to a text file. This job works fine either manually or
> scheduled when writing to a local hard drive. However when writing to the
> network the job will work when run manually but not when run scheduled.
> I thought the problem has to do with the scheduler not having rights on the
> network. The scheduler runs from the system account. When I tried to change
> it to a network account I got this message, "Service Schedule could not be
> configured to run under a shared process. If computer xxxx in not a Windows
> 2000 computer, service which run in a shared process must run under the
> system account."
> Error 1057: the account name is invalid or does not exist, or the password
> is invalid for the account name specified.
> Any idea how I can get this schedule job to write to the network?
> Jim
>
>

Schedule a Job - Access denied

Greetings,
We have a NT4.0 SP6a server with SQLServer 7.0 SP3 installed. We have a job
that writes data to a text file. This job works fine either manually or
scheduled when writing to a local hard drive. However when writing to the
network the job will work when run manually but not when run scheduled.
I thought the problem has to do with the scheduler not having rights on the
network. The scheduler runs from the system account. When I tried to change
it to a network account I got this message, "Service Schedule could not be
configured to run under a shared process. If computer xxxx in not a Windows
2000 computer, service which run in a shared process must run under the
system account."
Error 1057: the account name is invalid or does not exist, or the password
is invalid for the account name specified.
Any idea how I can get this schedule job to write to the network?
JimJim,
Which service did you change? You need to change the account of the
SQLServerAgent service to use a domain account that has rights to your
network resource.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602_.html
"Jim" wrote:

> Greetings,
> We have a NT4.0 SP6a server with SQLServer 7.0 SP3 installed. We have a jo
b
> that writes data to a text file. This job works fine either manually or
> scheduled when writing to a local hard drive. However when writing to the
> network the job will work when run manually but not when run scheduled.
> I thought the problem has to do with the scheduler not having rights on th
e
> network. The scheduler runs from the system account. When I tried to chang
e
> it to a network account I got this message, "Service Schedule could not be
> configured to run under a shared process. If computer xxxx in not a Window
s
> 2000 computer, service which run in a shared process must run under the
> system account."
> Error 1057: the account name is invalid or does not exist, or the password
> is invalid for the account name specified.
> Any idea how I can get this schedule job to write to the network?
> Jim
>
>

Schedule a Job - Access denied

Greetings,
We have a NT4.0 SP6a server with SQLServer 7.0 SP3 installed. We have a job
that writes data to a text file. This job works fine either manually or
scheduled when writing to a local hard drive. However when writing to the
network the job will work when run manually but not when run scheduled.
I thought the problem has to do with the scheduler not having rights on the
network. The scheduler runs from the system account. When I tried to change
it to a network account I got this message, "Service Schedule could not be
configured to run under a shared process. If computer xxxx in not a Windows
2000 computer, service which run in a shared process must run under the
system account."
Error 1057: the account name is invalid or does not exist, or the password
is invalid for the account name specified.
Any idea how I can get this schedule job to write to the network?
JimJim,
Which service did you change? You need to change the account of the
SQLServerAgent service to use a domain account that has rights to your
network resource.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602­.html
"Jim" wrote:
> Greetings,
> We have a NT4.0 SP6a server with SQLServer 7.0 SP3 installed. We have a job
> that writes data to a text file. This job works fine either manually or
> scheduled when writing to a local hard drive. However when writing to the
> network the job will work when run manually but not when run scheduled.
> I thought the problem has to do with the scheduler not having rights on the
> network. The scheduler runs from the system account. When I tried to change
> it to a network account I got this message, "Service Schedule could not be
> configured to run under a shared process. If computer xxxx in not a Windows
> 2000 computer, service which run in a shared process must run under the
> system account."
> Error 1057: the account name is invalid or does not exist, or the password
> is invalid for the account name specified.
> Any idea how I can get this schedule job to write to the network?
> Jim
>
>