Showing posts with label index. Show all posts
Showing posts with label index. Show all posts

Monday, March 26, 2012

Error 17066

In the last week we are seeing several occurrences of the following error:
Error 602, Severity 21, State 30:
Could not find an entry for table or index with partitionID 189907171868672 in database 2.

This is always followed by a stack dump and this error:
SQL Server Assertion: File: <qxcntxt.cpp>, line = 1069 Failed Assertion = 'cref == 0'.

I have run checkdb on tempdb and no errors are reported. Additionally, we have dropped and recreated the sp indicated in the stack dump. The errors continue.

We are running 64 bit SQL 2005 with sp2.

HELP!!!!!!!!!!!!!!!!!!!!!!!!!!

Stack dump normally means a bug in sqlserver. It's best to contact PSS to get it resolved.

error 17052

Error: 644, Severity: 21, State: 3
Could not find the index entry for
RID '36100101406d0610730740650720' in index page (1:257),
index ID 0, database 'master'.
Any help or direction would be greatly appreciated.
ThanksHave you run a dbcc checkdb on the master database?
You can run this with the repair option and see if it
fixes your problem.
>--Original Message--
>Error: 644, Severity: 21, State: 3
>Could not find the index entry for
>RID '36100101406d0610730740650720' in index page (1:257),
>index ID 0, database 'master'.
>Any help or direction would be greatly appreciated.
>Thanks
>.
>|||I have not. I can not get the sql server service to start.
This might help:
2003-11-19 09:30:58.55 server Microsoft SQL Server
2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.0 (Build 2195:
Service Pack 4)
2003-11-19 09:30:58.55 server Copyright (C) 1988-2002
Microsoft Corporation.
2003-11-19 09:30:58.55 server All rights reserved.
2003-11-19 09:30:58.55 server Server Process ID is
2416.
2003-11-19 09:30:58.55 server Logging SQL Server
messages in file 'd:\sqlroot\MSSQL\log\ERRORLOG'.
2003-11-19 09:30:58.57 server SQL Server is starting
at priority class 'normal'(4 CPUs detected).
2003-11-19 09:30:58.66 server SQL Server configured
for thread mode processing.
2003-11-19 09:30:58.66 server Using dynamic lock
allocation. [2500] Lock Blocks, [5000] Lock Owner Blocks.
2003-11-19 09:30:58.74 server Attempting to initialize
Distributed Transaction Coordinator.
2003-11-19 09:31:00.79 spid3 Starting up
database 'master'.
2003-11-19 09:31:00.93 spid3 0 transactions rolled
back in database 'master' (1).
2003-11-19 09:31:00.93 spid3 Recovery is
checkpointing database 'master' (1)
2003-11-19 09:31:00.94 spid3 Error: 644, Severity:
21, State: 3
2003-11-19 09:31:00.94 spid3 Could not find the index
entry for RID '36100101406d0610730740650720' in index
page (1:257), index ID 0, database 'master'..
2003-11-19 09:31:00.94 spid3 Cannot recover the
master database. Exiting.
>--Original Message--
>Error: 644, Severity: 21, State: 3
>Could not find the index entry for
>RID '36100101406d0610730740650720' in index page
(1:257),
>index ID 0, database 'master'.
>Any help or direction would be greatly appreciated.
>Thanks
>.
>|||Read about rebuilding the master database (rebuildm.exe). That will clear out all system databases,
so after that you need to restore master and msdb in order to get that stuff back.
--
Tibor Karaszi, SQL Server MVP
Archive at: http://groups.google.com/groups?oi=djq&as_ugroup=microsoft.public.sqlserver
"eric" <anonymous@.discussions.microsoft.com> wrote in message
news:021201c3aed1$375103c0$a401280a@.phx.gbl...
> I have not. I can not get the sql server service to start.
>
> This might help:
> 2003-11-19 09:30:58.55 server Microsoft SQL Server
> 2000 - 8.00.760 (Intel X86)
> Dec 17 2002 14:22:05
> Copyright (c) 1988-2003 Microsoft Corporation
> Standard Edition on Windows NT 5.0 (Build 2195:
> Service Pack 4)
> 2003-11-19 09:30:58.55 server Copyright (C) 1988-2002
> Microsoft Corporation.
> 2003-11-19 09:30:58.55 server All rights reserved.
> 2003-11-19 09:30:58.55 server Server Process ID is
> 2416.
> 2003-11-19 09:30:58.55 server Logging SQL Server
> messages in file 'd:\sqlroot\MSSQL\log\ERRORLOG'.
> 2003-11-19 09:30:58.57 server SQL Server is starting
> at priority class 'normal'(4 CPUs detected).
> 2003-11-19 09:30:58.66 server SQL Server configured
> for thread mode processing.
> 2003-11-19 09:30:58.66 server Using dynamic lock
> allocation. [2500] Lock Blocks, [5000] Lock Owner Blocks.
> 2003-11-19 09:30:58.74 server Attempting to initialize
> Distributed Transaction Coordinator.
> 2003-11-19 09:31:00.79 spid3 Starting up
> database 'master'.
> 2003-11-19 09:31:00.93 spid3 0 transactions rolled
> back in database 'master' (1).
> 2003-11-19 09:31:00.93 spid3 Recovery is
> checkpointing database 'master' (1)
> 2003-11-19 09:31:00.94 spid3 Error: 644, Severity:
> 21, State: 3
> 2003-11-19 09:31:00.94 spid3 Could not find the index
> entry for RID '36100101406d0610730740650720' in index
> page (1:257), index ID 0, database 'master'..
> 2003-11-19 09:31:00.94 spid3 Cannot recover the
> master database. Exiting.
> >--Original Message--
> >Error: 644, Severity: 21, State: 3
> >Could not find the index entry for
> >RID '36100101406d0610730740650720' in index page
> (1:257),
> >index ID 0, database 'master'.
> >
> >Any help or direction would be greatly appreciated.
> >
> >Thanks
> >.
> >|||On Wed, 19 Nov 2003 08:21:35 -0800, "eric"
<anonymous@.discussions.microsoft.com> wrote:
>Error: 644, Severity: 21, State: 3
>Could not find the index entry for
>RID '36100101406d0610730740650720' in index page (1:257),
>index ID 0, database 'master'.
hi Eric,
we encountered the same issue on a freshly install of an
active/passive cluster Windows 2000 AS SP4 with SQLServer 2000 SP3.
the issue comes out when we try to move related cluster services from
node A to node B.
apart of fixing the master table, I'd be interested on knowing the
cause of such index curruption.
have you got any ideas?
thank you.
--
Francesco "Matro" Martire
available at www.realpopup.it:
RealPopup, the freeware winpopup replacer
RealAccount, freeware plugin for MS Outlook XP
MaTreo, freeware frontscreen for your Treo and PalmOS devices

Error 169 rebulding Index.

Anyone ever got this error ?

Error 169. Severity 15. A column has been specified more
than once in the order by list. Columns in the order by
list must be unique.

I am trying to rebuild a clustered index on a table and it
generates this error. I copied the table to another server and rebuild the index without any problems, I then made a copy of the table with a different name on the same server and rebuilt the index without any hassles. The error doesn't make sense given the context. I figured it must be a data corruption issue but I cannot find the problem. Any ideas ?

YorkieQ1 Any ideas ?

A1 What results do you get running:

dbcc Checktable (ProblemTableName) WITH ALL_ERRORMSGS

-- in single user Mode

dbcc Checktable (ProblemTableName, REPAIR_ALLOW_DATA_LOSS ) WITH ALL_ERRORMSGS

-- And if that turns up nothing:

dbcc CheckDB (ProblemTableName) WITH ALL_ERRORMSGS

-- in single user Mode
dbcc CheckDB (ProblemTableName, REPAIR_ALLOW_DATA_LOSS ) WITH ALL_ERRORMSGS|||I have tried some of your suggestions, I cannot at this stage run the single user mode queries but so far nothing has turned up.|||RE: So far nothing has turned up.

You might want to try scheduling the rebuild of the clustered index for a time when no-one would be accessing it (or check to see if any locks related to user activity that involves the table may be causing the behavior).|||The current table that my live application is using is fine, it doesn't have the error however in the process of finding the error I renamed the dud table and made a copy that is now the live table. The system is working but I need to try and find the cause of the problem.

We have some maintenance applications that do cleanup on the table to keep the system running smooth and they were the ones that started to crash, somehow I though of rebuilding the index on the table and that is how I found the problem. If I copied the table and created identical indexes on the new table then I had no problems but if I tried to rebuild the indexes on the dud table I got the errors, I still do.

Problem is that you cannot rebuild the indexes on the table without having the error, in future I know what to look for if the same errors start occuring but rebuilding indexes daily can be a costly exercise on busy tables?|||RE: Problem is that you cannot rebuild the indexes on the table without having the error, in future I know what to look for if the same errors start occuring but rebuilding indexes daily can be a costly exercise on busy tables?

True enough, I'd be concerned about the cause, locus, timing and frequency as well. DBCC INDEXDEFRAG is fairly gentle and may be of help. (It might fail on the bad page and provide some additional clues as well. From there maybe use dbcc page to investigate further?)

Does this happen often?|||To my knowledge this was the first time we caught it, we have had strange hassles before but because of the obscurity of the error I hadn't looked there before. The database is a big one, 20GB, well it's big in my experience and we move about 250 000 records through this table everyday, so it can be very busy. I have the feeling that this is the first time this problem has occured because in the past the other issues have resolved themselves but this one could not be fixed by just rebuilding an index.

I will run the index defrag on the dud table and see what turns up. One more thing which is strange is that even when I ran a insert (into another table) and delete on this 'dud' table is came up with the error 169. Go figure?

Is it worth putting sp3 on windows2000 with SQL2000 sp2?|||Also, I forgot to mention, use dbcc showcontig with dbcc indexdefrag (to provide a measure that lets one get to know when defragging is probably going to be useful).

How fragmented is the EvilClusteredIndex if you run showcontig? For example

Use Pubs
Go

DBCC SHOWCONTIG (Authors, UPKCL_auidind) WITH TABLERESULTS, ALL_LEVELS

DBCC SHOWCONTIG WITH TABLERESULTS, ALL_INDEXES, ALL_LEVELS|||To my knowledge this was the first time we caught it, we have had strange hassles before but because of the obscurity of the error I hadn't looked there before. The database is a big one, 20GB, well it's big in my experience and we move about 250 000 records through this table everyday, so it can be very busy. I have the feeling that this is the first time this problem has occured because in the past the other issues have resolved themselves but this one could not be fixed by just rebuilding an index.

I will run the index defrag on the dud table and see what turns up. Good.

One more thing which is strange is that even when I ran a insert (into another table) and delete on this 'dud' table is came up with the error 169. Go figure? An interesting clue.
Is it worth putting sp3 on windows2000 with SQL2000 sp2?
The servers I run are there (some are also running the hotfix) but I don't think that will address your issue.|||Not defragmented at all, It might have been before I originally tried to recreate the index but I will never know now. When I run the query it scans 2054 pages and moves no pages. This is seriously one of those ghost in the machine stories, the one when you start a job as some who does not have a superstitious bone in your body and everyday you think evermore that the SQL box is after you. Superstitious Queerie Language. Still running tests.|||Not defragmented at all, It might have been before I originally tried to recreate the index but I will never know now.

I guess you droped i.e.(Drop EvilIndex or Alter Table drop index) and tried a fresh Create already?|||Had to. It was the last option I had. I still have the table with the evil index and it still produces the error when I try and rebuild the index so I can keep playing with it but fortunately I have another identical table without the error running live. Using DTS I copied the table and using query analyser I scripted the indexes on the old onto the new table, works like a dream, same data, no problem with index. Might be a bad spot on a disk? Wouldn't know where though because the filegroup is spread accross a few drives.|||I still have the table with the evil index and it still produces the error when I try and rebuild the index so I can keep playing with it but fortunately I have another identical table without the error running live.

Clearly corruption of some form, (though apparently undetectable by dbcc etc.), very unusual indeed; if you find out more please let us know.sql

Wednesday, March 21, 2012

Error 14258 SqlServerAgent is Starting

I am running SQL Server 2000. I was trying to implement a Database Maintence Plan to do the reorgznize data and index pages on database 'MYDB' and received the following error:
Error 14258: CAnnot perform this operation while SQLServerAgent is starting. Try again later...
I checked the SQLAGENT.OUT file and it stated:
[393] Waiting for SQL Server to recover databases...
I also checked the ERRORLOG and all databases but didn't see any error message except:
.....
14304 transactions rolled forward in database 'MYDB' (7).
2004-06-29 14:40:12.17 spid11 0 transactions rolled back in database 'MYDB' (7).
2004-06-29 14:40:12.20 spid11 Recovery is checkpointing database 'MYDB' (7)
2004-06-29 14:42:17.98 spid52 Using 'xpstar.dll' version '2000.80.760' to execute extended stored procedure 'sp_MSgetversion'.
The 'MYDB' is one of the main databases and I did bounce the SQL Server prior because of some run aways processes.
How can I fix this problem? Please advise.Hi, Ling
Is your SQL Server running "lightweight pooling" mode and DTC service is started ?
If yes, it is the problem. see KB-Q303287
Johnny|||Thanks, Johnny. I finally reboot the machine and that fixed the problem. Thanks!|||Does anyone know of any way to successfully have DTC running AND have lightweight pooling on, or are the two mutually exclusive?
Also, would there really be that big of a performance difference between thread or fiber mode on a box with 3 processors?
Thanks for any help.
Kristy
--
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.|||You can have erratic problems when using DTC and fiber mode
which is why it's strongly recommended to use thread mode if
you need to have DTC running. See the following:
BUG: DTC Transactions May Fail When SQL Server Is Running in
Lightweight Pooling Mode
http://support.microsoft.com/?id=303287
In terms of the differences, fiber mode is rarely needed and
can cause a lot of problems. It's not necessarily a good
idea to just automatically switch to fiber and assume you
will get better performance. In the rare situations where
you would turn it on, it won't make that much of a
performance difference. See the following for more
information on the setting:
How to determine proper SQL Server configuration settings
http://support.microsoft.com/?id=319942
-Sue
On Mon, 22 Nov 2004 08:21:39 -0800, SqlJunkies User
<User@.-NOSPAM-SqlJunkies.com> wrote:
>Does anyone know of any way to successfully have DTC running AND have lightweight pooling on, or are the two mutually exclusive?
>Also, would there really be that big of a performance difference between thread or fiber mode on a box with 3 processors?
>Thanks for any help.
>Kristy
>--
>Posted using Wimdows.net NntpNews Component -
>Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.

Error 14258 SqlServerAgent is Starting

I am running SQL Server 2000. I was trying to implement a Database Maintenc
e Plan to do the reorgznize data and index pages on database 'MYDB' and rec
eived the following error:
Error 14258: CAnnot perform this operation while SQLServerAgent is starting.
Try again later...
I checked the SQLAGENT.OUT file and it stated:
[393] Waiting for SQL Server to recover databases...
I also checked the ERRORLOG and all databases but didn't see any error messa
ge except:
.....
14304 transactions rolled forward in database 'MYDB' (7).
2004-06-29 14:40:12.17 spid11 0 transactions rolled back in database 'MYD
B' (7).
2004-06-29 14:40:12.20 spid11 Recovery is checkpointing database 'MYDB' (
7)
2004-06-29 14:42:17.98 spid52 Using 'xpstar.dll' version '2000.80.760' to
execute extended stored procedure 'sp_MSgetversion'.
The 'MYDB' is one of the main databases and I did bounce the SQL Server prio
r because of some run aways processes.
How can I fix this problem? Please advise.Hi, Ling
Is your SQL Server running "lightweight pooling" mode and DTC service is st
arted ?
If yes, it is the problem. see KB-Q303287
Johnny|||Thanks, Johnny. I finally reboot the machine and that fixed the problem. T
hanks!|||Does anyone know of any way to successfully have DTC running AND have lightw
eight pooling on, or are the two mutually exclusive?
Also, would there really be that big of a performance difference between thr
ead or fiber mode on a box with 3 processors?
Thanks for any help.
Kristy
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine sup
ports Post Alerts, Ratings, and Searching.|||You can have erratic problems when using DTC and fiber mode
which is why it's strongly recommended to use thread mode if
you need to have DTC running. See the following:
BUG: DTC Transactions May Fail When SQL Server Is Running in
Lightweight Pooling Mode
http://support.microsoft.com/?id=303287
In terms of the differences, fiber mode is rarely needed and
can cause a lot of problems. It's not necessarily a good
idea to just automatically switch to fiber and assume you
will get better performance. In the rare situations where
you would turn it on, it won't make that much of a
performance difference. See the following for more
information on the setting:
How to determine proper SQL Server configuration settings
http://support.microsoft.com/?id=319942
-Sue
On Mon, 22 Nov 2004 08:21:39 -0800, SqlJunkies User
<User@.-NOSPAM-SqlJunkies.com> wrote:

>Does anyone know of any way to successfully have DTC running AND have light
weight pooling on, or are the two mutually exclusive?
>Also, would there really be that big of a performance difference between th
read or fiber mode on a box with 3 processors?
>Thanks for any help.
>Kristy
>--
>Posted using Wimdows.net NntpNews Component -
>Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports P
ost Alerts, Ratings, and Searching.sql

Error 14258 SqlServerAgent is Starting

I am running SQL Server 2000. I was trying to implement a Database Maintence Plan to do the reorgznize data and index pages on database 'MYDB' and received the following error:
Error 14258: CAnnot perform this operation while SQLServerAgent is starting. Try again later...
I checked the SQLAGENT.OUT file and it stated:
[393] Waiting for SQL Server to recover databases...
I also checked the ERRORLOG and all databases but didn't see any error message except:
......
14304 transactions rolled forward in database 'MYDB' (7).
2004-06-29 14:40:12.17 spid11 0 transactions rolled back in database 'MYDB' (7).
2004-06-29 14:40:12.20 spid11 Recovery is checkpointing database 'MYDB' (7)
2004-06-29 14:42:17.98 spid52 Using 'xpstar.dll' version '2000.80.760' to execute extended stored procedure 'sp_MSgetversion'.
The 'MYDB' is one of the main databases and I did bounce the SQL Server prior because of some run aways processes.
How can I fix this problem? Please advise.
Hi, Ling
Is your SQL Server running "lightweight pooling" mode and DTC service is started ?
If yes, it is the problem. see KB-Q303287
Johnny

Error 14258 SqlServerAgent is Starting

I am running SQL Server 2000. I was trying to implement a Database Maintence Plan to do the reorgznize data and index pages on database 'MYDB' and received the following error:
Error 14258: CAnnot perform this operation while SQLServerAgent is starting. Try again later...
I checked the SQLAGENT.OUT file and it stated:
[393] Waiting for SQL Server to recover databases...
I also checked the ERRORLOG and all databases but didn't see any error message except:
......
14304 transactions rolled forward in database 'MYDB' (7).
2004-06-29 14:40:12.17 spid11 0 transactions rolled back in database 'MYDB' (7).
2004-06-29 14:40:12.20 spid11 Recovery is checkpointing database 'MYDB' (7)
2004-06-29 14:42:17.98 spid52 Using 'xpstar.dll' version '2000.80.760' to execute extended stored procedure 'sp_MSgetversion'.
The 'MYDB' is one of the main databases and I did bounce the SQL Server prior because of some run aways processes.
How can I fix this problem? Please advise.
Hi, Ling
Is your SQL Server running "lightweight pooling" mode and DTC service is started ?
If yes, it is the problem. see KB-Q303287
Johnny
|||Thanks, Johnny. I finally reboot the machine and that fixed the problem. Thanks!
|||Does anyone know of any way to successfully have DTC running AND have lightweight pooling on, or are the two mutually exclusive?
Also, would there really be that big of a performance difference between thread or fiber mode on a box with 3 processors?
Thanks for any help.
Kristy
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
|||You can have erratic problems when using DTC and fiber mode
which is why it's strongly recommended to use thread mode if
you need to have DTC running. See the following:
BUG: DTC Transactions May Fail When SQL Server Is Running in
Lightweight Pooling Mode
http://support.microsoft.com/?id=303287
In terms of the differences, fiber mode is rarely needed and
can cause a lot of problems. It's not necessarily a good
idea to just automatically switch to fiber and assume you
will get better performance. In the rare situations where
you would turn it on, it won't make that much of a
performance difference. See the following for more
information on the setting:
How to determine proper SQL Server configuration settings
http://support.microsoft.com/?id=319942
-Sue
On Mon, 22 Nov 2004 08:21:39 -0800, SqlJunkies User
<User@.-NOSPAM-SqlJunkies.com> wrote:

>Does anyone know of any way to successfully have DTC running AND have lightweight pooling on, or are the two mutually exclusive?
>Also, would there really be that big of a performance difference between thread or fiber mode on a box with 3 processors?
>Thanks for any help.
>Kristy
>--
>Posted using Wimdows.net NntpNews Component -
>Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.

Sunday, March 11, 2012

Error 1068 Can't start SQLSERVERAGENT and MSSQLSERVER

I was rebuilding my index and my system admin rebooted the system without
shutting down the database first. After the reboot the SQLSERVERAGENT and
MSSQLSERVER services won't start and I received ERROR 1068:The dependency
service or group failed to start error while trying to start the two services.
In the Enterprise Manger screen I saw:
Connection failed, check SQL Server Registration Properties
I am not sure how to fix this problem. Can I rebuild my SQL Server
registery, and if so, how? Please advise. Thanks in advance.
Hi,
Could you please open the SQL server errorlog in program files\microsoft sql
server\log folder and investigate more on this error.
Thanks
Hari
MCDBA
"Ling" wrote:

> I was rebuilding my index and my system admin rebooted the system without
> shutting down the database first. After the reboot the SQLSERVERAGENT and
> MSSQLSERVER services won't start and I received ERROR 1068:The dependency
> service or group failed to start error while trying to start the two services.
> In the Enterprise Manger screen I saw:
> Connection failed, check SQL Server Registration Properties
> I am not sure how to fix this problem. Can I rebuild my SQL Server
> registery, and if so, how? Please advise. Thanks in advance.
|||There's only one line in the errorlog:
2004-09-22 11:28:07.03 server The system is older than SQL Server 7.0 RTM
version and is not supported by this server
"Hari Prasad" wrote:
[vbcol=seagreen]
> Hi,
> Could you please open the SQL server errorlog in program files\microsoft sql
> server\log folder and investigate more on this error.
> Thanks
> Hari
> MCDBA
>
> "Ling" wrote:
|||What exact messages do you get if you from a DOS prompt type below?
NET START MSSQLSERVER
(Adjust server name of it is a named instance.)
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Ling" <Ling@.discussions.microsoft.com> wrote in message
news:F823DF33-6210-4E2D-AA98-37E2FEFD1659@.microsoft.com...
> I was rebuilding my index and my system admin rebooted the system without
> shutting down the database first. After the reboot the SQLSERVERAGENT and
> MSSQLSERVER services won't start and I received ERROR 1068:The dependency
> service or group failed to start error while trying to start the two services.
> In the Enterprise Manger screen I saw:
> Connection failed, check SQL Server Registration Properties
> I am not sure how to fix this problem. Can I rebuild my SQL Server
> registery, and if so, how? Please advise. Thanks in advance.

Wednesday, March 7, 2012

Error '0x8000ffff' occurred during full-text index population

I have a nightly job scheduled by the SQL Agent scheduler to run full-text
creations nightly, and I have noticed that the following error message
appears during the process of trying to index a number of tables (but not
all).
can someone please provide some advice as to what might be causing this
error to occur - and what I should be looking at to resolve this issue.
Regards
Andy MBCS CITP
Andy,
Do the SQL logs report any more information, or the Windows Event Logs?
Error '0x8000FFFF' (2147549183) often means "Unexpected failure", so
additional information from the logs might help.
RLF
"Andy Knott" <AndyKnott@.discussions.microsoft.com> wrote in message
news:DC3B2B34-7A26-44F0-B75E-E02ADD4CE07C@.microsoft.com...
>I have a nightly job scheduled by the SQL Agent scheduler to run full-text
> creations nightly, and I have noticed that the following error message
> appears during the process of trying to index a number of tables (but not
> all).
> can someone please provide some advice as to what might be causing this
> error to occur - and what I should be looking at to resolve this issue.
>
> --
> Regards
> Andy MBCS CITP
|||Russell
Unfortuanately the event logs tell me to look at the full crawl logs - and
it is the full crawl logs which have this error code contained within them.
If, as you suggest the code is a non specific one, how on earth am I going
to track down what is causing the error to be thrown in the first place!!
Thanks for your response - any other suggestions very welcome
Regards
Andy
Regards
Andy MBCS CITP
"Russell Fields" wrote:

> Andy,
> Do the SQL logs report any more information, or the Windows Event Logs?
> Error '0x8000FFFF' (2147549183) often means "Unexpected failure", so
> additional information from the logs might help.
> RLF
> "Andy Knott" <AndyKnott@.discussions.microsoft.com> wrote in message
> news:DC3B2B34-7A26-44F0-B75E-E02ADD4CE07C@.microsoft.com...
>
>
|||Andy,
I scoured my various crawl logs to see if I ever got the same message, but I
have not. I see that missing iFilters are an 'expected' error and are
reported on properly, etc, etc. through the problems that came to my mind.
Do the files that produce these errors remain the same from day to day? Do
they share any characteristic in common, such as file type, length of file
name, directory nesting, embedded bitmaps, etc? I have not a clue as to
what is wrong, but any information that gives a hint would help.
RLF
"Andy Knott" <AndyKnott@.discussions.microsoft.com> wrote in message
news:94FF8204-9A4F-4841-BF8E-CF7724E1EAAF@.microsoft.com...[vbcol=seagreen]
> Russell
> Unfortuanately the event logs tell me to look at the full crawl logs - and
> it is the full crawl logs which have this error code contained within
> them.
> If, as you suggest the code is a non specific one, how on earth am I going
> to track down what is causing the error to be thrown in the first place!!
> Thanks for your response - any other suggestions very welcome
> Regards
> Andy
> --
> Regards
> Andy MBCS CITP
>
> "Russell Fields" wrote:
|||Please see the following article from Microsoft.
http://support.microsoft.com/default.aspx/kb/243349
"Russell Fields" wrote:

> Andy,
> I scoured my various crawl logs to see if I ever got the same message, but I
> have not. I see that missing iFilters are an 'expected' error and are
> reported on properly, etc, etc. through the problems that came to my mind.
> Do the files that produce these errors remain the same from day to day? Do
> they share any characteristic in common, such as file type, length of file
> name, directory nesting, embedded bitmaps, etc? I have not a clue as to
> what is wrong, but any information that gives a hint would help.
> RLF
> "Andy Knott" <AndyKnott@.discussions.microsoft.com> wrote in message
> news:94FF8204-9A4F-4841-BF8E-CF7724E1EAAF@.microsoft.com...
>
>

Sunday, February 26, 2012

Error : Cannot specify an index or locking hint for a remote data source

We are migrating from sql 7 to sql 2000 and for the time
being leaving the database in sql 7 compatabiliy mode.
Some of the stored procedures reference the tables on a
linked server. The linked server is running sql 2000 and
the database is sql 2000.
When I run the following command
select * from linked_server.database.dbo.tablename (nolock)
I receive the following error
Cannot specify an index or locking hint for a remote data
source.
If I remove the () around nolock the statement runs.
The question(s) I have
1. Did I set something up wrong?
2. Without the () is the nolock still performing the same
function?
3. Assumining I did not error on the configuration, Why do
I receive this error now, and not before?
4. Any ideas to fix the problem without removing the ()?
Thanks in advance for any suggestions/ideas.
John WilliamsWithout the brackets around nolock, the SQL query engine is assigning the
word 'nolock' as an alias to your table in the select statement (i.e.
equivalent to 'as [nolock]').
R
"John Williams" <anonymous@.discussions.microsoft.com> wrote in message
news:27f3501c4636b$941fa990$a301280a@.phx.gbl...
> We are migrating from sql 7 to sql 2000 and for the time
> being leaving the database in sql 7 compatabiliy mode.
> Some of the stored procedures reference the tables on a
> linked server. The linked server is running sql 2000 and
> the database is sql 2000.
> When I run the following command
> select * from linked_server.database.dbo.tablename (nolock)
> I receive the following error
> Cannot specify an index or locking hint for a remote data
> source.
> If I remove the () around nolock the statement runs.
> The question(s) I have
> 1. Did I set something up wrong?
> 2. Without the () is the nolock still performing the same
> function?
> 3. Assumining I did not error on the configuration, Why do
> I receive this error now, and not before?
> 4. Any ideas to fix the problem without removing the ()?
> Thanks in advance for any suggestions/ideas.
> John Williams|||Can you not create a stored procedure on the remote data source that
specifies the hint?
--
http://www.aspfaq.com/
(Reverse address to reply.)
"John Williams" <anonymous@.discussions.microsoft.com> wrote in message
news:27f3501c4636b$941fa990$a301280a@.phx.gbl...
> We are migrating from sql 7 to sql 2000 and for the time
> being leaving the database in sql 7 compatabiliy mode.
> Some of the stored procedures reference the tables on a
> linked server. The linked server is running sql 2000 and
> the database is sql 2000.
> When I run the following command
> select * from linked_server.database.dbo.tablename (nolock)
> I receive the following error
> Cannot specify an index or locking hint for a remote data
> source.
> If I remove the () around nolock the statement runs.
> The question(s) I have
> 1. Did I set something up wrong?
> 2. Without the () is the nolock still performing the same
> function?
> 3. Assumining I did not error on the configuration, Why do
> I receive this error now, and not before?
> 4. Any ideas to fix the problem without removing the ()?
> Thanks in advance for any suggestions/ideas.
> John Williams|||I am not sure if I understand what you are asking? Are you
suggesting that the stored procedure we run on the server
that has the syntax.
Select & from linkerserver.database.dbo.table1 and instead
run a stored procedure on the linked server that
accomplishes the same thing? I can look into this as an
option.
Thanks...
>--Original Message--
>Can you not create a stored procedure on the remote data
source that
>specifies the hint?
>--
>http://www.aspfaq.com/
>(Reverse address to reply.)
>
>
>"John Williams" <anonymous@.discussions.microsoft.com>
wrote in message
>news:27f3501c4636b$941fa990$a301280a@.phx.gbl...
>> We are migrating from sql 7 to sql 2000 and for the time
>> being leaving the database in sql 7 compatabiliy mode.
>> Some of the stored procedures reference the tables on a
>> linked server. The linked server is running sql 2000 and
>> the database is sql 2000.
>> When I run the following command
>> select * from linked_server.database.dbo.tablename
(nolock)
>> I receive the following error
>> Cannot specify an index or locking hint for a remote
data
>> source.
>> If I remove the () around nolock the statement runs.
>> The question(s) I have
>> 1. Did I set something up wrong?
>> 2. Without the () is the nolock still performing the
same
>> function?
>> 3. Assumining I did not error on the configuration, Why
do
>> I receive this error now, and not before?
>> 4. Any ideas to fix the problem without removing the ()?
>> Thanks in advance for any suggestions/ideas.
>> John Williams
>
>.
>|||Thanks,
That an excellent point, so I am going to get unwanted
results by removing the (), I am concerned about locking
though, do you know since I cannot specify the nolock
hint, am I getting the benefit of (nolock) somehow?
>--Original Message--
>Without the brackets around nolock, the SQL query engine
is assigning the
>word 'nolock' as an alias to your table in the select
statement (i.e.
>equivalent to 'as [nolock]').
>R
>"John Williams" <anonymous@.discussions.microsoft.com>
wrote in message
>news:27f3501c4636b$941fa990$a301280a@.phx.gbl...
>> We are migrating from sql 7 to sql 2000 and for the time
>> being leaving the database in sql 7 compatabiliy mode.
>> Some of the stored procedures reference the tables on a
>> linked server. The linked server is running sql 2000 and
>> the database is sql 2000.
>> When I run the following command
>> select * from linked_server.database.dbo.tablename
(nolock)
>> I receive the following error
>> Cannot specify an index or locking hint for a remote
data
>> source.
>> If I remove the () around nolock the statement runs.
>> The question(s) I have
>> 1. Did I set something up wrong?
>> 2. Without the () is the nolock still performing the
same
>> function?
>> 3. Assumining I did not error on the configuration, Why
do
>> I receive this error now, and not before?
>> 4. Any ideas to fix the problem without removing the ()?
>> Thanks in advance for any suggestions/ideas.
>> John Williams
>
>.
>|||Yes, I think you will find that if you create a stored procedure on the
remote server, instead of running an ad hoc query locally, you will have
more freedom over transactions within the proc, locking hints, etc. You
should always be using stored procs as opposed to ad hoc statements
anyway...
--
http://www.aspfaq.com/
(Reverse address to reply.)
<anonymous@.discussions.microsoft.com> wrote in message
news:274bb01c46371$b02b52a0$a501280a@.phx.gbl...
> I am not sure if I understand what you are asking? Are you
> suggesting that the stored procedure we run on the server
> that has the syntax.
> Select & from linkerserver.database.dbo.table1 and instead
> run a stored procedure on the linked server that
> accomplishes the same thing? I can look into this as an
> option.
> Thanks...
>
> >--Original Message--
> >Can you not create a stored procedure on the remote data
> source that
> >specifies the hint?
> >
> >--
> >http://www.aspfaq.com/
> >(Reverse address to reply.)
> >
> >
> >
> >
> >"John Williams" <anonymous@.discussions.microsoft.com>
> wrote in message
> >news:27f3501c4636b$941fa990$a301280a@.phx.gbl...
> >> We are migrating from sql 7 to sql 2000 and for the time
> >> being leaving the database in sql 7 compatabiliy mode.
> >> Some of the stored procedures reference the tables on a
> >> linked server. The linked server is running sql 2000 and
> >> the database is sql 2000.
> >>
> >> When I run the following command
> >> select * from linked_server.database.dbo.tablename
> (nolock)
> >>
> >> I receive the following error
> >> Cannot specify an index or locking hint for a remote
> data
> >> source.
> >>
> >> If I remove the () around nolock the statement runs.
> >>
> >> The question(s) I have
> >>
> >> 1. Did I set something up wrong?
> >> 2. Without the () is the nolock still performing the
> same
> >> function?
> >> 3. Assumining I did not error on the configuration, Why
> do
> >> I receive this error now, and not before?
> >> 4. Any ideas to fix the problem without removing the ()?
> >>
> >> Thanks in advance for any suggestions/ideas.
> >>
> >> John Williams
> >
> >
> >.
> >