Hello!
I wrote an extended stored procedure "MyStoredProcedure" implemented in
My.dll.
I registered "MyStoredProcedure" using :
USE master
EXEC sp_addextendedproc MyStoredProcedure, 'My.dll'
GO
My problem comes when I want to replace My.dll with a newer version.
How should I proceed if I don't want to stop SQL server.
Note : DBCC My.dll (FREE) raises an exception.
Is there another way to free My.dll?
Thank you!What's the exception? I'm guessing its complaining about the DLL name.
Trying using
DBCC My (FREE)
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"ggeshev" <ggeshev@.tonegan.bg> wrote in message
news:Ooql9BK0EHA.1408@.TK2MSFTNGP10.phx.gbl...
> Hello!
> I wrote an extended stored procedure "MyStoredProcedure" implemented in
> My.dll.
> I registered "MyStoredProcedure" using :
>
> USE master
> EXEC sp_addextendedproc MyStoredProcedure, 'My.dll'
> GO
>
> My problem comes when I want to replace My.dll with a newer version.
> How should I proceed if I don't want to stop SQL server.
> Note : DBCC My.dll (FREE) raises an exception.
> Is there another way to free My.dll?
>
> Thank you!
>|||The first time I try to free My.dll using
DBCC My (FREE)
I receive the following exception :
ODBC: Msg 0, Level 19, State 1
SqlDumpExceptionHandler: Process 52 generated fatal exception c0000005
EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
DBCC execution completed. If DBCC printed error messages, contact your
system administrator.
If I execute the free command one more time, exception is not generated.
The second execution produces the following message for a succesful result :
DBCC execution completed. If DBCC printed error messages, contact your
system administrator.
Showing posts with label master. Show all posts
Showing posts with label master. Show all posts
Monday, March 19, 2012
DBCC My.dll (FREE)
Friday, February 17, 2012
dbcc checkdb in Yukon
Hi ,
When dbcc checkdb or checkcatalog executed on master db of Yukon got the
following error .
Msg 5030, Level 16, State 12, Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be prepared for checking.
Re-run the command with the database in single-user or read-only mode. See
previous errors for more details.
Which build are you using? On the Dec CTP release (9.00.0981)
dbcc checkdb('master')
dbcc checkcatalog('master')
work just fine for me.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> Hi ,
> When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> following error .
> Msg 5030, Level 16, State 12, Line 1
> The database could not be exclusively locked to perform the operation.
> Msg 7926, Level 16, State 1, Line 1
> Check statement aborted. The database could not be prepared for checking.
> Re-run the command with the database in single-user or read-only mode. See
> previous errors for more details.
>
>
>
|||Thanks
am using 9.00.852
so is it like it won't work only if I give Dbcc checkdb
ARR
"Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> Which build are you using? On the Dec CTP release (9.00.0981)
> dbcc checkdb('master')
> dbcc checkcatalog('master')
> work just fine for me.
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no
rights.[vbcol=seagreen]
> You assume all risk for your use.
> Copyright SQLDev.Net 1991-2005 All rights reserved.
> "Aju" <ajuonline@.yahoo.com> wrote in message
> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
checking.[vbcol=seagreen]
See
>
|||No it does work if you are in master and do not specify the database name as
well, running:
dbcc checkdb
dbcc checkcatalog
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
> checking.
> See
>
|||Do you have these databases on a FAT file system? Checkdb in Yukon uses
database snapshots to allow online checks. If the database is on a
filesystem other than NTFS, or there is no space on the drive for a
snapshot, then online checks cannot be done and another mechanism for
achieving transactional consistency is required instead. You should have
seen some other errors which will have explained. This behavior is fully
documented in Beta 3 BOL.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...[vbcol=seagreen]
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
the
> checking.
> See
>
When dbcc checkdb or checkcatalog executed on master db of Yukon got the
following error .
Msg 5030, Level 16, State 12, Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be prepared for checking.
Re-run the command with the database in single-user or read-only mode. See
previous errors for more details.
Which build are you using? On the Dec CTP release (9.00.0981)
dbcc checkdb('master')
dbcc checkcatalog('master')
work just fine for me.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> Hi ,
> When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> following error .
> Msg 5030, Level 16, State 12, Line 1
> The database could not be exclusively locked to perform the operation.
> Msg 7926, Level 16, State 1, Line 1
> Check statement aborted. The database could not be prepared for checking.
> Re-run the command with the database in single-user or read-only mode. See
> previous errors for more details.
>
>
>
|||Thanks
am using 9.00.852
so is it like it won't work only if I give Dbcc checkdb
ARR
"Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> Which build are you using? On the Dec CTP release (9.00.0981)
> dbcc checkdb('master')
> dbcc checkcatalog('master')
> work just fine for me.
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no
rights.[vbcol=seagreen]
> You assume all risk for your use.
> Copyright SQLDev.Net 1991-2005 All rights reserved.
> "Aju" <ajuonline@.yahoo.com> wrote in message
> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
checking.[vbcol=seagreen]
See
>
|||No it does work if you are in master and do not specify the database name as
well, running:
dbcc checkdb
dbcc checkcatalog
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
> checking.
> See
>
|||Do you have these databases on a FAT file system? Checkdb in Yukon uses
database snapshots to allow online checks. If the database is on a
filesystem other than NTFS, or there is no space on the drive for a
snapshot, then online checks cannot be done and another mechanism for
achieving transactional consistency is required instead. You should have
seen some other errors which will have explained. This behavior is fully
documented in Beta 3 BOL.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...[vbcol=seagreen]
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
the
> checking.
> See
>
dbcc checkdb in Yukon
Hi ,
When dbcc checkdb or checkcatalog executed on master db of Yukon got the
following error .
Msg 5030, Level 16, State 12, Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be prepared for checking.
Re-run the command with the database in single-user or read-only mode. See
previous errors for more details.Which build are you using? On the Dec CTP release (9.00.0981)
dbcc checkdb('master')
dbcc checkcatalog('master')
work just fine for me.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> Hi ,
> When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> following error .
> Msg 5030, Level 16, State 12, Line 1
> The database could not be exclusively locked to perform the operation.
> Msg 7926, Level 16, State 1, Line 1
> Check statement aborted. The database could not be prepared for checking.
> Re-run the command with the database in single-user or read-only mode. See
> previous errors for more details.
>
>
>|||Thanks
am using 9.00.852
so is it like it won't work only if I give Dbcc checkdb
ARR
"Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> Which build are you using? On the Dec CTP release (9.00.0981)
> dbcc checkdb('master')
> dbcc checkcatalog('master')
> work just fine for me.
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use.
> Copyright SQLDev.Net 1991-2005 All rights reserved.
> "Aju" <ajuonline@.yahoo.com> wrote in message
> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
checking.[vbcol=seagreen]
See[vbcol=seagreen]
>|||No it does work if you are in master and do not specify the database name as
well, running:
dbcc checkdb
dbcc checkcatalog
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
> checking.
> See
>|||Do you have these databases on a FAT file system? Checkdb in Yukon uses
database snapshots to allow online checks. If the database is on a
filesystem other than NTFS, or there is no space on the drive for a
snapshot, then online checks cannot be done and another mechanism for
achieving transactional consistency is required instead. You should have
seen some other errors which will have explained. This behavior is fully
documented in Beta 3 BOL.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
the[vbcol=seagreen]
> checking.
> See
>
When dbcc checkdb or checkcatalog executed on master db of Yukon got the
following error .
Msg 5030, Level 16, State 12, Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be prepared for checking.
Re-run the command with the database in single-user or read-only mode. See
previous errors for more details.Which build are you using? On the Dec CTP release (9.00.0981)
dbcc checkdb('master')
dbcc checkcatalog('master')
work just fine for me.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> Hi ,
> When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> following error .
> Msg 5030, Level 16, State 12, Line 1
> The database could not be exclusively locked to perform the operation.
> Msg 7926, Level 16, State 1, Line 1
> Check statement aborted. The database could not be prepared for checking.
> Re-run the command with the database in single-user or read-only mode. See
> previous errors for more details.
>
>
>|||Thanks
am using 9.00.852
so is it like it won't work only if I give Dbcc checkdb
ARR
"Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> Which build are you using? On the Dec CTP release (9.00.0981)
> dbcc checkdb('master')
> dbcc checkcatalog('master')
> work just fine for me.
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use.
> Copyright SQLDev.Net 1991-2005 All rights reserved.
> "Aju" <ajuonline@.yahoo.com> wrote in message
> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
checking.[vbcol=seagreen]
See[vbcol=seagreen]
>|||No it does work if you are in master and do not specify the database name as
well, running:
dbcc checkdb
dbcc checkcatalog
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
> checking.
> See
>|||Do you have these databases on a FAT file system? Checkdb in Yukon uses
database snapshots to allow online checks. If the database is on a
filesystem other than NTFS, or there is no space on the drive for a
snapshot, then online checks cannot be done and another mechanism for
achieving transactional consistency is required instead. You should have
seen some other errors which will have explained. This behavior is fully
documented in Beta 3 BOL.
Regards.
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> rights.
the[vbcol=seagreen]
> checking.
> See
>
dbcc checkdb in Yukon
Hi ,
When dbcc checkdb or checkcatalog executed on master db of Yukon got the
following error .
Msg 5030, Level 16, State 12, Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be prepared for checking.
Re-run the command with the database in single-user or read-only mode. See
previous errors for more details.Which build are you using? On the Dec CTP release (9.00.0981)
dbcc checkdb('master')
dbcc checkcatalog('master')
work just fine for me.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> Hi ,
> When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> following error .
> Msg 5030, Level 16, State 12, Line 1
> The database could not be exclusively locked to perform the operation.
> Msg 7926, Level 16, State 1, Line 1
> Check statement aborted. The database could not be prepared for checking.
> Re-run the command with the database in single-user or read-only mode. See
> previous errors for more details.
>
>
>|||Thanks
am using 9.00.852
so is it like it won't work only if I give Dbcc checkdb
ARR
"Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> Which build are you using? On the Dec CTP release (9.00.0981)
> dbcc checkdb('master')
> dbcc checkcatalog('master')
> work just fine for me.
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use.
> Copyright © SQLDev.Net 1991-2005 All rights reserved.
> "Aju" <ajuonline@.yahoo.com> wrote in message
> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> > Hi ,
> > When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> > following error .
> >
> > Msg 5030, Level 16, State 12, Line 1
> >
> > The database could not be exclusively locked to perform the operation.
> >
> > Msg 7926, Level 16, State 1, Line 1
> >
> > Check statement aborted. The database could not be prepared for
checking.
> > Re-run the command with the database in single-user or read-only mode.
See
> > previous errors for more details.
> >
> >
> >
> >
> >
> >
>|||No it does work if you are in master and do not specify the database name as
well, running:
dbcc checkdb
dbcc checkcatalog
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
>> Which build are you using? On the Dec CTP release (9.00.0981)
>> dbcc checkdb('master')
>> dbcc checkcatalog('master')
>> work just fine for me.
>> GertD@.SQLDev.Net
>> Please reply only to the newsgroups.
>> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>> You assume all risk for your use.
>> Copyright © SQLDev.Net 1991-2005 All rights reserved.
>> "Aju" <ajuonline@.yahoo.com> wrote in message
>> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
>> > Hi ,
>> > When dbcc checkdb or checkcatalog executed on master db of Yukon got
>> > the
>> > following error .
>> >
>> > Msg 5030, Level 16, State 12, Line 1
>> >
>> > The database could not be exclusively locked to perform the operation.
>> >
>> > Msg 7926, Level 16, State 1, Line 1
>> >
>> > Check statement aborted. The database could not be prepared for
> checking.
>> > Re-run the command with the database in single-user or read-only mode.
> See
>> > previous errors for more details.
>> >
>> >
>> >
>> >
>> >
>> >
>>
>|||Do you have these databases on a FAT file system? Checkdb in Yukon uses
database snapshots to allow online checks. If the database is on a
filesystem other than NTFS, or there is no space on the drive for a
snapshot, then online checks cannot be done and another mechanism for
achieving transactional consistency is required instead. You should have
seen some other errors which will have explained. This behavior is fully
documented in Beta 3 BOL.
Regards.
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> > Which build are you using? On the Dec CTP release (9.00.0981)
> >
> > dbcc checkdb('master')
> > dbcc checkcatalog('master')
> >
> > work just fine for me.
> >
> > GertD@.SQLDev.Net
> >
> > Please reply only to the newsgroups.
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > You assume all risk for your use.
> > Copyright © SQLDev.Net 1991-2005 All rights reserved.
> >
> > "Aju" <ajuonline@.yahoo.com> wrote in message
> > news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> > > Hi ,
> > > When dbcc checkdb or checkcatalog executed on master db of Yukon got
the
> > > following error .
> > >
> > > Msg 5030, Level 16, State 12, Line 1
> > >
> > > The database could not be exclusively locked to perform the operation.
> > >
> > > Msg 7926, Level 16, State 1, Line 1
> > >
> > > Check statement aborted. The database could not be prepared for
> checking.
> > > Re-run the command with the database in single-user or read-only mode.
> See
> > > previous errors for more details.
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
When dbcc checkdb or checkcatalog executed on master db of Yukon got the
following error .
Msg 5030, Level 16, State 12, Line 1
The database could not be exclusively locked to perform the operation.
Msg 7926, Level 16, State 1, Line 1
Check statement aborted. The database could not be prepared for checking.
Re-run the command with the database in single-user or read-only mode. See
previous errors for more details.Which build are you using? On the Dec CTP release (9.00.0981)
dbcc checkdb('master')
dbcc checkcatalog('master')
work just fine for me.
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> Hi ,
> When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> following error .
> Msg 5030, Level 16, State 12, Line 1
> The database could not be exclusively locked to perform the operation.
> Msg 7926, Level 16, State 1, Line 1
> Check statement aborted. The database could not be prepared for checking.
> Re-run the command with the database in single-user or read-only mode. See
> previous errors for more details.
>
>
>|||Thanks
am using 9.00.852
so is it like it won't work only if I give Dbcc checkdb
ARR
"Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> Which build are you using? On the Dec CTP release (9.00.0981)
> dbcc checkdb('master')
> dbcc checkcatalog('master')
> work just fine for me.
> GertD@.SQLDev.Net
> Please reply only to the newsgroups.
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> You assume all risk for your use.
> Copyright © SQLDev.Net 1991-2005 All rights reserved.
> "Aju" <ajuonline@.yahoo.com> wrote in message
> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> > Hi ,
> > When dbcc checkdb or checkcatalog executed on master db of Yukon got the
> > following error .
> >
> > Msg 5030, Level 16, State 12, Line 1
> >
> > The database could not be exclusively locked to perform the operation.
> >
> > Msg 7926, Level 16, State 1, Line 1
> >
> > Check statement aborted. The database could not be prepared for
checking.
> > Re-run the command with the database in single-user or read-only mode.
See
> > previous errors for more details.
> >
> >
> >
> >
> >
> >
>|||No it does work if you are in master and do not specify the database name as
well, running:
dbcc checkdb
dbcc checkcatalog
GertD@.SQLDev.Net
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
>> Which build are you using? On the Dec CTP release (9.00.0981)
>> dbcc checkdb('master')
>> dbcc checkcatalog('master')
>> work just fine for me.
>> GertD@.SQLDev.Net
>> Please reply only to the newsgroups.
>> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>> You assume all risk for your use.
>> Copyright © SQLDev.Net 1991-2005 All rights reserved.
>> "Aju" <ajuonline@.yahoo.com> wrote in message
>> news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
>> > Hi ,
>> > When dbcc checkdb or checkcatalog executed on master db of Yukon got
>> > the
>> > following error .
>> >
>> > Msg 5030, Level 16, State 12, Line 1
>> >
>> > The database could not be exclusively locked to perform the operation.
>> >
>> > Msg 7926, Level 16, State 1, Line 1
>> >
>> > Check statement aborted. The database could not be prepared for
> checking.
>> > Re-run the command with the database in single-user or read-only mode.
> See
>> > previous errors for more details.
>> >
>> >
>> >
>> >
>> >
>> >
>>
>|||Do you have these databases on a FAT file system? Checkdb in Yukon uses
database snapshots to allow online checks. If the database is on a
filesystem other than NTFS, or there is no space on the drive for a
snapshot, then online checks cannot be done and another mechanism for
achieving transactional consistency is required instead. You should have
seen some other errors which will have explained. This behavior is fully
documented in Beta 3 BOL.
Regards.
--
Paul Randal
Dev Lead, Microsoft SQL Server Storage Engine
This posting is provided "AS IS" with no warranties, and confers no rights.
"Aju" <ajuonline@.yahoo.com> wrote in message
news:eBZ7WQtAFHA.1292@.TK2MSFTNGP10.phx.gbl...
> Thanks
> am using 9.00.852
> so is it like it won't work only if I give Dbcc checkdb
>
> ARR
>
> "Gert E.R. Drapers" <GertD@.SQLDev.Net> wrote in message
> news:ucEiZ4sAFHA.1564@.TK2MSFTNGP09.phx.gbl...
> > Which build are you using? On the Dec CTP release (9.00.0981)
> >
> > dbcc checkdb('master')
> > dbcc checkcatalog('master')
> >
> > work just fine for me.
> >
> > GertD@.SQLDev.Net
> >
> > Please reply only to the newsgroups.
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > You assume all risk for your use.
> > Copyright © SQLDev.Net 1991-2005 All rights reserved.
> >
> > "Aju" <ajuonline@.yahoo.com> wrote in message
> > news:%23$IhL1sAFHA.1396@.tk2msftngp13.phx.gbl...
> > > Hi ,
> > > When dbcc checkdb or checkcatalog executed on master db of Yukon got
the
> > > following error .
> > >
> > > Msg 5030, Level 16, State 12, Line 1
> > >
> > > The database could not be exclusively locked to perform the operation.
> > >
> > > Msg 7926, Level 16, State 1, Line 1
> > >
> > > Check statement aborted. The database could not be prepared for
> checking.
> > > Re-run the command with the database in single-user or read-only mode.
> See
> > > previous errors for more details.
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
Subscribe to:
Posts (Atom)