Good morning all...
SQL Server 2000, SP3 running on a W2K Server Cluster.
All other DB Maint Plans run fine (12 DBs). But on one,
we get the following error:
"[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
failed because the following SET options have incorrect
settings: 'QUOTED_IDENTIFIER'
I've searched and read everything I can find, but nothing
seems to be "our" problem. Suggestions ranged from
priviledge accounts to "are you running SP3".
Anyone seen this and/or have suggestions?
Thanks,
TonyGood afternoon Tony,
This error can occur if you have indexed views in your database, and you
have the "Reorganize indexes and data pages"check box checked in your
maintenance plan. Indexed views require a number of options to be set in a
certain way when they are build or reindexed, and you have to make sure that
the login under which the maintenance plan is running has them set
correctly. The two options most likely to be set wrongly are
QUOTED_IDENTIFIER and ARITH_ABORT, which should both be ON.
--
Jacco Schalkwijk
SQL Server MVP
"Tony Bowman" <anonymous@.discussions.microsoft.com> wrote in message
news:e72901c3f0b9$664ca1a0$a001280a@.phx.gbl...
> Good morning all...
> SQL Server 2000, SP3 running on a W2K Server Cluster.
> All other DB Maint Plans run fine (12 DBs). But on one,
> we get the following error:
> "[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
> [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
> failed because the following SET options have incorrect
> settings: 'QUOTED_IDENTIFIER'
> I've searched and read everything I can find, but nothing
> seems to be "our" problem. Suggestions ranged from
> priviledge accounts to "are you running SP3".
> Anyone seen this and/or have suggestions?
> Thanks,
> Tony|||Unless they fixed something I don't think this is something you can adjust.
I believe the only way around it is to create your own scheduled job that
does the reorgs and don't use the MP.
--
Andrew J. Kelly
SQL Server MVP
"Jacco Schalkwijk" <NOSPAMjaccos@.eurostop.co.uk> wrote in message
news:u0QDhwL8DHA.2796@.TK2MSFTNGP09.phx.gbl...
> Good afternoon Tony,
> This error can occur if you have indexed views in your database, and you
> have the "Reorganize indexes and data pages"check box checked in your
> maintenance plan. Indexed views require a number of options to be set in a
> certain way when they are build or reindexed, and you have to make sure
that
> the login under which the maintenance plan is running has them set
> correctly. The two options most likely to be set wrongly are
> QUOTED_IDENTIFIER and ARITH_ABORT, which should both be ON.
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Tony Bowman" <anonymous@.discussions.microsoft.com> wrote in message
> news:e72901c3f0b9$664ca1a0$a001280a@.phx.gbl...
> > Good morning all...
> > SQL Server 2000, SP3 running on a W2K Server Cluster.
> > All other DB Maint Plans run fine (12 DBs). But on one,
> > we get the following error:
> > "[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
> > [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
> > failed because the following SET options have incorrect
> > settings: 'QUOTED_IDENTIFIER'
> >
> > I've searched and read everything I can find, but nothing
> > seems to be "our" problem. Suggestions ranged from
> > priviledge accounts to "are you running SP3".
> >
> > Anyone seen this and/or have suggestions?
> >
> > Thanks,
> > Tony
>
Showing posts with label maint. Show all posts
Showing posts with label maint. Show all posts
Saturday, February 25, 2012
DB Maintenance Plan failure
Good morning all...
SQL Server 2000, SP3 running on a W2K Server Cluster.
All other DB Maint Plans run fine (12 DBs). But on one,
we get the following error:
"[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
failed because the following SET options have incorrect
settings: 'QUOTED_IDENTIFIER'
I've searched and read everything I can find, but nothing
seems to be "our" problem. Suggestions ranged from
priviledge accounts to "are you running SP3".
Anyone seen this and/or have suggestions?
Thanks,
TonyGood afternoon Tony,
This error can occur if you have indexed views in your database, and you
have the "Reorganize indexes and data pages"check box checked in your
maintenance plan. Indexed views require a number of options to be set in a
certain way when they are build or reindexed, and you have to make sure that
the login under which the maintenance plan is running has them set
correctly. The two options most likely to be set wrongly are
QUOTED_IDENTIFIER and ARITH_ABORT, which should both be ON.
Jacco Schalkwijk
SQL Server MVP
"Tony Bowman" <anonymous@.discussions.microsoft.com> wrote in message
news:e72901c3f0b9$664ca1a0$a001280a@.phx.gbl...
> Good morning all...
> SQL Server 2000, SP3 running on a W2K Server Cluster.
> All other DB Maint Plans run fine (12 DBs). But on one,
> we get the following error:
> "[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
> [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
> failed because the following SET options have incorrect
> settings: 'QUOTED_IDENTIFIER'
> I've searched and read everything I can find, but nothing
> seems to be "our" problem. Suggestions ranged from
> priviledge accounts to "are you running SP3".
> Anyone seen this and/or have suggestions?
> Thanks,
> Tony|||Unless they fixed something I don't think this is something you can adjust.
I believe the only way around it is to create your own scheduled job that
does the reorgs and don't use the MP.
Andrew J. Kelly
SQL Server MVP
"Jacco Schalkwijk" <NOSPAMjaccos@.eurostop.co.uk> wrote in message
news:u0QDhwL8DHA.2796@.TK2MSFTNGP09.phx.gbl...
> Good afternoon Tony,
> This error can occur if you have indexed views in your database, and you
> have the "Reorganize indexes and data pages"check box checked in your
> maintenance plan. Indexed views require a number of options to be set in a
> certain way when they are build or reindexed, and you have to make sure
that
> the login under which the maintenance plan is running has them set
> correctly. The two options most likely to be set wrongly are
> QUOTED_IDENTIFIER and ARITH_ABORT, which should both be ON.
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Tony Bowman" <anonymous@.discussions.microsoft.com> wrote in message
> news:e72901c3f0b9$664ca1a0$a001280a@.phx.gbl...
>
SQL Server 2000, SP3 running on a W2K Server Cluster.
All other DB Maint Plans run fine (12 DBs). But on one,
we get the following error:
"[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
failed because the following SET options have incorrect
settings: 'QUOTED_IDENTIFIER'
I've searched and read everything I can find, but nothing
seems to be "our" problem. Suggestions ranged from
priviledge accounts to "are you running SP3".
Anyone seen this and/or have suggestions?
Thanks,
TonyGood afternoon Tony,
This error can occur if you have indexed views in your database, and you
have the "Reorganize indexes and data pages"check box checked in your
maintenance plan. Indexed views require a number of options to be set in a
certain way when they are build or reindexed, and you have to make sure that
the login under which the maintenance plan is running has them set
correctly. The two options most likely to be set wrongly are
QUOTED_IDENTIFIER and ARITH_ABORT, which should both be ON.
Jacco Schalkwijk
SQL Server MVP
"Tony Bowman" <anonymous@.discussions.microsoft.com> wrote in message
news:e72901c3f0b9$664ca1a0$a001280a@.phx.gbl...
> Good morning all...
> SQL Server 2000, SP3 running on a W2K Server Cluster.
> All other DB Maint Plans run fine (12 DBs). But on one,
> we get the following error:
> "[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934:
> [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC
> failed because the following SET options have incorrect
> settings: 'QUOTED_IDENTIFIER'
> I've searched and read everything I can find, but nothing
> seems to be "our" problem. Suggestions ranged from
> priviledge accounts to "are you running SP3".
> Anyone seen this and/or have suggestions?
> Thanks,
> Tony|||Unless they fixed something I don't think this is something you can adjust.
I believe the only way around it is to create your own scheduled job that
does the reorgs and don't use the MP.
Andrew J. Kelly
SQL Server MVP
"Jacco Schalkwijk" <NOSPAMjaccos@.eurostop.co.uk> wrote in message
news:u0QDhwL8DHA.2796@.TK2MSFTNGP09.phx.gbl...
> Good afternoon Tony,
> This error can occur if you have indexed views in your database, and you
> have the "Reorganize indexes and data pages"check box checked in your
> maintenance plan. Indexed views require a number of options to be set in a
> certain way when they are build or reindexed, and you have to make sure
that
> the login under which the maintenance plan is running has them set
> correctly. The two options most likely to be set wrongly are
> QUOTED_IDENTIFIER and ARITH_ABORT, which should both be ON.
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Tony Bowman" <anonymous@.discussions.microsoft.com> wrote in message
> news:e72901c3f0b9$664ca1a0$a001280a@.phx.gbl...
>
Sunday, February 19, 2012
DB Maint. Plans on system databases
Is it recommended to run Optimization and Integrity Checks on system
databases? What's recommended?Hi,
Since the data change is very less, it is not required to perform a DBCC on
system database frequently.
May be you can execute the DBCC once in a month.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>|||Thanks for the advice. Should I do this on all system databases?
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Since the data change is very less, it is not required to perform a DBCC
on
> system database frequently.
> May be you can execute the DBCC once in a month.
>
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
>|||Hi,
You can do it on Master , MSDB and Model databases. Tempdb is not required,
since it is getting created on every service start.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
> Thanks for the advice. Should I do this on all system databases?
> "Hari" <hari_prasad_k@.hotmail.com> wrote in message
> news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> on
>|||Thanks Hari!
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:eZT3UBn7DHA.712@.tk2msftngp13.phx.gbl...
> Hi,
> You can do it on Master , MSDB and Model databases. Tempdb is not
required,
> since it is getting created on every service start.
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
DBCC
>|||I agree with Hari regarding fragmentation. As for integrity checks, I'd do
it more often. Yes, I am paranoid.
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>
databases? What's recommended?Hi,
Since the data change is very less, it is not required to perform a DBCC on
system database frequently.
May be you can execute the DBCC once in a month.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>|||Thanks for the advice. Should I do this on all system databases?
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Since the data change is very less, it is not required to perform a DBCC
on
> system database frequently.
> May be you can execute the DBCC once in a month.
>
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
>|||Hi,
You can do it on Master , MSDB and Model databases. Tempdb is not required,
since it is getting created on every service start.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
> Thanks for the advice. Should I do this on all system databases?
> "Hari" <hari_prasad_k@.hotmail.com> wrote in message
> news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> on
>|||Thanks Hari!
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:eZT3UBn7DHA.712@.tk2msftngp13.phx.gbl...
> Hi,
> You can do it on Master , MSDB and Model databases. Tempdb is not
required,
> since it is getting created on every service start.
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
DBCC
>|||I agree with Hari regarding fragmentation. As for integrity checks, I'd do
it more often. Yes, I am paranoid.
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=...ublic.sqlserver
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>
DB Maint. Plans on system databases
Is it recommended to run Optimization and Integrity Checks on system
databases? What's recommended?Hi,
Since the data change is very less, it is not required to perform a DBCC on
system database frequently.
May be you can execute the DBCC once in a month.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>|||Thanks for the advice. Should I do this on all system databases?
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Since the data change is very less, it is not required to perform a DBCC
on
> system database frequently.
> May be you can execute the DBCC once in a month.
>
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> > Is it recommended to run Optimization and Integrity Checks on system
> > databases? What's recommended?
> >
> >
>|||Hi,
You can do it on Master , MSDB and Model databases. Tempdb is not required,
since it is getting created on every service start.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
> Thanks for the advice. Should I do this on all system databases?
> "Hari" <hari_prasad_k@.hotmail.com> wrote in message
> news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > Since the data change is very less, it is not required to perform a DBCC
> on
> > system database frequently.
> > May be you can execute the DBCC once in a month.
> >
> >
> > Thanks
> > Hari
> > MCDBA
> >
> >
> > "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> > news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> > > Is it recommended to run Optimization and Integrity Checks on system
> > > databases? What's recommended?
> > >
> > >
> >
> >
>|||Thanks Hari!
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:eZT3UBn7DHA.712@.tk2msftngp13.phx.gbl...
> Hi,
> You can do it on Master , MSDB and Model databases. Tempdb is not
required,
> since it is getting created on every service start.
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
> > Thanks for the advice. Should I do this on all system databases?
> >
> > "Hari" <hari_prasad_k@.hotmail.com> wrote in message
> > news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> > > Hi,
> > >
> > > Since the data change is very less, it is not required to perform a
DBCC
> > on
> > > system database frequently.
> > > May be you can execute the DBCC once in a month.
> > >
> > >
> > > Thanks
> > > Hari
> > > MCDBA
> > >
> > >
> > > "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> > > news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> > > > Is it recommended to run Optimization and Integrity Checks on system
> > > > databases? What's recommended?
> > > >
> > > >
> > >
> > >
> >
> >
>|||I agree with Hari regarding fragmentation. As for integrity checks, I'd do
it more often. Yes, I am paranoid.
--
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>
databases? What's recommended?Hi,
Since the data change is very less, it is not required to perform a DBCC on
system database frequently.
May be you can execute the DBCC once in a month.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>|||Thanks for the advice. Should I do this on all system databases?
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Since the data change is very less, it is not required to perform a DBCC
on
> system database frequently.
> May be you can execute the DBCC once in a month.
>
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> > Is it recommended to run Optimization and Integrity Checks on system
> > databases? What's recommended?
> >
> >
>|||Hi,
You can do it on Master , MSDB and Model databases. Tempdb is not required,
since it is getting created on every service start.
Thanks
Hari
MCDBA
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
> Thanks for the advice. Should I do this on all system databases?
> "Hari" <hari_prasad_k@.hotmail.com> wrote in message
> news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > Since the data change is very less, it is not required to perform a DBCC
> on
> > system database frequently.
> > May be you can execute the DBCC once in a month.
> >
> >
> > Thanks
> > Hari
> > MCDBA
> >
> >
> > "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> > news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> > > Is it recommended to run Optimization and Integrity Checks on system
> > > databases? What's recommended?
> > >
> > >
> >
> >
>|||Thanks Hari!
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:eZT3UBn7DHA.712@.tk2msftngp13.phx.gbl...
> Hi,
> You can do it on Master , MSDB and Model databases. Tempdb is not
required,
> since it is getting created on every service start.
> Thanks
> Hari
> MCDBA
>
> "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> news:uoggYpm7DHA.1040@.TK2MSFTNGP10.phx.gbl...
> > Thanks for the advice. Should I do this on all system databases?
> >
> > "Hari" <hari_prasad_k@.hotmail.com> wrote in message
> > news:%23s8Rpmm7DHA.2168@.TK2MSFTNGP12.phx.gbl...
> > > Hi,
> > >
> > > Since the data change is very less, it is not required to perform a
DBCC
> > on
> > > system database frequently.
> > > May be you can execute the DBCC once in a month.
> > >
> > >
> > > Thanks
> > > Hari
> > > MCDBA
> > >
> > >
> > > "David Morrison" <davidbmorrison@.nospam.com> wrote in message
> > > news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> > > > Is it recommended to run Optimization and Integrity Checks on system
> > > > databases? What's recommended?
> > > >
> > > >
> > >
> > >
> >
> >
>|||I agree with Hari regarding fragmentation. As for integrity checks, I'd do
it more often. Yes, I am paranoid.
--
Tibor Karaszi, SQL Server MVP
Archive at:
http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"David Morrison" <davidbmorrison@.nospam.com> wrote in message
news:O70Ikfm7DHA.1592@.TK2MSFTNGP10.phx.gbl...
> Is it recommended to run Optimization and Integrity Checks on system
> databases? What's recommended?
>
DB Maint. Plan conversion
Hi,
I am trying to figure out what the exact T-SQL are when running the DB
Maint. Plan
I know SQL Server use DBCC CheckDB, DBCC DBReindex,
but what code it uses for Truncate the space when the file (Data and Log)
size > 50MB in the Maintenance Plan?
Are they using sp_spaceused and then DBCC ShrinkDatabase?
Thanks for any answer
EdYou can use Profiler to find out what is being executed.
It seems that it is something like this:
use [TestDatabase]
go
select ceiling((sum(size) * (8192.0/1024.0)) / 1024.0) from
dbo.sysfiles
go
DBCC shrinkdatabase(N'TestDatabase', 10, TRUNCATEONLY )
go
exec sp_spaceused
go
DBCC SQLPERF(LOGSPACE)
go
Razvan
I am trying to figure out what the exact T-SQL are when running the DB
Maint. Plan
I know SQL Server use DBCC CheckDB, DBCC DBReindex,
but what code it uses for Truncate the space when the file (Data and Log)
size > 50MB in the Maintenance Plan?
Are they using sp_spaceused and then DBCC ShrinkDatabase?
Thanks for any answer
EdYou can use Profiler to find out what is being executed.
It seems that it is something like this:
use [TestDatabase]
go
select ceiling((sum(size) * (8192.0/1024.0)) / 1024.0) from
dbo.sysfiles
go
DBCC shrinkdatabase(N'TestDatabase', 10, TRUNCATEONLY )
go
exec sp_spaceused
go
DBCC SQLPERF(LOGSPACE)
go
Razvan
DB maint. plan - UNC problem
Hi,
I'm attempting to use a UNC path within a Database Maintenance Plan, and
receiving a 'cannot create' O/S error. The maintenance plan accepts the path
to the server/share, but the subsequent SQL job fails with the above error.
I believe maintenance plans can't use UNC paths. Is this true? Is there a
way around this problem?
My alternative is to create a database device, and backup the databases in
that manner, but I want the retention/deletion features of the maintenance
plan.
Cheers,
James G.
It can use them but the account that SQL Server runs under must have the
proper permissions to use this share. If SQL Server is running under the
local admin account it can not see the share on a remote server.
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
|||Sorry meant to add this: http://support.microsoft.com/?kbid=555128
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
|||Hi
Maintenance Plans should be able to take a UNC path, make sure that the SQL
Agent Service Account has sufficient permissions to access this location.
John
"Jimbo" wrote:
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the path
> to the server/share, but the subsequent SQL job fails with the above error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
>
I'm attempting to use a UNC path within a Database Maintenance Plan, and
receiving a 'cannot create' O/S error. The maintenance plan accepts the path
to the server/share, but the subsequent SQL job fails with the above error.
I believe maintenance plans can't use UNC paths. Is this true? Is there a
way around this problem?
My alternative is to create a database device, and backup the databases in
that manner, but I want the retention/deletion features of the maintenance
plan.
Cheers,
James G.
It can use them but the account that SQL Server runs under must have the
proper permissions to use this share. If SQL Server is running under the
local admin account it can not see the share on a remote server.
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
|||Sorry meant to add this: http://support.microsoft.com/?kbid=555128
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
|||Hi
Maintenance Plans should be able to take a UNC path, make sure that the SQL
Agent Service Account has sufficient permissions to access this location.
John
"Jimbo" wrote:
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the path
> to the server/share, but the subsequent SQL job fails with the above error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
>
Labels:
andreceiving,
attempting,
create,
database,
error,
maint,
maintenance,
microsoft,
mysql,
oracle,
path,
plan,
server,
sql,
unc
DB maint. plan - UNC problem
Hi,
I'm attempting to use a UNC path within a Database Maintenance Plan, and
receiving a 'cannot create' O/S error. The maintenance plan accepts the path
to the server/share, but the subsequent SQL job fails with the above error.
I believe maintenance plans can't use UNC paths. Is this true? Is there a
way around this problem?
My alternative is to create a database device, and backup the databases in
that manner, but I want the retention/deletion features of the maintenance
plan.
Cheers,
James G.It can use them but the account that SQL Server runs under must have the
proper permissions to use this share. If SQL Server is running under the
local admin account it can not see the share on a remote server.
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Sorry meant to add this: http://support.microsoft.com/?kbid=555128
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Hi
Maintenance Plans should be able to take a UNC path, make sure that the SQL
Agent Service Account has sufficient permissions to access this location.
John
"Jimbo" wrote:
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the pa
th
> to the server/share, but the subsequent SQL job fails with the above error
.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
>
I'm attempting to use a UNC path within a Database Maintenance Plan, and
receiving a 'cannot create' O/S error. The maintenance plan accepts the path
to the server/share, but the subsequent SQL job fails with the above error.
I believe maintenance plans can't use UNC paths. Is this true? Is there a
way around this problem?
My alternative is to create a database device, and backup the databases in
that manner, but I want the retention/deletion features of the maintenance
plan.
Cheers,
James G.It can use them but the account that SQL Server runs under must have the
proper permissions to use this share. If SQL Server is running under the
local admin account it can not see the share on a remote server.
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Sorry meant to add this: http://support.microsoft.com/?kbid=555128
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Hi
Maintenance Plans should be able to take a UNC path, make sure that the SQL
Agent Service Account has sufficient permissions to access this location.
John
"Jimbo" wrote:
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the pa
th
> to the server/share, but the subsequent SQL job fails with the above error
.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
>
Labels:
andreceiving,
attempting,
create,
database,
error,
maint,
maintenance,
microsoft,
mysql,
oracle,
path,
plan,
server,
sql,
unc
DB maint. plan - UNC problem
Hi,
I'm attempting to use a UNC path within a Database Maintenance Plan, and
receiving a 'cannot create' O/S error. The maintenance plan accepts the path
to the server/share, but the subsequent SQL job fails with the above error.
I believe maintenance plans can't use UNC paths. Is this true? Is there a
way around this problem?
My alternative is to create a database device, and backup the databases in
that manner, but I want the retention/deletion features of the maintenance
plan.
Cheers,
James G.It can use them but the account that SQL Server runs under must have the
proper permissions to use this share. If SQL Server is running under the
local admin account it can not see the share on a remote server.
--
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Sorry meant to add this: http://support.microsoft.com/?kbid=555128
--
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Hi
Maintenance Plans should be able to take a UNC path, make sure that the SQL
Agent Service Account has sufficient permissions to access this location.
John
"Jimbo" wrote:
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the path
> to the server/share, but the subsequent SQL job fails with the above error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
>
I'm attempting to use a UNC path within a Database Maintenance Plan, and
receiving a 'cannot create' O/S error. The maintenance plan accepts the path
to the server/share, but the subsequent SQL job fails with the above error.
I believe maintenance plans can't use UNC paths. Is this true? Is there a
way around this problem?
My alternative is to create a database device, and backup the databases in
that manner, but I want the retention/deletion features of the maintenance
plan.
Cheers,
James G.It can use them but the account that SQL Server runs under must have the
proper permissions to use this share. If SQL Server is running under the
local admin account it can not see the share on a remote server.
--
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Sorry meant to add this: http://support.microsoft.com/?kbid=555128
--
Andrew J. Kelly SQL MVP
"Jimbo" <james.goodwill@.mail.com> wrote in message
news:L8hKf.13177$gB4.4335@.newsfe4-gui.ntli.net...
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the
> path
> to the server/share, but the subsequent SQL job fails with the above
> error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>|||Hi
Maintenance Plans should be able to take a UNC path, make sure that the SQL
Agent Service Account has sufficient permissions to access this location.
John
"Jimbo" wrote:
> Hi,
> I'm attempting to use a UNC path within a Database Maintenance Plan, and
> receiving a 'cannot create' O/S error. The maintenance plan accepts the path
> to the server/share, but the subsequent SQL job fails with the above error.
> I believe maintenance plans can't use UNC paths. Is this true? Is there a
> way around this problem?
> My alternative is to create a database device, and backup the databases in
> that manner, but I want the retention/deletion features of the maintenance
> plan.
> Cheers,
> James G.
>
>
Db Maint SMTP Alerter Question
I'm in the process of installing and configuring alerts using the
subject tool on our sql server 2000 instances but I've noticed a problem
with the tool and single-quotes. It seems any alert which returns a
single-quoted value in the message text generates incorrect code when
trying to execute xp_smtp_sendmail. For instance, as a test I created
an alert on error 208, Invalid object name '%.*ls'. Here is the code
that is created by Db SMTP Alerter:
EXEC master..xp_smtp_sendmail
@.FROM = 'eat@.joes.com'
,@.FROM_NAME = 'eat'
,@.priority = 'NORMAL'
,@.server = 'smtp.server.com'
,@.port = 25
,@.TO = 'eat@.joes.com'
,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
,@.message = 'SQL Server error text:
====================== Error: 208, Severity: 16, State: 1
Invalid object name 'TestObject'.
'
In order for the code to execute correctly, the 'TestObject' in @.message
should be ''TestObject''. That is, there should be double
single-quotes, not simply single-quotes. The ''Test Alert'' in @.subject
is correct, but throwing an apostrophe into the alert name will also
screw things up (ie ''Test'd Alert'' . Has anyone else using Db Maint
SMTP Alerter encounter this issue? The alert name issue is easy to
avoid, but there are several alerts I'd like to use that return
single-quoted values.I just checked the source code, and I do have a REPLACE for the message text. Perhaps you are using
an older version? Try downloading it from http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and
see if that fixes it. If not, send me an e-mail and I can let you have the source code for fixing (I
don't have the resources to convert to FX 2.0, debug etc etc, I'm afraid).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:O9VBgmLwGHA.5044@.TK2MSFTNGP05.phx.gbl...
> I'm in the process of installing and configuring alerts using the subject tool on our sql server
> 2000 instances but I've noticed a problem with the tool and single-quotes. It seems any alert
> which returns a single-quoted value in the message text generates incorrect code when trying to
> execute xp_smtp_sendmail. For instance, as a test I created an alert on error 208, Invalid object
> name '%.*ls'. Here is the code that is created by Db SMTP Alerter:
> EXEC master..xp_smtp_sendmail
> @.FROM = 'eat@.joes.com'
> ,@.FROM_NAME = 'eat'
> ,@.priority = 'NORMAL'
> ,@.server = 'smtp.server.com'
> ,@.port = 25
> ,@.TO = 'eat@.joes.com'
> ,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
> ,@.message = 'SQL Server error text:
> ======================> Error: 208, Severity: 16, State: 1
> Invalid object name 'TestObject'.
> '
> In order for the code to execute correctly, the 'TestObject' in @.message should be ''TestObject''.
> That is, there should be double single-quotes, not simply single-quotes. The ''Test Alert'' in
> @.subject is correct, but throwing an apostrophe into the alert name will also screw things up (ie
> ''Test'd Alert'' . Has anyone else using Db Maint SMTP Alerter encounter this issue? The alert
> name issue is easy to avoid, but there are several alerts I'd like to use that return
> single-quoted values.|||Tibor Karaszi wrote:
> I just checked the source code, and I do have a REPLACE for the message
> text. Perhaps you are using an older version? Try downloading it from
> http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and see if that
> fixes it. If not, send me an e-mail and I can let you have the source
> code for fixing (I don't have the resources to convert to FX 2.0, debug
> etc etc, I'm afraid).
>
The current version works! Looks like I was using an older version
(downloaded from the dbmaint.com page). Thanks, Tibor!|||Glad it works. :-)
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:uz6oioVwGHA.2232@.TK2MSFTNGP05.phx.gbl...
> Tibor Karaszi wrote:
>> I just checked the source code, and I do have a REPLACE for the message
>> text. Perhaps you are using an older version? Try downloading it from
>> http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and see if that
>> fixes it. If not, send me an e-mail and I can let you have the source
>> code for fixing (I don't have the resources to convert to FX 2.0, debug
>> etc etc, I'm afraid).
> The current version works! Looks like I was using an older version
> (downloaded from the dbmaint.com page). Thanks, Tibor!
subject tool on our sql server 2000 instances but I've noticed a problem
with the tool and single-quotes. It seems any alert which returns a
single-quoted value in the message text generates incorrect code when
trying to execute xp_smtp_sendmail. For instance, as a test I created
an alert on error 208, Invalid object name '%.*ls'. Here is the code
that is created by Db SMTP Alerter:
EXEC master..xp_smtp_sendmail
@.FROM = 'eat@.joes.com'
,@.FROM_NAME = 'eat'
,@.priority = 'NORMAL'
,@.server = 'smtp.server.com'
,@.port = 25
,@.TO = 'eat@.joes.com'
,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
,@.message = 'SQL Server error text:
====================== Error: 208, Severity: 16, State: 1
Invalid object name 'TestObject'.
'
In order for the code to execute correctly, the 'TestObject' in @.message
should be ''TestObject''. That is, there should be double
single-quotes, not simply single-quotes. The ''Test Alert'' in @.subject
is correct, but throwing an apostrophe into the alert name will also
screw things up (ie ''Test'd Alert'' . Has anyone else using Db Maint
SMTP Alerter encounter this issue? The alert name issue is easy to
avoid, but there are several alerts I'd like to use that return
single-quoted values.I just checked the source code, and I do have a REPLACE for the message text. Perhaps you are using
an older version? Try downloading it from http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and
see if that fixes it. If not, send me an e-mail and I can let you have the source code for fixing (I
don't have the resources to convert to FX 2.0, debug etc etc, I'm afraid).
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:O9VBgmLwGHA.5044@.TK2MSFTNGP05.phx.gbl...
> I'm in the process of installing and configuring alerts using the subject tool on our sql server
> 2000 instances but I've noticed a problem with the tool and single-quotes. It seems any alert
> which returns a single-quoted value in the message text generates incorrect code when trying to
> execute xp_smtp_sendmail. For instance, as a test I created an alert on error 208, Invalid object
> name '%.*ls'. Here is the code that is created by Db SMTP Alerter:
> EXEC master..xp_smtp_sendmail
> @.FROM = 'eat@.joes.com'
> ,@.FROM_NAME = 'eat'
> ,@.priority = 'NORMAL'
> ,@.server = 'smtp.server.com'
> ,@.port = 25
> ,@.TO = 'eat@.joes.com'
> ,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
> ,@.message = 'SQL Server error text:
> ======================> Error: 208, Severity: 16, State: 1
> Invalid object name 'TestObject'.
> '
> In order for the code to execute correctly, the 'TestObject' in @.message should be ''TestObject''.
> That is, there should be double single-quotes, not simply single-quotes. The ''Test Alert'' in
> @.subject is correct, but throwing an apostrophe into the alert name will also screw things up (ie
> ''Test'd Alert'' . Has anyone else using Db Maint SMTP Alerter encounter this issue? The alert
> name issue is easy to avoid, but there are several alerts I'd like to use that return
> single-quoted values.|||Tibor Karaszi wrote:
> I just checked the source code, and I do have a REPLACE for the message
> text. Perhaps you are using an older version? Try downloading it from
> http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and see if that
> fixes it. If not, send me an e-mail and I can let you have the source
> code for fixing (I don't have the resources to convert to FX 2.0, debug
> etc etc, I'm afraid).
>
The current version works! Looks like I was using an older version
(downloaded from the dbmaint.com page). Thanks, Tibor!|||Glad it works. :-)
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:uz6oioVwGHA.2232@.TK2MSFTNGP05.phx.gbl...
> Tibor Karaszi wrote:
>> I just checked the source code, and I do have a REPLACE for the message
>> text. Perhaps you are using an older version? Try downloading it from
>> http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and see if that
>> fixes it. If not, send me an e-mail and I can let you have the source
>> code for fixing (I don't have the resources to convert to FX 2.0, debug
>> etc etc, I'm afraid).
> The current version works! Looks like I was using an older version
> (downloaded from the dbmaint.com page). Thanks, Tibor!
Db Maint SMTP Alerter Question
I'm in the process of installing and configuring alerts using the
subject tool on our sql server 2000 instances but I've noticed a problem
with the tool and single-quotes. It seems any alert which returns a
single-quoted value in the message text generates incorrect code when
trying to execute xp_smtp_sendmail. For instance, as a test I created
an alert on error 208, Invalid object name '%.*ls'. Here is the code
that is created by Db SMTP Alerter:
EXEC master..xp_smtp_sendmail
@.FROM = 'eat@.joes.com'
,@.FROM_NAME = 'eat'
,@.priority = 'NORMAL'
,@.server = 'smtp.server.com'
,@.port = 25
,@.TO = 'eat@.joes.com'
,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
,@.message = 'SQL Server error text:
======================
Error: 208, Severity: 16, State: 1
Invalid object name 'TestObject'.
'
In order for the code to execute correctly, the 'TestObject' in @.message
should be ''TestObject''. That is, there should be double
single-quotes, not simply single-quotes. The ''Test Alert'' in @.subject
is correct, but throwing an apostrophe into the alert name will also
screw things up (ie ''Test'd Alert'' . Has anyone else using Db Maint
SMTP Alerter encounter this issue? The alert name issue is easy to
avoid, but there are several alerts I'd like to use that return
single-quoted values.I just checked the source code, and I do have a REPLACE for the message text
. Perhaps you are using
an older version? Try downloading it from http://www.karaszi.com/SQLServer/ut...
tp_alerter.asp and
see if that fixes it. If not, send me an e-mail and I can let you have the s
ource code for fixing (I
don't have the resources to convert to FX 2.0, debug etc etc, I'm afraid).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:O9VBgmLwGHA.5044@.TK2MSFTNGP05.phx.gbl
..
> I'm in the process of installing and configuring alerts using the subject
tool on our sql server
> 2000 instances but I've noticed a problem with the tool and single-quotes.
It seems any alert
> which returns a single-quoted value in the message text generates incorrec
t code when trying to
> execute xp_smtp_sendmail. For instance, as a test I created an alert on e
rror 208, Invalid object
> name '%.*ls'. Here is the code that is created by Db SMTP Alerter:
> EXEC master..xp_smtp_sendmail
> @.FROM = 'eat@.joes.com'
> ,@.FROM_NAME = 'eat'
> ,@.priority = 'NORMAL'
> ,@.server = 'smtp.server.com'
> ,@.port = 25
> ,@.TO = 'eat@.joes.com'
> ,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
> ,@.message = 'SQL Server error text:
> ======================
> Error: 208, Severity: 16, State: 1
> Invalid object name 'TestObject'.
> '
> In order for the code to execute correctly, the 'TestObject' in @.message s
hould be ''TestObject''.
> That is, there should be double single-quotes, not simply single-quotes.
The ''Test Alert'' in
> @.subject is correct, but throwing an apostrophe into the alert name will a
lso screw things up (ie
> ''Test'd Alert'' . Has anyone else using Db Maint SMTP Alerter encounter
this issue? The alert
> name issue is easy to avoid, but there are several alerts I'd like to use
that return
> single-quoted values.|||Tibor Karaszi wrote:
> I just checked the source code, and I do have a REPLACE for the message
> text. Perhaps you are using an older version? Try downloading it from
> http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and see if that
> fixes it. If not, send me an e-mail and I can let you have the source
> code for fixing (I don't have the resources to convert to FX 2.0, debug
> etc etc, I'm afraid).
>
The current version works! Looks like I was using an older version
(downloaded from the dbmaint.com page). Thanks, Tibor!|||Glad it works. :-)
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:uz6oioVwGHA.2232@.TK2MSFTNGP05.phx.gbl
..
> Tibor Karaszi wrote:
> The current version works! Looks like I was using an older version
> (downloaded from the dbmaint.com page). Thanks, Tibor!
subject tool on our sql server 2000 instances but I've noticed a problem
with the tool and single-quotes. It seems any alert which returns a
single-quoted value in the message text generates incorrect code when
trying to execute xp_smtp_sendmail. For instance, as a test I created
an alert on error 208, Invalid object name '%.*ls'. Here is the code
that is created by Db SMTP Alerter:
EXEC master..xp_smtp_sendmail
@.FROM = 'eat@.joes.com'
,@.FROM_NAME = 'eat'
,@.priority = 'NORMAL'
,@.server = 'smtp.server.com'
,@.port = 25
,@.TO = 'eat@.joes.com'
,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
,@.message = 'SQL Server error text:
======================
Error: 208, Severity: 16, State: 1
Invalid object name 'TestObject'.
'
In order for the code to execute correctly, the 'TestObject' in @.message
should be ''TestObject''. That is, there should be double
single-quotes, not simply single-quotes. The ''Test Alert'' in @.subject
is correct, but throwing an apostrophe into the alert name will also
screw things up (ie ''Test'd Alert'' . Has anyone else using Db Maint
SMTP Alerter encounter this issue? The alert name issue is easy to
avoid, but there are several alerts I'd like to use that return
single-quoted values.I just checked the source code, and I do have a REPLACE for the message text
. Perhaps you are using
an older version? Try downloading it from http://www.karaszi.com/SQLServer/ut...
tp_alerter.asp and
see if that fixes it. If not, send me an e-mail and I can let you have the s
ource code for fixing (I
don't have the resources to convert to FX 2.0, debug etc etc, I'm afraid).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:O9VBgmLwGHA.5044@.TK2MSFTNGP05.phx.gbl
..
> I'm in the process of installing and configuring alerts using the subject
tool on our sql server
> 2000 instances but I've noticed a problem with the tool and single-quotes.
It seems any alert
> which returns a single-quoted value in the message text generates incorrec
t code when trying to
> execute xp_smtp_sendmail. For instance, as a test I created an alert on e
rror 208, Invalid object
> name '%.*ls'. Here is the code that is created by Db SMTP Alerter:
> EXEC master..xp_smtp_sendmail
> @.FROM = 'eat@.joes.com'
> ,@.FROM_NAME = 'eat'
> ,@.priority = 'NORMAL'
> ,@.server = 'smtp.server.com'
> ,@.port = 25
> ,@.TO = 'eat@.joes.com'
> ,@.subject = 'Db Maint alerter: ''Test Alert'' occurred on \\SERVER.'
> ,@.message = 'SQL Server error text:
> ======================
> Error: 208, Severity: 16, State: 1
> Invalid object name 'TestObject'.
> '
> In order for the code to execute correctly, the 'TestObject' in @.message s
hould be ''TestObject''.
> That is, there should be double single-quotes, not simply single-quotes.
The ''Test Alert'' in
> @.subject is correct, but throwing an apostrophe into the alert name will a
lso screw things up (ie
> ''Test'd Alert'' . Has anyone else using Db Maint SMTP Alerter encounter
this issue? The alert
> name issue is easy to avoid, but there are several alerts I'd like to use
that return
> single-quoted values.|||Tibor Karaszi wrote:
> I just checked the source code, and I do have a REPLACE for the message
> text. Perhaps you are using an older version? Try downloading it from
> http://www.karaszi.com/SQLServer/util_smtp_alerter.asp and see if that
> fixes it. If not, send me an e-mail and I can let you have the source
> code for fixing (I don't have the resources to convert to FX 2.0, debug
> etc etc, I'm afraid).
>
The current version works! Looks like I was using an older version
(downloaded from the dbmaint.com page). Thanks, Tibor!|||Glad it works. :-)
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"DotComDBA" <noreply@.nospam.com> wrote in message news:uz6oioVwGHA.2232@.TK2MSFTNGP05.phx.gbl
..
> Tibor Karaszi wrote:
> The current version works! Looks like I was using an older version
> (downloaded from the dbmaint.com page). Thanks, Tibor!
DB Maint plans incorrect in MSDE
I have a SQL 2K application that I have been working on copying to a MSDE2k
machine. As part of setting the DB up on a new machine, I tried to set up a
DB Maintenance plan in Enterprise Manager. When I got to the pages in the
wizard that setup removing old backups, I found that the pulldown list of
units (days, weeks, months, etc.) was completely blank when I tried to make
a selection. Curious, I checked some other MSDE servers and found that they
all either did the same thing, or didn't have the Database Maintenance Plans
selection even listed in EM. Of the ones that do have maintenance plans
listed, it seems like all will remove the schedule from the backups on
saving - i.e. if I create a plan with a backup schedule (either via the
wizard or the properties pages) and save it, the schedule will be blank the
next time I open the plan.
Can anyone tell me what is going on here and how to fix it? Are maintenance
plans not really a part of MSDE?
TIA
Ron LounsburyWhat service pack? MSDE 2000 does not install Sqlmaint.exe
which is used for database maintenance plans. This issue was
fixed with SP 1. See the following for more info:
http://support.microsoft.com/?id=295022
-Sue
On Wed, 24 Mar 2004 15:21:02 -0500, "Ron Lounsbury"
<rlounsbury@.bogusAddress.com> wrote:
>I have a SQL 2K application that I have been working on copying to a MSDE2k
>machine. As part of setting the DB up on a new machine, I tried to set up
a
>DB Maintenance plan in Enterprise Manager. When I got to the pages in the
>wizard that setup removing old backups, I found that the pulldown list of
>units (days, weeks, months, etc.) was completely blank when I tried to make
>a selection. Curious, I checked some other MSDE servers and found that the
y
>all either did the same thing, or didn't have the Database Maintenance Plan
s
>selection even listed in EM. Of the ones that do have maintenance plans
>listed, it seems like all will remove the schedule from the backups on
>saving - i.e. if I create a plan with a backup schedule (either via the
>wizard or the properties pages) and save it, the schedule will be blank the
>next time I open the plan.
>Can anyone tell me what is going on here and how to fix it? Are maintenanc
e
>plans not really a part of MSDE?
>TIA
>Ron Lounsbury
>|||Sue
Sorry, I forgot to mention that. It is SP3.
Thanks,
Ron
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:ibs360dus2nbgtv77gah0br5t9uv4lb4ap@.
4ax.com...
> What service pack? MSDE 2000 does not install Sqlmaint.exe
> which is used for database maintenance plans. This issue was
> fixed with SP 1. See the following for more info:
> http://support.microsoft.com/?id=295022
> -Sue
> On Wed, 24 Mar 2004 15:21:02 -0500, "Ron Lounsbury"
> <rlounsbury@.bogusAddress.com> wrote:
>
MSDE2k
up a
the
make
they
Plans
the
maintenance
>|||Ron,
I know I've read about a similar issue but I didn't find a
KB article on it. Anyway...it probably stems from a missing
registry value for the backup directory.
On a default instance, you would add a new string value to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer
The new string value is BackupDirectory
The data value for this is the path to your backup
directory. The default would be
C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP
-Sue
On Wed, 24 Mar 2004 15:51:12 -0500, "Ron Lounsbury"
<rlounsbury@.bogusAddress.com> wrote:
>Sue
> Sorry, I forgot to mention that. It is SP3.
>Thanks,
>Ron
>"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
> news:ibs360dus2nbgtv77gah0br5t9uv4lb4ap@.
4ax.com...
>MSDE2k
>up a
>the
>make
>they
>Plans
>the
>maintenance
>|||Sue
Thanks, I'll give that a try.
Ron L
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:3604605mfu2viaevss1sanduj96inm2qdt@.
4ax.com...
> Ron,
> I know I've read about a similar issue but I didn't find a
> KB article on it. Anyway...it probably stems from a missing
> registry value for the backup directory.
> On a default instance, you would add a new string value to:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer
> The new string value is BackupDirectory
> The data value for this is the path to your backup
> directory. The default would be
> C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP
> -Sue
> On Wed, 24 Mar 2004 15:51:12 -0500, "Ron Lounsbury"
> <rlounsbury@.bogusAddress.com> wrote:
>
set
of
that
plans
the
blank
>|||Sue
Thanks. That was it.
Ron L
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:3604605mfu2viaevss1sanduj96inm2qdt@.
4ax.com...
> Ron,
> I know I've read about a similar issue but I didn't find a
> KB article on it. Anyway...it probably stems from a missing
> registry value for the backup directory.
> On a default instance, you would add a new string value to:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer
> The new string value is BackupDirectory
> The data value for this is the path to your backup
> directory. The default would be
> C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP
> -Sue
> On Wed, 24 Mar 2004 15:51:12 -0500, "Ron Lounsbury"
> <rlounsbury@.bogusAddress.com> wrote:
>
set
of
that
plans
the
blank
>
machine. As part of setting the DB up on a new machine, I tried to set up a
DB Maintenance plan in Enterprise Manager. When I got to the pages in the
wizard that setup removing old backups, I found that the pulldown list of
units (days, weeks, months, etc.) was completely blank when I tried to make
a selection. Curious, I checked some other MSDE servers and found that they
all either did the same thing, or didn't have the Database Maintenance Plans
selection even listed in EM. Of the ones that do have maintenance plans
listed, it seems like all will remove the schedule from the backups on
saving - i.e. if I create a plan with a backup schedule (either via the
wizard or the properties pages) and save it, the schedule will be blank the
next time I open the plan.
Can anyone tell me what is going on here and how to fix it? Are maintenance
plans not really a part of MSDE?
TIA
Ron LounsburyWhat service pack? MSDE 2000 does not install Sqlmaint.exe
which is used for database maintenance plans. This issue was
fixed with SP 1. See the following for more info:
http://support.microsoft.com/?id=295022
-Sue
On Wed, 24 Mar 2004 15:21:02 -0500, "Ron Lounsbury"
<rlounsbury@.bogusAddress.com> wrote:
>I have a SQL 2K application that I have been working on copying to a MSDE2k
>machine. As part of setting the DB up on a new machine, I tried to set up
a
>DB Maintenance plan in Enterprise Manager. When I got to the pages in the
>wizard that setup removing old backups, I found that the pulldown list of
>units (days, weeks, months, etc.) was completely blank when I tried to make
>a selection. Curious, I checked some other MSDE servers and found that the
y
>all either did the same thing, or didn't have the Database Maintenance Plan
s
>selection even listed in EM. Of the ones that do have maintenance plans
>listed, it seems like all will remove the schedule from the backups on
>saving - i.e. if I create a plan with a backup schedule (either via the
>wizard or the properties pages) and save it, the schedule will be blank the
>next time I open the plan.
>Can anyone tell me what is going on here and how to fix it? Are maintenanc
e
>plans not really a part of MSDE?
>TIA
>Ron Lounsbury
>|||Sue
Sorry, I forgot to mention that. It is SP3.
Thanks,
Ron
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:ibs360dus2nbgtv77gah0br5t9uv4lb4ap@.
4ax.com...
> What service pack? MSDE 2000 does not install Sqlmaint.exe
> which is used for database maintenance plans. This issue was
> fixed with SP 1. See the following for more info:
> http://support.microsoft.com/?id=295022
> -Sue
> On Wed, 24 Mar 2004 15:21:02 -0500, "Ron Lounsbury"
> <rlounsbury@.bogusAddress.com> wrote:
>
MSDE2k
up a
the
make
they
Plans
the
maintenance
>|||Ron,
I know I've read about a similar issue but I didn't find a
KB article on it. Anyway...it probably stems from a missing
registry value for the backup directory.
On a default instance, you would add a new string value to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer
The new string value is BackupDirectory
The data value for this is the path to your backup
directory. The default would be
C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP
-Sue
On Wed, 24 Mar 2004 15:51:12 -0500, "Ron Lounsbury"
<rlounsbury@.bogusAddress.com> wrote:
>Sue
> Sorry, I forgot to mention that. It is SP3.
>Thanks,
>Ron
>"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
> news:ibs360dus2nbgtv77gah0br5t9uv4lb4ap@.
4ax.com...
>MSDE2k
>up a
>the
>make
>they
>Plans
>the
>maintenance
>|||Sue
Thanks, I'll give that a try.
Ron L
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:3604605mfu2viaevss1sanduj96inm2qdt@.
4ax.com...
> Ron,
> I know I've read about a similar issue but I didn't find a
> KB article on it. Anyway...it probably stems from a missing
> registry value for the backup directory.
> On a default instance, you would add a new string value to:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer
> The new string value is BackupDirectory
> The data value for this is the path to your backup
> directory. The default would be
> C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP
> -Sue
> On Wed, 24 Mar 2004 15:51:12 -0500, "Ron Lounsbury"
> <rlounsbury@.bogusAddress.com> wrote:
>
set
of
that
plans
the
blank
>|||Sue
Thanks. That was it.
Ron L
"Sue Hoegemeier" <Sue_H@.nomail.please> wrote in message
news:3604605mfu2viaevss1sanduj96inm2qdt@.
4ax.com...
> Ron,
> I know I've read about a similar issue but I didn't find a
> KB article on it. Anyway...it probably stems from a missing
> registry value for the backup directory.
> On a default instance, you would add a new string value to:
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer
> The new string value is BackupDirectory
> The data value for this is the path to your backup
> directory. The default would be
> C:\Program Files\Microsoft SQL Server\MSSQL\BACKUP
> -Sue
> On Wed, 24 Mar 2004 15:51:12 -0500, "Ron Lounsbury"
> <rlounsbury@.bogusAddress.com> wrote:
>
set
of
that
plans
the
blank
>
DB Maint Plan running indefinetly
DB backup and DB log backup part of DB maint plan still running.
I checked the backup folders and it seems like it only missed one db all
other db's have both backups.
I tried to backup the db and log from query anazyler and it worked fine.
When i refresh jobs and check current activity these 2 jobs still running.
Did anyone ever come across this problem?
ThanksTHE JOBS STARTED THIS MORNING.|||How big are the databases?
Where are you writing the backup file to, local drive, network share,
tape?
What does perfmon tell you, i.e. Avg Disk Queue Length, Device
Throughput Bytes/sec for those backup devices?
Does sp_who2 show anything blocking the backup processes?
You're going to have to do some diagnosis to determine what's going on,
there are certain basic things to check.|||Tracy thanks for responding.
Databases are small. biggest db is 1gigs.
It's writing to a local E:\Backup\ Drive.
I had to stop the jobs.
sp_who2 right now says this for both jobs:
130 RUNNABLE NT AUTHORITY\SYSTEM SQL2K . master
KILLED/ROLLBACK SQLAgent - TSQL JobStep (Job
0xBB38EE1DBF4A2541A1DEC606645B5EEE : Step 1) 130
But these jobs will start again tonight and tomorrow morning i will turn on
the perf mon to catch that info.
Do you think something was blocking the process?
What kind of info should i expect from perf mon or sp_who2 if the jobs keep
on running tomorrow?
Thanks
"Tracy McKibben" <tracy.mckibben@.gmail.com> wrote in message
news:1149021576.867321.51370@.i39g2000cwa.googlegroups.com...
> How big are the databases?
> Where are you writing the backup file to, local drive, network share,
> tape?
> What does perfmon tell you, i.e. Avg Disk Queue Length, Device
> Throughput Bytes/sec for those backup devices?
> Does sp_who2 show anything blocking the backup processes?
> You're going to have to do some diagnosis to determine what's going on,
> there are certain basic things to check.
>
I checked the backup folders and it seems like it only missed one db all
other db's have both backups.
I tried to backup the db and log from query anazyler and it worked fine.
When i refresh jobs and check current activity these 2 jobs still running.
Did anyone ever come across this problem?
ThanksTHE JOBS STARTED THIS MORNING.|||How big are the databases?
Where are you writing the backup file to, local drive, network share,
tape?
What does perfmon tell you, i.e. Avg Disk Queue Length, Device
Throughput Bytes/sec for those backup devices?
Does sp_who2 show anything blocking the backup processes?
You're going to have to do some diagnosis to determine what's going on,
there are certain basic things to check.|||Tracy thanks for responding.
Databases are small. biggest db is 1gigs.
It's writing to a local E:\Backup\ Drive.
I had to stop the jobs.
sp_who2 right now says this for both jobs:
130 RUNNABLE NT AUTHORITY\SYSTEM SQL2K . master
KILLED/ROLLBACK SQLAgent - TSQL JobStep (Job
0xBB38EE1DBF4A2541A1DEC606645B5EEE : Step 1) 130
But these jobs will start again tonight and tomorrow morning i will turn on
the perf mon to catch that info.
Do you think something was blocking the process?
What kind of info should i expect from perf mon or sp_who2 if the jobs keep
on running tomorrow?
Thanks
"Tracy McKibben" <tracy.mckibben@.gmail.com> wrote in message
news:1149021576.867321.51370@.i39g2000cwa.googlegroups.com...
> How big are the databases?
> Where are you writing the backup file to, local drive, network share,
> tape?
> What does perfmon tell you, i.e. Avg Disk Queue Length, Device
> Throughput Bytes/sec for those backup devices?
> Does sp_who2 show anything blocking the backup processes?
> You're going to have to do some diagnosis to determine what's going on,
> there are certain basic things to check.
>
DB Maint Plan running indefinetly
DB backup and DB log backup part of DB maint plan still running.
I checked the backup folders and it seems like it only missed one db all
other db's have both backups.
I tried to backup the db and log from query anazyler and it worked fine.
When i refresh jobs and check current activity these 2 jobs still running.
Did anyone ever come across this problem?
ThanksTHE JOBS STARTED THIS MORNING.|||How big are the databases?
Where are you writing the backup file to, local drive, network share,
tape?
What does perfmon tell you, i.e. Avg Disk Queue Length, Device
Throughput Bytes/sec for those backup devices?
Does sp_who2 show anything blocking the backup processes?
You're going to have to do some diagnosis to determine what's going on,
there are certain basic things to check.|||Tracy thanks for responding.
Databases are small. biggest db is 1gigs.
It's writing to a local E:\Backup\ Drive.
I had to stop the jobs.
sp_who2 right now says this for both jobs:
130 RUNNABLE NT AUTHORITY\SYSTEM SQL2K . master
KILLED/ROLLBACK SQLAgent - TSQL JobStep (Job
0xBB38EE1DBF4A2541A1DEC606645B5EEE : Step 1) 130
But these jobs will start again tonight and tomorrow morning i will turn on
the perf mon to catch that info.
Do you think something was blocking the process?
What kind of info should i expect from perf mon or sp_who2 if the jobs keep
on running tomorrow?
Thanks
"Tracy McKibben" <tracy.mckibben@.gmail.com> wrote in message
news:1149021576.867321.51370@.i39g2000cwa.googlegroups.com...
> How big are the databases?
> Where are you writing the backup file to, local drive, network share,
> tape?
> What does perfmon tell you, i.e. Avg Disk Queue Length, Device
> Throughput Bytes/sec for those backup devices?
> Does sp_who2 show anything blocking the backup processes?
> You're going to have to do some diagnosis to determine what's going on,
> there are certain basic things to check.
>
I checked the backup folders and it seems like it only missed one db all
other db's have both backups.
I tried to backup the db and log from query anazyler and it worked fine.
When i refresh jobs and check current activity these 2 jobs still running.
Did anyone ever come across this problem?
ThanksTHE JOBS STARTED THIS MORNING.|||How big are the databases?
Where are you writing the backup file to, local drive, network share,
tape?
What does perfmon tell you, i.e. Avg Disk Queue Length, Device
Throughput Bytes/sec for those backup devices?
Does sp_who2 show anything blocking the backup processes?
You're going to have to do some diagnosis to determine what's going on,
there are certain basic things to check.|||Tracy thanks for responding.
Databases are small. biggest db is 1gigs.
It's writing to a local E:\Backup\ Drive.
I had to stop the jobs.
sp_who2 right now says this for both jobs:
130 RUNNABLE NT AUTHORITY\SYSTEM SQL2K . master
KILLED/ROLLBACK SQLAgent - TSQL JobStep (Job
0xBB38EE1DBF4A2541A1DEC606645B5EEE : Step 1) 130
But these jobs will start again tonight and tomorrow morning i will turn on
the perf mon to catch that info.
Do you think something was blocking the process?
What kind of info should i expect from perf mon or sp_who2 if the jobs keep
on running tomorrow?
Thanks
"Tracy McKibben" <tracy.mckibben@.gmail.com> wrote in message
news:1149021576.867321.51370@.i39g2000cwa.googlegroups.com...
> How big are the databases?
> Where are you writing the backup file to, local drive, network share,
> tape?
> What does perfmon tell you, i.e. Avg Disk Queue Length, Device
> Throughput Bytes/sec for those backup devices?
> Does sp_who2 show anything blocking the backup processes?
> You're going to have to do some diagnosis to determine what's going on,
> there are certain basic things to check.
>
DB Maint plan not shrinking files - why? Please help
Does anyone know why, when the database maintenance plan runs, that the physical data files are not shrunk to 10% as indicated in the plan? I have a 10 G data file (as part of about 10 data files in this db), 5 G used and 5 G unused, that doesn't seem to
release any of the allocated but unused portion of the file back to the OS. (SQL Server 2000)
because GUI doesnt really work. Try to write a script about it. The same way
a big transaction log wont shrink at all using GUI...
"Stephanie" <Stephanie@.discussions.microsoft.com> wrote in message
news:2824D45B-FFDE-42D9-BBB7-9EC05F070A3B@.microsoft.com...
> Does anyone know why, when the database maintenance plan runs, that the
physical data files are not shrunk to 10% as indicated in the plan? I have
a 10 G data file (as part of about 10 data files in this db), 5 G used and 5
G unused, that doesn't seem to release any of the allocated but unused
portion of the file back to the OS. (SQL Server 2000)
|||in BOL look at DBCC SHRINKDATABASE
You could use a job instead of MP !
"Stephanie" wrote:
> Does anyone know why, when the database maintenance plan runs, that the physical data files are not shrunk to 10% as indicated in the plan? I have a 10 G data file (as part of about 10 data files in this db), 5 G used and 5 G unused, that doesn't seem
to release any of the allocated but unused portion of the file back to the OS. (SQL Server 2000)
release any of the allocated but unused portion of the file back to the OS. (SQL Server 2000)
because GUI doesnt really work. Try to write a script about it. The same way
a big transaction log wont shrink at all using GUI...
"Stephanie" <Stephanie@.discussions.microsoft.com> wrote in message
news:2824D45B-FFDE-42D9-BBB7-9EC05F070A3B@.microsoft.com...
> Does anyone know why, when the database maintenance plan runs, that the
physical data files are not shrunk to 10% as indicated in the plan? I have
a 10 G data file (as part of about 10 data files in this db), 5 G used and 5
G unused, that doesn't seem to release any of the allocated but unused
portion of the file back to the OS. (SQL Server 2000)
|||in BOL look at DBCC SHRINKDATABASE
You could use a job instead of MP !
"Stephanie" wrote:
> Does anyone know why, when the database maintenance plan runs, that the physical data files are not shrunk to 10% as indicated in the plan? I have a 10 G data file (as part of about 10 data files in this db), 5 G used and 5 G unused, that doesn't seem
to release any of the allocated but unused portion of the file back to the OS. (SQL Server 2000)
db maint plan fail
Hi ,
i am trying to set up a database maintainenance plan on SQL server 2000 with
SP3 on Windows 2000 server but i encountered the following error :
Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState 42000)
Error : 22029. The step failed
could anyone advise ?
tks & rdgs
Hi,
Could you tell us what sort of job you are performing using Maintenance
Plan. If it is Transaction log backup ensure that your database recovery
models selected for backup must be either FULL or BULK_LOGGED. If it is
SIMPLE then log backup will fail.
Thanks
Hari
SQL Server MVP
"maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> Hi ,
> i am trying to set up a database maintainenance plan on SQL server 2000
> with
> SP3 on Windows 2000 server but i encountered the following error :
> Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> 42000)
> Error : 22029. The step failed
> could anyone advise ?
> tks & rdgs
|||Hi ,
i am backing up only the master , msdb & model dbs and i have changed the
mode to full backup however , i still got the same error
rdgs
"Hari Prasad" wrote:
> Hi,
> Could you tell us what sort of job you are performing using Maintenance
> Plan. If it is Transaction log backup ensure that your database recovery
> models selected for backup must be either FULL or BULK_LOGGED. If it is
> SIMPLE then log backup will fail.
> Thanks
> Hari
> SQL Server MVP
> "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
>
>
|||Hi
If you right click on the plan in Enterprise Manager and call up the
Maintenance Plan History do you get a more detailed error message?
Also are you just performing backups or are you also defining integrity
checks. If so do not attempt to repair minor problems on the system DBs as
the process cannot get exclusive access to master or msdb (too many other
processes).
Yours
Alasdair Russell
"maxzsim" wrote:
[vbcol=seagreen]
> Hi ,
> i am backing up only the master , msdb & model dbs and i have changed the
> mode to full backup however , i still got the same error
> rdgs
>
> "Hari Prasad" wrote:
i am trying to set up a database maintainenance plan on SQL server 2000 with
SP3 on Windows 2000 server but i encountered the following error :
Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState 42000)
Error : 22029. The step failed
could anyone advise ?
tks & rdgs
Hi,
Could you tell us what sort of job you are performing using Maintenance
Plan. If it is Transaction log backup ensure that your database recovery
models selected for backup must be either FULL or BULK_LOGGED. If it is
SIMPLE then log backup will fail.
Thanks
Hari
SQL Server MVP
"maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> Hi ,
> i am trying to set up a database maintainenance plan on SQL server 2000
> with
> SP3 on Windows 2000 server but i encountered the following error :
> Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> 42000)
> Error : 22029. The step failed
> could anyone advise ?
> tks & rdgs
|||Hi ,
i am backing up only the master , msdb & model dbs and i have changed the
mode to full backup however , i still got the same error
rdgs
"Hari Prasad" wrote:
> Hi,
> Could you tell us what sort of job you are performing using Maintenance
> Plan. If it is Transaction log backup ensure that your database recovery
> models selected for backup must be either FULL or BULK_LOGGED. If it is
> SIMPLE then log backup will fail.
> Thanks
> Hari
> SQL Server MVP
> "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
>
>
|||Hi
If you right click on the plan in Enterprise Manager and call up the
Maintenance Plan History do you get a more detailed error message?
Also are you just performing backups or are you also defining integrity
checks. If so do not attempt to repair minor problems on the system DBs as
the process cannot get exclusive access to master or msdb (too many other
processes).
Yours
Alasdair Russell
"maxzsim" wrote:
[vbcol=seagreen]
> Hi ,
> i am backing up only the master , msdb & model dbs and i have changed the
> mode to full backup however , i still got the same error
> rdgs
>
> "Hari Prasad" wrote:
db maint plan fail
Hi ,
i am trying to set up a database maintainenance plan on SQL server 2000 with
SP3 on Windows 2000 server but i encountered the following error :
Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState 42000)
Error : 22029. The step failed
could anyone advise ?
tks & rdgsHi,
Could you tell us what sort of job you are performing using Maintenance
Plan. If it is Transaction log backup ensure that your database recovery
models selected for backup must be either FULL or BULK_LOGGED. If it is
SIMPLE then log backup will fail.
Thanks
Hari
SQL Server MVP
"maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> Hi ,
> i am trying to set up a database maintainenance plan on SQL server 2000
> with
> SP3 on Windows 2000 server but i encountered the following error :
> Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> 42000)
> Error : 22029. The step failed
> could anyone advise ?
> tks & rdgs|||Hi ,
i am backing up only the master , msdb & model dbs and i have changed the
mode to full backup however , i still got the same error
rdgs
"Hari Prasad" wrote:
> Hi,
> Could you tell us what sort of job you are performing using Maintenance
> Plan. If it is Transaction log backup ensure that your database recovery
> models selected for backup must be either FULL or BULK_LOGGED. If it is
> SIMPLE then log backup will fail.
> Thanks
> Hari
> SQL Server MVP
> "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
>
>|||Hi
If you right click on the plan in Enterprise Manager and call up the
Maintenance Plan History do you get a more detailed error message?
Also are you just performing backups or are you also defining integrity
checks. If so do not attempt to repair minor problems on the system DBs as
the process cannot get exclusive access to master or msdb (too many other
processes).
Yours
Alasdair Russell
"maxzsim" wrote:
[vbcol=seagreen]
> Hi ,
> i am backing up only the master , msdb & model dbs and i have changed t
he
> mode to full backup however , i still got the same error
> rdgs
>
> "Hari Prasad" wrote:
>
i am trying to set up a database maintainenance plan on SQL server 2000 with
SP3 on Windows 2000 server but i encountered the following error :
Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState 42000)
Error : 22029. The step failed
could anyone advise ?
tks & rdgsHi,
Could you tell us what sort of job you are performing using Maintenance
Plan. If it is Transaction log backup ensure that your database recovery
models selected for backup must be either FULL or BULK_LOGGED. If it is
SIMPLE then log backup will fail.
Thanks
Hari
SQL Server MVP
"maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> Hi ,
> i am trying to set up a database maintainenance plan on SQL server 2000
> with
> SP3 on Windows 2000 server but i encountered the following error :
> Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> 42000)
> Error : 22029. The step failed
> could anyone advise ?
> tks & rdgs|||Hi ,
i am backing up only the master , msdb & model dbs and i have changed the
mode to full backup however , i still got the same error
rdgs
"Hari Prasad" wrote:
> Hi,
> Could you tell us what sort of job you are performing using Maintenance
> Plan. If it is Transaction log backup ensure that your database recovery
> models selected for backup must be either FULL or BULK_LOGGED. If it is
> SIMPLE then log backup will fail.
> Thanks
> Hari
> SQL Server MVP
> "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
>
>|||Hi
If you right click on the plan in Enterprise Manager and call up the
Maintenance Plan History do you get a more detailed error message?
Also are you just performing backups or are you also defining integrity
checks. If so do not attempt to repair minor problems on the system DBs as
the process cannot get exclusive access to master or msdb (too many other
processes).
Yours
Alasdair Russell
"maxzsim" wrote:
[vbcol=seagreen]
> Hi ,
> i am backing up only the master , msdb & model dbs and i have changed t
he
> mode to full backup however , i still got the same error
> rdgs
>
> "Hari Prasad" wrote:
>
db maint plan fail
Hi ,
i am trying to set up a database maintainenance plan on SQL server 2000 with
SP3 on Windows 2000 server but i encountered the following error :
Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState 42000)
Error : 22029. The step failed
could anyone advise ?
tks & rdgsHi,
Could you tell us what sort of job you are performing using Maintenance
Plan. If it is Transaction log backup ensure that your database recovery
models selected for backup must be either FULL or BULK_LOGGED. If it is
SIMPLE then log backup will fail.
Thanks
Hari
SQL Server MVP
"maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> Hi ,
> i am trying to set up a database maintainenance plan on SQL server 2000
> with
> SP3 on Windows 2000 server but i encountered the following error :
> Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> 42000)
> Error : 22029. The step failed
> could anyone advise ?
> tks & rdgs|||Hi ,
i am backing up only the master , msdb & model dbs and i have changed the
mode to full backup however , i still got the same error
rdgs
"Hari Prasad" wrote:
> Hi,
> Could you tell us what sort of job you are performing using Maintenance
> Plan. If it is Transaction log backup ensure that your database recovery
> models selected for backup must be either FULL or BULK_LOGGED. If it is
> SIMPLE then log backup will fail.
> Thanks
> Hari
> SQL Server MVP
> "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> > Hi ,
> >
> > i am trying to set up a database maintainenance plan on SQL server 2000
> > with
> > SP3 on Windows 2000 server but i encountered the following error :
> > Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> > 42000)
> > Error : 22029. The step failed
> >
> > could anyone advise ?
> > tks & rdgs
>
>|||Hi
If you right click on the plan in Enterprise Manager and call up the
Maintenance Plan History do you get a more detailed error message?
Also are you just performing backups or are you also defining integrity
checks. If so do not attempt to repair minor problems on the system DBs as
the process cannot get exclusive access to master or msdb (too many other
processes).
Yours
Alasdair Russell
"maxzsim" wrote:
> Hi ,
> i am backing up only the master , msdb & model dbs and i have changed the
> mode to full backup however , i still got the same error
> rdgs
>
> "Hari Prasad" wrote:
> > Hi,
> >
> > Could you tell us what sort of job you are performing using Maintenance
> > Plan. If it is Transaction log backup ensure that your database recovery
> > models selected for backup must be either FULL or BULK_LOGGED. If it is
> > SIMPLE then log backup will fail.
> >
> > Thanks
> > Hari
> > SQL Server MVP
> >
> > "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> > news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> > > Hi ,
> > >
> > > i am trying to set up a database maintainenance plan on SQL server 2000
> > > with
> > > SP3 on Windows 2000 server but i encountered the following error :
> > > Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> > > 42000)
> > > Error : 22029. The step failed
> > >
> > > could anyone advise ?
> > > tks & rdgs
> >
> >
> >
i am trying to set up a database maintainenance plan on SQL server 2000 with
SP3 on Windows 2000 server but i encountered the following error :
Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState 42000)
Error : 22029. The step failed
could anyone advise ?
tks & rdgsHi,
Could you tell us what sort of job you are performing using Maintenance
Plan. If it is Transaction log backup ensure that your database recovery
models selected for backup must be either FULL or BULK_LOGGED. If it is
SIMPLE then log backup will fail.
Thanks
Hari
SQL Server MVP
"maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> Hi ,
> i am trying to set up a database maintainenance plan on SQL server 2000
> with
> SP3 on Windows 2000 server but i encountered the following error :
> Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> 42000)
> Error : 22029. The step failed
> could anyone advise ?
> tks & rdgs|||Hi ,
i am backing up only the master , msdb & model dbs and i have changed the
mode to full backup however , i still got the same error
rdgs
"Hari Prasad" wrote:
> Hi,
> Could you tell us what sort of job you are performing using Maintenance
> Plan. If it is Transaction log backup ensure that your database recovery
> models selected for backup must be either FULL or BULK_LOGGED. If it is
> SIMPLE then log backup will fail.
> Thanks
> Hari
> SQL Server MVP
> "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> > Hi ,
> >
> > i am trying to set up a database maintainenance plan on SQL server 2000
> > with
> > SP3 on Windows 2000 server but i encountered the following error :
> > Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> > 42000)
> > Error : 22029. The step failed
> >
> > could anyone advise ?
> > tks & rdgs
>
>|||Hi
If you right click on the plan in Enterprise Manager and call up the
Maintenance Plan History do you get a more detailed error message?
Also are you just performing backups or are you also defining integrity
checks. If so do not attempt to repair minor problems on the system DBs as
the process cannot get exclusive access to master or msdb (too many other
processes).
Yours
Alasdair Russell
"maxzsim" wrote:
> Hi ,
> i am backing up only the master , msdb & model dbs and i have changed the
> mode to full backup however , i still got the same error
> rdgs
>
> "Hari Prasad" wrote:
> > Hi,
> >
> > Could you tell us what sort of job you are performing using Maintenance
> > Plan. If it is Transaction log backup ensure that your database recovery
> > models selected for backup must be either FULL or BULK_LOGGED. If it is
> > SIMPLE then log backup will fail.
> >
> > Thanks
> > Hari
> > SQL Server MVP
> >
> > "maxzsim" <maxzsim@.discussions.microsoft.com> wrote in message
> > news:1764E240-8F7F-4A96-B316-095633386279@.microsoft.com...
> > > Hi ,
> > >
> > > i am trying to set up a database maintainenance plan on SQL server 2000
> > > with
> > > SP3 on Windows 2000 server but i encountered the following error :
> > > Executed as user : NT AUTHORITY\SYSTEM. sqlmaint.exe failed (SQLState
> > > 42000)
> > > Error : 22029. The step failed
> > >
> > > could anyone advise ?
> > > tks & rdgs
> >
> >
> >
DB Maint Plan Delima - Error 22029
Howdy all - hope someone can offer me assistance!
My problem stems from a recent SQL database move to SQL 2000 from SQL Server 7.0. I successfully moved 8 databases from SQL Server 7 to SQL 2000 (using series of scripts that detached/attached dbs - see URL http://www.sqlteam.com/item.asp?ItemID=9465). My problem is with the Database Maintenance Plans, as I am receiving the following error message when attempting to manually execute a 'Job' from SQL Server Agents 'Jobs':
"Executed as user: NT AUTHORITY\SYSTEM. SQLMaint.exe failed. [SQLSTATE 42000] (Error 22029), the step failed"
Oddly, after I used a script to move the SQL Server Agent "Jobs" between servers, the new SQL 2000 Enterprise Manager displays each job, but there are not any 'Database Maintenance Plans' showing.
Any thoughts as to the "22029" error or the lack of Database Maint Plans?
Confused!?!1 Assuming you did not move MSDB: The maintenance plan references would be incorrect for scripts made on 7.0 maintenance plan jobs (they would refer to non-existent maintenance plan IDs in your 2k instance).
2 You may wish to simply recreate your maintenance plans via the wizard on your 2k instance.
3 Another option may be to upgrade the source (7.0 --> 2k), then do a backup dump of MSDB (from the upgraded 2k source), and then restore that MSDB dump to the new 2k instance.|||DBA,
You are correct on #1 - I did not move the MSDB table from 7.0 to 2000. I have already planned on your #2 option, as creating the new maint plans on the 2000 server is a viable solution. The #3 option sounds interesting (I would have to perform this prior to #2, of course) - I might attempt this as I still have my source (7.0) server and all databases intact (all I need to do is reattach the dbs). I'll let you know what I come up with if I decide on this option.
...very good info/observations! Thanks DBA!|||You are welcome.
(It sounds like you may quite conveniently redo or restore. On large systems with many maintenance plans, redoing them and running dozens to hundreds of scripts for custom jobs, msdb stored procedures, alerts, etc., can be a very tedious chore.)
My problem stems from a recent SQL database move to SQL 2000 from SQL Server 7.0. I successfully moved 8 databases from SQL Server 7 to SQL 2000 (using series of scripts that detached/attached dbs - see URL http://www.sqlteam.com/item.asp?ItemID=9465). My problem is with the Database Maintenance Plans, as I am receiving the following error message when attempting to manually execute a 'Job' from SQL Server Agents 'Jobs':
"Executed as user: NT AUTHORITY\SYSTEM. SQLMaint.exe failed. [SQLSTATE 42000] (Error 22029), the step failed"
Oddly, after I used a script to move the SQL Server Agent "Jobs" between servers, the new SQL 2000 Enterprise Manager displays each job, but there are not any 'Database Maintenance Plans' showing.
Any thoughts as to the "22029" error or the lack of Database Maint Plans?
Confused!?!1 Assuming you did not move MSDB: The maintenance plan references would be incorrect for scripts made on 7.0 maintenance plan jobs (they would refer to non-existent maintenance plan IDs in your 2k instance).
2 You may wish to simply recreate your maintenance plans via the wizard on your 2k instance.
3 Another option may be to upgrade the source (7.0 --> 2k), then do a backup dump of MSDB (from the upgraded 2k source), and then restore that MSDB dump to the new 2k instance.|||DBA,
You are correct on #1 - I did not move the MSDB table from 7.0 to 2000. I have already planned on your #2 option, as creating the new maint plans on the 2000 server is a viable solution. The #3 option sounds interesting (I would have to perform this prior to #2, of course) - I might attempt this as I still have my source (7.0) server and all databases intact (all I need to do is reattach the dbs). I'll let you know what I come up with if I decide on this option.
...very good info/observations! Thanks DBA!|||You are welcome.
(It sounds like you may quite conveniently redo or restore. On large systems with many maintenance plans, redoing them and running dozens to hundreds of scripts for custom jobs, msdb stored procedures, alerts, etc., can be a very tedious chore.)
DB Maint Plan - Cleanup old DB Backup files not working
I created a DB Maint plan with just a 'Maintenance Cleanup Task'; the job executes fine, but does not remove files. The sql it says it's running is: EXECUTE master.dbo.xp_delete_file 0,N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup',N'.bak',N'9/11/2005 11:12:31 AM', any ideas? The logfile says it worked. June CTP.Found the problem, shouldn't have had the '.' in the extension.
Subscribe to:
Posts (Atom)