Showing posts with label message. Show all posts
Showing posts with label message. Show all posts

Wednesday, March 28, 2012

MS SQl server2000 Restoration

when I restored backup file from system to another system
gave me the message "An internal consistency error
occurred.Contact Technical Support for assistance.Restore
Database is Terminating abnormally"
Abdelzahir abdelmaboud
Sudatel Co.
DBA
abdzahir@.hotmail.comAbdelzahir,
Perhaps the database was corrupt before you backed it up? Can you run
DBCC CHECKDB on the source database, and back it up again? Are you using
SQL Server native backup commands to do this or an external component
such as Litespeed? Very occasionally, external components can corrupt a
backup file.
It sounds like the database was corrupt before you backed it up, and
then it can't restore it.
--
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Abdelzahir Abdelmaboud wrote:
> when I restored backup file from system to another system
> gave me the message "An internal consistency error
> occurred.Contact Technical Support for assistance.Restore
> Database is Terminating abnormally"
> Abdelzahir abdelmaboud
> Sudatel Co.
> DBA
> abdzahir@.hotmail.comsql

MS SQl server2000 Restoration

when I restored backup file from system to another system
gave me the message "An internal consistency error
occurred.Contact Technical Support for assistance.Restore
Database is Terminating abnormally"
Abdelzahir abdelmaboud
Sudatel Co.
DBA
abdzahir@.hotmail.com
Abdelzahir,
Perhaps the database was corrupt before you backed it up? Can you run
DBCC CHECKDB on the source database, and back it up again? Are you using
SQL Server native backup commands to do this or an external component
such as Litespeed? Very occasionally, external components can corrupt a
backup file.
It sounds like the database was corrupt before you backed it up, and
then it can't restore it.
Mark Allison, SQL Server MVP
http://www.markallison.co.uk
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602m.html
Abdelzahir Abdelmaboud wrote:
> when I restored backup file from system to another system
> gave me the message "An internal consistency error
> occurred.Contact Technical Support for assistance.Restore
> Database is Terminating abnormally"
> Abdelzahir abdelmaboud
> Sudatel Co.
> DBA
> abdzahir@.hotmail.com

Friday, March 23, 2012

MS SQL Server 2005 Express Edition installation problem - Help!

During installation, I get a warning message that the hardware doesn't meet minimum requirement. But I'm running it on a laptop with 30 gigs of free space and running Windows XP home edition.

When I click on install anyway, I end up getting an error message that I need a "sqlncli.msi" file that can't be found.

Could it be because I have both 2.0 NET and 3.0 NET installed?

Thanks in advance for your help.

System Configuration Check

- WMI Service Requirement (Success)

Messages

WMI Service Requirement

Check Passed

- MSXML Requirement (Success)

Messages

MSXML Requirement

Check Passed

- Operating System Minimum Level Requirement (Success)

Messages

Operating System Minimum Level Requirement

Check Passed

- Operating System Service Pack Level Requirement. (Success)

Messages

Operating System Service Pack Level Requirement.

Check Passed

- SQL Server Edition Operating System Compatibility (Success)

Messages

SQL Server Edition Operating System Compatibility

Check Passed

- Minimum Hardware Requirement (Warning)

Messages

Minimum Hardware Requirement

The current system does not meet the recommended hardware requirements for this SQL Server release. For detailed hardware and software requirements, see the readme file or SQL Server Books Online.

- Pending Reboot Requirement (Success)

Messages

Pending Reboot Requirement

Check Passed

- Default Installation Path Permission Requirement (Success)

Messages

Default Installation Path Permission Requirement

Check Passed

- Internet Explorer Requirement (Success)

Messages

Internet Explorer Requirement

Check Passed

- COM Plus Catalog Requirement (Success)

Messages

COM Plus Catalog Requirement

Check Passed

- ASP.Net Version Registration Requirement (Success)

Messages

ASP.Net Version Registration Requirement

Check Passed

- Minimum MDAC Version Requirement (Success)

Messages

Minimum MDAC Version Requirement

Check Passed

- Edition Change Check (Success)

Messages

Edition Change Check

Check Passed

What Edition of SQL Server 2005 are you attempting to install?

As you can see from the chart at this reference, only Developers' Edition and SQL Server Express will install on XP Home -and only if XP Home is Service Pack 2 (SP2).

|||

Thanks for your reply.

Express, and my laptop already has SP2.

Anything else I should check for?

If not, where exactly do I find "sqlncli.msi" and how do I run that? Would that solve the issue?

Thanks again.

|||

hi,

ExpressionWeb wrote:

Thanks for your reply.

Express, and my laptop already has SP2.

already checked http://msdn2.microsoft.com/en-us/library/ms143506.aspx ?

Anything else I should check for?

If not, where exactly do I find "sqlncli.msi" and how do I run that? Would that solve the issue?

Thanks again.

http://www.microsoft.com/downloads/details.aspx?FamilyID=50b97994-8453-4998-8226-fa42ec403d17&DisplayLang=en

regards

|||

I tried to download the sqlncli.msi file (second link), but got an error message saying that it can't be read?!?

Not really sure what to look for in the first link. In your opinion, what tends to be the usual culprit? I have a Toshiba Tecra from late 2005 and I'm running IE7.

Thanks. I've been up all night on this and am fried. I'll catch some shut eye and be back. Any additional insights/best guesses/advices would be greatly appreciated.

Thanks

|||

Please 'walk' through this checklist to gather information that may better assist us in helping you.

Configuration - Guideline for Connectivity Question Posting
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=362498&SiteID=1

MS SQL Server 2005 - "Copy Database" from v8 to v9

Hi dear devs, admins or users!

Two weeks ago I had a problem with transfering databases from v8 to v9, I placed the question here (original message attached), but I received not the answer which I need. I try to transfer databases with the CDW ("Copy Database Wizard"), which should run through 5 action steps. The process stops after the 'action 2', the step "Create Package" failed allways. The error message which I receive is "Library not registered". I was very surprised, because two weeks ago the process stoped after the action 4 (4/5) while the step "Execute SQL Server Agent Job". I changed nothing on my system or databases. The only thing I can remember is the "Microsoft Update" downloaded and installed a new patch, but it wasn't a SQL Server 2005 update or something with databases.

I have now two questions. What means the error "Library not registered" while the CDW process and what could be the reason for the error in 'action 5' "Execute SQL Server Agent Job" while the CDW process? **(CDW = "Copy Database Wizard")

[original message from 2006-10-17]

I have following problem with the "SQL Server 2005 Developer Edition". I am in a small network and try to copy a database from a version 8.0 to a version 9.0 "SQL Server" (2 computers). I use the "Copy Database Wizard" and the process did 4 from 5 actions correctly, the last action with the name "Execute SQL Server Agent Job" fails allways. My "SQL Server Agent" process is started and runs well. In real I don't need the "SQL Server Agent" in any way in my database, so I don't understand why this process generates this error. I try to copy this old "Portal" "ASP.NET 1.1" database to my new "SQL Server 2005". Can someone help me?

Thanks

Arzu Bazman · ?US DEV United Systems?

Here is the thread we know SQL Server so we gave you two ways that works, Copy database wizard is one of those wizards it is there but most experienced people don't use it. I think it is failing because it cannot convert TDS(tabular data stream) 80 to 90 2000 to 2005, the problem is you don't need TDS to move a database. Detach and Attach and Backup and Restore wizard don't have the problem.

http://forums.asp.net/thread/1436904.aspx

|||

Hi!

Thank you very much for the answer(s). I remember very well that you answered my first answer yet, but I am someone who wants know things very exactly and when something doesn't work, I want allways know the reason. I thought my SQL Server 2005 is not configured well or something is missing, and thats why I asked a second time about the "Copy Database Wizard". Now that you told me that some problems exist with the CDW, I will try the Backup solution for the transfer from v8 to v9 of course. I am sorry, that I didn't that immediately after your first answer (2 weeks ago), but like I said I thought I configured something wrong and wanted know it very exactly.

Thanks

Arzu Bazman · ?US DEV United Systems?

Monday, March 12, 2012

MS SQL Linked Server Issue

This is a multi-part message in MIME format.
--=_NextPart_000_0034_01C86DA3.377E73B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi All,
I am have created a linked server in MS SQL 2000 to Sage Line 50v12 = using the ODBC drivers in sage.I am able to view all the tables once I = clicked on the link server link in the SQL enterprise manager. However = when I run the below query I get only one records instead of 28.
SELECT * FROM OPENQUERY(SageL50, 'SELECT * from Sales_Ledger')
I am running SQL 2000 server with SP4
From the SQL online documentation I got to know that OPENQUERY returns = only a single record. Is there any other function/command that will = enable me to get all the records from a table from a linked server?
Can you let me know I am missing here?
Thanks and Regards,
Saurabh
--=_NextPart_000_0034_01C86DA3.377E73B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&
Hi All,

I am have created a linked server in = MS SQL 2000 to = Sage Line 50v12 using the ODBC drivers in sage.I am = able to view all the tables once I clicked on the link server link in the SQL = enterprise manager. However when I run the below query I get only one records = instead of 28.

SELECT * FROM OPENQUERY(SageL50, = 'SELECT * from Sales_Ledger')

I am running SQL 2000 server with SP4

From the SQL online documentation I = got to know that OPENQUERY returns only a single record. Is there any other = function/command that will enable me to get all the records from a table from a linked server?

Can you let me know I am = missing here?

Thanks and Regards,
Saurabh
--=_NextPart_000_0034_01C86DA3.377E73B0--This is a multi-part message in MIME format.
--=_NextPart_000_000F_01C86EEC.F996B580
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
Any updates on the below query.
Thanks and Regards,
Saurabh
"news" <news@.microsoft.com> wrote in message =news:%23b2csSXbIHA.484@.TK2MSFTNGP06.phx.gbl...
Hi All,
I am have created a linked server in MS SQL 2000 to Sage Line 50v12 =using the ODBC drivers in sage.I am able to view all the tables once I =clicked on the link server link in the SQL enterprise manager. However =when I run the below query I get only one records instead of 28.
SELECT * FROM OPENQUERY(SageL50, 'SELECT * from Sales_Ledger')
I am running SQL 2000 server with SP4
From the SQL online documentation I got to know that OPENQUERY returns =only a single record. Is there any other function/command that will =enable me to get all the records from a table from a linked server?
Can you let me know I am missing here?
Thanks and Regards,
Saurabh
--=_NextPart_000_000F_01C86EEC.F996B580
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
&

Hi,
Any updates on the below =query.
Thanks and Regards,
Saurabh
"news" wrote in message news:%23b2csSXbIHA.4=84@.TK2MSFTNGP06.phx.gbl...
Hi All,

I am have created a linked server =in MS SQL 2000 =to Sage Line 50v12 using the ODBC drivers in =sage.I am able to view all the tables once I clicked on the link server link in =the SQL enterprise manager. However when I run the below query I get only one =records instead of 28.

SELECT * FROM OPENQUERY(SageL50, ='SELECT * from Sales_Ledger')

I am running SQL 2000 server with SP4

From the SQL online documentation I =got to know that OPENQUERY returns only a single record. Is there any other function/command that will enable me to get all the records from a =table from a linked server?

Can you let me know I am =missing here?

Thanks and Regards,
Saurabh

--=_NextPart_000_000F_01C86EEC.F996B580--|||Did you try:
SELECT * FROM SageL50.<database>.<owner/schema>.Sales_Ledger
Replace <database> with the database that contains the table you want,
and the <owner/schema> with the owner of the table - generally dbo.
Example:
SELECT * FROM SageL50.db1.dbo.SalesLedger;
Jeff
news wrote:
> Hi,
> Any updates on the below query.
> Thanks and Regards,
> Saurabh
>
> "news" <news@.microsoft.com <mailto:news@.microsoft.com>> wrote in
> message news:%23b2csSXbIHA.484@.TK2MSFTNGP06.phx.gbl...
> Hi All,
> I am have created a linked server in MS SQL 2000 to Sage Line
> 50v12 using the ODBC drivers in sage.I am able to view all the
> tables once I clicked on the link server link in the SQL
> enterprise manager. However when I run the below query I get only
> one records instead of 28.
> SELECT * FROM OPENQUERY(SageL50, 'SELECT * from Sales_Ledger')
> I am running SQL 2000 server with SP4
> From the SQL online documentation I got to know that OPENQUERY
> returns only a single record. Is there any other function/command
> that will enable me to get all the records from a table from a
> linked server?
> Can you let me know I am missing here?
> Thanks and Regards,
> Saurabh
>

Friday, March 9, 2012

MS SQL connection could not be established


John Almeda
System Adm

It seems that I have done something really stupid or something went
boonkers. I was restoring a DB whn I got a message that the log file
could not be restored because it was XXXXXX??. This left my DB greyed
out and with a (loading) sign. I tried to detach and then re-attech the
DB and all hell broke loose. Now I cannot connect to any of my DB's. The
message I get is "a connection could not be established on sqlsrvr .
Cannot open users default db. Login failed."

I cannot see any of db under that regitration and the connection
continues to fail. I am drawing a total blank as to why and how to
correct with the exception of unistalling MSSQL and re-installing the
server and then trying to establish a connection with my db's again.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!You can connect and change your default database to master using osql:

osql -S MyServer -E -d master -Q"exec sp_defaultdb 'MyLogin', 'master'"

That should allow you to connect to the server as usual, and then you
can try restoring your database again - if you still have problems at
that point, it would be useful to see the exact error message.

Simon

MS SQL Analysis Services - Database Role Manager

Good day,
I try to update the OLAP database role at MS SQL Analysia Services and it is
prompt the following error message:
---
some of the cubes could not be updated.
Errors:
Unable to update role in cube INVENTORY.
Cannot update. Database or object is read-only.
---
Please find my servers information:
MS SQL Server 2000
- Service Pack 3
MS Windows 2003 Server
- Version 5.2 (Build 3790.srv03_rtm.030324-2048)
And also found that I could not remove "read-only" attribute at MS Windows
2003 Server.
Please help.Happy day,
Please inform that I found the solution which MS Windows Server 2003 is
require set the permission rights.
Thanks.
"Sam" <cybersam88@.hotmail.com> wrote in message
news:Ozrv$LHaEHA.3112@.TK2MSFTNGP09.phx.gbl...
> Good day,
> I try to update the OLAP database role at MS SQL Analysia Services and it
is
> prompt the following error message:
> ---
> some of the cubes could not be updated.
> Errors:
> Unable to update role in cube INVENTORY.
> Cannot update. Database or object is read-only.
> ---
> Please find my servers information:
> MS SQL Server 2000
> - Service Pack 3
> MS Windows 2003 Server
> - Version 5.2 (Build 3790.srv03_rtm.030324-2048)
> And also found that I could not remove "read-only" attribute at MS Windows
> 2003 Server.
> Please help.
>

Saturday, February 25, 2012

ms sql 2005 delete record problem

I'm facing problem when delete a record in the ms sql 2005 .

The error message i got is stated below:

No rows were deleted

A problem occured attempting to delete row 1304.

Error: .Net Sql Clint Data Provider

Error Message: Possible index corruption detected. Run DBCC CHECKDB.

Correct the errors and atempt to delete the row again or press ESC to cancel the changes.

just certain record i can not delete and face this problem.

i detach the database and attached in the ms sql 2000, and select the same record to delete. there is no problem at all.

i wander is it ms sql 2005 bugs? can anyone tell me how to fix it .. how to to use the DBCC CHECKDB ?

thanks alot....

P/s : if i posted at the wrong section just let me know, I'm beginner in this forum here ...

thanks...

Just like the error message tells you:

Use a SqlCommand to execute "DBCC CHECKDB" or use SQL Management Studio, create a new empty query and execute DBCC CHECKDB

--
SvenC

|||

so i just type DBCC CHECKDB in SQL Management Studio..... amd i got this result

what it means ? i still can not delete the record in the table. can some one tell me how to solve it ? index corruption error....

DBCC results for 'CPMLife'.

Service Broker Msg 9675, State 1: Message Types analyzed: 14.

Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.

Service Broker Msg 9667, State 1: Services analyzed: 3.

Service Broker Msg 9668, State 1: Service Queues analyzed: 3.

Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0.

Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0.

Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.

DBCC results for 'sys.sysrowsetcolumns'.

There are 2294 rows in 15 pages for object "sys.sysrowsetcolumns".

DBCC results for 'sys.sysrowsets'.

There are 199 rows in 2 pages for object "sys.sysrowsets".

DBCC results for 'sysallocunits'.

There are 217 rows in 3 pages for object "sysallocunits".

DBCC results for 'sys.sysfiles1'.

There are 2 rows in 1 pages for object "sys.sysfiles1".

DBCC results for 'sys.syshobtcolumns'.

There are 2294 rows in 17 pages for object "sys.syshobtcolumns".

DBCC results for 'sys.syshobts'.

There are 199 rows in 2 pages for object "sys.syshobts".

DBCC results for 'sys.sysftinds'.

There are 0 rows in 0 pages for object "sys.sysftinds".

DBCC results for 'sys.sysserefs'.

There are 217 rows in 1 pages for object "sys.sysserefs".

DBCC results for 'sys.sysowners'.

There are 14 rows in 1 pages for object "sys.sysowners".

DBCC results for 'sys.sysprivs'.

There are 156 rows in 1 pages for object "sys.sysprivs".

DBCC results for 'sys.sysschobjs'.

There are 436 rows in 6 pages for object "sys.sysschobjs".

DBCC results for 'sys.syscolpars'.

There are 3114 rows in 33 pages for object "sys.syscolpars".

DBCC results for 'sys.sysnsobjs'.

There are 1 rows in 1 pages for object "sys.sysnsobjs".

DBCC results for 'sys.syscerts'.

There are 0 rows in 0 pages for object "sys.syscerts".

DBCC results for 'sys.sysxprops'.

There are 39 rows in 20 pages for object "sys.sysxprops".

DBCC results for 'sys.sysscalartypes'.

There are 27 rows in 1 pages for object "sys.sysscalartypes".

DBCC results for 'sys.systypedsubobjs'.

There are 0 rows in 0 pages for object "sys.systypedsubobjs".

DBCC results for 'sys.sysidxstats'.

There are 1143 rows in 14 pages for object "sys.sysidxstats".

DBCC results for 'sys.sysiscols'.

There are 2391 rows in 10 pages for object "sys.sysiscols".

DBCC results for 'sys.sysbinobjs'.

There are 23 rows in 1 pages for object "sys.sysbinobjs".

DBCC results for 'sys.sysobjvalues'.

There are 1288 rows in 280 pages for object "sys.sysobjvalues".

DBCC results for 'sys.sysclsobjs'.

There are 14 rows in 1 pages for object "sys.sysclsobjs".

DBCC results for 'sys.sysrowsetrefs'.

There are 0 rows in 0 pages for object "sys.sysrowsetrefs".

DBCC results for 'sys.sysremsvcbinds'.

There are 0 rows in 0 pages for object "sys.sysremsvcbinds".

DBCC results for 'sys.sysxmitqueue'.

There are 0 rows in 0 pages for object "sys.sysxmitqueue".

DBCC results for 'sys.sysrts'.

There are 1 rows in 1 pages for object "sys.sysrts".

DBCC results for 'sys.sysconvgroup'.

There are 0 rows in 0 pages for object "sys.sysconvgroup".

DBCC results for 'sys.sysdesend'.

There are 0 rows in 0 pages for object "sys.sysdesend".

DBCC results for 'sys.sysdercv'.

There are 0 rows in 0 pages for object "sys.sysdercv".

DBCC results for 'sys.syssingleobjrefs'.

There are 133 rows in 1 pages for object "sys.syssingleobjrefs".

DBCC results for 'sys.sysmultiobjrefs'.

There are 1331 rows in 9 pages for object "sys.sysmultiobjrefs".

DBCC results for 'sys.sysdbfiles'.

There are 2 rows in 1 pages for object "sys.sysdbfiles".

DBCC results for 'sys.sysguidrefs'.

There are 0 rows in 0 pages for object "sys.sysguidrefs".

DBCC results for 'sys.sysqnames'.

There are 92 rows in 1 pages for object "sys.sysqnames".

DBCC results for 'sys.sysxmlcomponent'.

There are 93 rows in 1 pages for object "sys.sysxmlcomponent".

DBCC results for 'sys.sysxmlfacet'.

There are 97 rows in 1 pages for object "sys.sysxmlfacet".

DBCC results for 'sys.sysxmlplacement'.

There are 17 rows in 1 pages for object "sys.sysxmlplacement".

DBCC results for 'sys.sysobjkeycrypts'.

There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".

DBCC results for 'sys.sysasymkeys'.

There are 0 rows in 0 pages for object "sys.sysasymkeys".

DBCC results for 'sys.syssqlguides'.

There are 0 rows in 0 pages for object "sys.syssqlguides".

DBCC results for 'sys.sysbinsubobjs'.

There are 0 rows in 0 pages for object "sys.sysbinsubobjs".

DBCC results for 'IvItemStatus'.

There are 7 rows in 1 pages for object "IvItemStatus".

DBCC results for 'PrShfPlan'.

There are 127 rows in 1 pages for object "PrShfPlan".

DBCC results for 'IvLabor'.

There are 1 rows in 1 pages for object "IvLabor".

DBCC results for 'PrShfPlanDtl'.

There are 181 rows in 1 pages for object "PrShfPlanDtl".

DBCC results for 'PlMRNDtl'.

There are 306 rows in 3 pages for object "PlMRNDtl".

DBCC results for 'PlMRN'.

There are 60 rows in 5 pages for object "PlMRN".

DBCC results for 'sys.queue_messages_121767491'.

There are 0 rows in 0 pages for object "sys.queue_messages_121767491".

DBCC results for 'IvClass'.

There are 18 rows in 1 pages for object "IvClass".

DBCC results for 'IvMthEnd'.

There are 46731 rows in 1252 pages for object "IvMthEnd".

DBCC results for 'sys.queue_messages_153767605'.

There are 0 rows in 0 pages for object "sys.queue_messages_153767605".

DBCC results for 'IvTrxType'.

There are 0 rows in 0 pages for object "IvTrxType".

DBCC results for 'sys.queue_messages_185767719'.

There are 0 rows in 0 pages for object "sys.queue_messages_185767719".

DBCC results for 'IvMachine'.

There are 10 rows in 1 pages for object "IvMachine".

DBCC results for 'PlSchProcessHis'.

There are 0 rows in 0 pages for object "PlSchProcessHis".

DBCC results for 'PlMRP'.

There are 5890 rows in 353 pages for object "PlMRP".

DBCC results for 'PrShift'.

There are 9 rows in 1 pages for object "PrShift".

DBCC results for 'PlMRPMsg'.

There are 58 rows in 8 pages for object "PlMRPMsg".

DBCC results for 'IvICust'.

There are 763 rows in 20 pages for object "IvICust".

DBCC results for 'ExportLog'.

There are 21010 rows in 577 pages for object "ExportLog".

DBCC results for 'PlSchProcess'.

There are 3041 rows in 73 pages for object "PlSchProcess".

DBCC results for 'PlSchDetailHis'.

There are 0 rows in 0 pages for object "PlSchDetailHis".

DBCC results for 'PlSchHis'.

There are 0 rows in 0 pages for object "PlSchHis".

DBCC results for 'PlCRP'.

There are 4877 rows in 132 pages for object "PlCRP".

DBCC results for 'IvTrxBatchPSize'.

There are 1300 rows in 117 pages for object "IvTrxBatchPSize".

DBCC results for 'PlSchDetail'.

There are 9644 rows in 233 pages for object "PlSchDetail".

DBCC results for 'IvIBalPSize'.

There are 2021 rows in 68 pages for object "IvIBalPSize".

DBCC results for 'PlMRPDtl'.

There are 12848 rows in 374 pages for object "PlMRPDtl".

DBCC results for 'SaInvoiceDtl'.

There are 1482 rows in 45 pages for object "SaInvoiceDtl".

DBCC results for 'PrDate'.

There are 0 rows in 0 pages for object "PrDate".

DBCC results for 'IvTrxHisPSize'.

There are 143966 rows in 3351 pages for object "IvTrxHisPSize".

DBCC results for 'PrDefAttachment'.

There are 0 rows in 0 pages for object "PrDefAttachment".

DBCC results for 'PrDefDtl'.

There are 7986 rows in 297 pages for object "PrDefDtl".

DBCC results for 'PlFloor'.

There are 1201 rows in 32 pages for object "PlFloor".

DBCC results for 'IvSubClass'.

There are 81 rows in 3 pages for object "IvSubClass".

DBCC results for 'PrDailyPrdDefect'.

There are 4 rows in 1 pages for object "PrDailyPrdDefect".

DBCC results for 'PODetail'.

There are 8261 rows in 237 pages for object "PODetail".

DBCC results for 'PrDefType'.

There are 1 rows in 1 pages for object "PrDefType".

DBCC results for 'IvMachineDtl'.

There are 10 rows in 1 pages for object "IvMachineDtl".

DBCC results for 'PrPreventive'.

There are 0 rows in 1 pages for object "PrPreventive".

DBCC results for 'PrSemiFGRecover'.

There are 0 rows in 0 pages for object "PrSemiFGRecover".

DBCC results for 'PrShfCal'.

There are 675 rows in 8 pages for object "PrShfCal".

DBCC results for 'ROPathList'.

There are 1 rows in 1 pages for object "ROPathList".

DBCC results for 'PlForecast'.

There are 282 rows in 17 pages for object "PlForecast".

DBCC results for 'POOrder'.

There are 2789 rows in 112 pages for object "POOrder".

DBCC results for 'PrShiftGrp'.

There are 28 rows in 1 pages for object "PrShiftGrp".

DBCC results for 'PrWrkCtr'.

There are 8 rows in 1 pages for object "PrWrkCtr".

DBCC results for 'PrDailyPrd'.

There are 19 rows in 1 pages for object "PrDailyPrd".

DBCC results for 'ROImportLog'.

There are 0 rows in 0 pages for object "ROImportLog".

DBCC results for 'ExportInvToOSK'.

There are 35 rows in 1 pages for object "ExportInvToOSK".

DBCC results for 'ROTemp'.

There are 3067 rows in 104 pages for object "ROTemp".

DBCC results for 'IvCyCnt'.

There are 25083 rows in 880 pages for object "IvCyCnt".

DBCC results for 'CoActFreightOutwards'.

There are 1 rows in 1 pages for object "CoActFreightOutwards".

DBCC results for 'CoIvMthEndWIP'.

There are 1 rows in 1 pages for object "CoIvMthEndWIP".

DBCC results for 'SmBuyer'.

There are 3 rows in 1 pages for object "SmBuyer".

DBCC results for 'CoLaborCostAct'.

There are 2 rows in 1 pages for object "CoLaborCostAct".

DBCC results for 'SmCalendar'.

There are 913 rows in 7 pages for object "SmCalendar".

DBCC results for 'PlSch'.

There are 805 rows in 31 pages for object "PlSch".

DBCC results for 'CYReconIvTrxHis'.

There are 1685 rows in 55 pages for object "CYReconIvTrxHis".

DBCC results for 'CoOverhead'.

There are 7 rows in 1 pages for object "CoOverhead".

DBCC results for 'SmCompany'.

There are 1 rows in 1 pages for object "SmCompany".

DBCC results for 'IMSVariance'.

There are 1388 rows in 19 pages for object "IMSVariance".

DBCC results for 'CoOverheadAct'.

There are 12 rows in 1 pages for object "CoOverheadAct".

DBCC results for 'SmCountry'.

There are 18 rows in 1 pages for object "SmCountry".

DBCC results for 'SmCur'.

There are 8 rows in 1 pages for object "SmCur".

DBCC results for 'IvIVendor'.

There are 613 rows in 21 pages for object "IvIVendor".

DBCC results for 'CoPrDefDtlCSim'.

There are 70 rows in 2 pages for object "CoPrDefDtlCSim".

DBCC results for 'SmDept'.

There are 12 rows in 1 pages for object "SmDept".

DBCC results for 'CPMDelSch'.

There are 154 rows in 8 pages for object "CPMDelSch".

DBCC results for 'SmRegister'.

There are 69521 rows in 1040 pages for object "SmRegister".

DBCC results for 'SaCDNDtl'.

There are 0 rows in 0 pages for object "SaCDNDtl".

DBCC results for 'CoPrDefProcessCSim'.

There are 17 rows in 1 pages for object "CoPrDefProcessCSim".

DBCC results for 'SmGroup'.

There are 6 rows in 1 pages for object "SmGroup".

DBCC results for 'SaCDNHdr'.

There are 0 rows in 0 pages for object "SaCDNHdr".

DBCC results for 'CoStdFreightOutwards'.

There are 3 rows in 1 pages for object "CoStdFreightOutwards".

DBCC results for 'IvMthEndStdCost'.

There are 1455 rows in 10 pages for object "IvMthEndStdCost".

DBCC results for 'SaInvoiceHdr'.

There are 849 rows in 66 pages for object "SaInvoiceHdr".

DBCC results for 'SmNumCuz'.

There are 64 rows in 6 pages for object "SmNumCuz".

DBCC results for 'SaPayTerms'.

There are 0 rows in 0 pages for object "SaPayTerms".

DBCC results for 'SaTraderTax'.

There are 21 rows in 3 pages for object "SaTraderTax".

DBCC results for 'SmPeriod'.

There are 48 rows in 1 pages for object "SmPeriod".

DBCC results for 'SmCurrExRate'.

There are 15 rows in 3 pages for object "SmCurrExRate".

DBCC results for 'PrDefMas'.

There are 561 rows in 19 pages for object "PrDefMas".

DBCC results for 'SmReason'.

There are 55 rows in 1 pages for object "SmReason".

DBCC results for 'SmCurrRate'.

There are 23 rows in 2 pages for object "SmCurrRate".

DBCC results for 'SmSaRep'.

There are 0 rows in 0 pages for object "SmSaRep".

DBCC results for 'SmTraderContact'.

There are 351 rows in 8 pages for object "SmTraderContact".

DBCC results for 'SmTaxCat'.

There are 1 rows in 1 pages for object "SmTaxCat".

DBCC results for 'SmUOM'.

There are 18 rows in 1 pages for object "SmUOM".

DBCC results for 'SmTaxGrp'.

There are 1 rows in 1 pages for object "SmTaxGrp".

DBCC results for 'SmUOMConv'.

There are 1 rows in 1 pages for object "SmUOMConv".

DBCC results for 'SmTraderSub'.

There are 83 rows in 1 pages for object "SmTraderSub".

DBCC results for 'SmUser'.

There are 19 rows in 2 pages for object "SmUser".

DBCC results for 'IvItemTax'.

There are 0 rows in 0 pages for object "IvItemTax".

DBCC results for 'SmWHouse'.

There are 15 rows in 1 pages for object "SmWHouse".

DBCC results for 'POPR'.

There are 0 rows in 0 pages for object "POPR".

DBCC results for 'POPRDtl'.

There are 0 rows in 0 pages for object "POPRDtl".

DBCC results for 'POQuote'.

There are 4 rows in 1 pages for object "POQuote".

DBCC results for 'POQuoteDtl'.

There are 10 rows in 1 pages for object "POQuoteDtl".

DBCC results for 'SmMthBudget'.

There are 9 rows in 2 pages for object "SmMthBudget".

DBCC results for 'SaOrder'.

There are 2484 rows in 85 pages for object "SaOrder".

DBCC results for 'SaOrderDtl'.

There are 5086 rows in 139 pages for object "SaOrderDtl".

DBCC results for 'dtproperties'.

There are 0 rows in 0 pages for object "dtproperties".

DBCC results for 'SmDocNo'.

There are 128 rows in 2 pages for object "SmDocNo".

DBCC results for 'SmTrader'.

There are 309 rows in 30 pages for object "SmTrader".

DBCC results for 'CYReconIMS'.

There are 1084 rows in 28 pages for object "CYReconIMS".

DBCC results for 'SmPara'.

There are 1 rows in 1 pages for object "SmPara".

DBCC results for 'SmMenu'.

There are 231 rows in 3 pages for object "SmMenu".

DBCC results for 'SmGrouprights'.

There are 790 rows in 6 pages for object "SmGrouprights".

DBCC results for 'IvTrxBatchHdr'.

There are 273 rows in 6 pages for object "IvTrxBatchHdr".

DBCC results for 'CoPrDefMasCSim'.

There are 5 rows in 1 pages for object "CoPrDefMasCSim".

DBCC results for 'IvTrxBatch'.

There are 1550 rows in 99 pages for object "IvTrxBatch".

DBCC results for 'IvTrxHis'.

There are 175814 rows in 6613 pages for object "IvTrxHis".

DBCC results for 'CoOverheadCSim'.

There are 35 rows in 1 pages for object "CoOverheadCSim".

DBCC results for 'PrDailyPrdMachine'.

There are 13 rows in 1 pages for object "PrDailyPrdMachine".

DBCC results for 'PrProcess'.

There are 8 rows in 1 pages for object "PrProcess".

DBCC results for 'PrDefProcess'.

There are 2040 rows in 58 pages for object "PrDefProcess".

DBCC results for 'CoSalesInvoice'.

There are 0 rows in 0 pages for object "CoSalesInvoice".

DBCC results for 'SmNum'.

There are 19 rows in 2 pages for object "SmNum".

DBCC results for 'IvIMas'.

There are 1455 rows in 130 pages for object "IvIMas".

DBCC results for 'IvCyCntPSize'.

There are 26708 rows in 640 pages for object "IvCyCntPSize".

DBCC results for 'IvIBal'.

There are 2390 rows in 68 pages for object "IvIBal".

DBCC results for 'IvILoc'.

There are 1647 rows in 85 pages for object "IvILoc".

DBCC results for 'IvILocMas'.

There are 1097 rows in 18 pages for object "IvILocMas".

DBCC results for 'IvISubstitute'.

There are 0 rows in 0 pages for object "IvISubstitute".

CHECKDB found 0 allocation errors and 0 consistency errors in database 'CPMLife'.

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

|||

i found some solution from other thread.

first i set the database in single user mode.

ALTER DATABASE CPMLife SET SINGLE_USER WITH ROLLBACK IMMEDIATE

then i run the code below to fix the database.

DBCC CHECKDB
(
CPMLife ,
REPAIR_ALLOW_DATA_LOSS
)

but i still get the same error message which is not allow me to delete the record in the table.


|||

Try rebuilding the indexes on the table.

DBCC DBReIndex ('TableName')

|||

hi,

i have run the code you ask me to try which is

DBCC DBReIndex ('IvMthEnd')

Msg 9100, Level 23, State 2, Line 1

Possible index corruption detected. Run DBCC CHECKDB.

then i go to ru nthe DBCC CHECKDB again. and the result is no error

CHECKDB found 0 allocation errors and 0 consistency errors in database 'CPMLife'.

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

I still can not delete the record and get the same error ... anything else i can do ?

|||You have 2 options:
1. restore from backup.
2. find the offending index(es) and delete/recreate - sp_helpindex should give you a list.|||

i do not have backup version of the database..

so i would like to go to option 2, but how to find the offending index(es) record ? to delete or recreate ?

and guide me more to solve it ?

thanks

|||execute 'sp_helpindex table_name' to get the list of the indexes. Make note of the result before you drop the indexes. To drop the index, execute "drop index".

http://msdn2.microsoft.com/en-us/library/ms188771.aspx
http://msdn2.microsoft.com/en-us/library/ms188783.aspx
http://msdn2.microsoft.com/en-us/library/ms176118.aspx

You can post the result here if you need further help.

Actually, before you start anything, backup your database.

BACKUP DATABASE [your db name]
TO DISK='c:\mydb.bak'

http://msdn2.microsoft.com/en-us/library/ms186865.aspx|||

i run

sp_helpindex N'IvMthEnd'

then i got the result as below

index name PK_IvMthEnd

index_description nonclustered located on PRIMARY

index_keys M_Period, M_Year, I_Cd, WHouse_Cd

then i drop the index with the code below

GO

DROP INDEX PK_IvMthEnd

ON IvMthEnd;

GO

Command(s) completed successfully.

then i create the index again with the code below

GO

IF EXISTS (SELECT name FROM sys.indexes

WHERE name = N'PK_IvMthEnd')

DROP INDEX PK_IvMthEnd ON IvMthEnd;

GO

CREATE INDEX PK_IvMthEnd

ON IvMthEnd (M_Period, M_Year, I_Cd, WHouse_Cd);

GO

Command(s) completed successfully.

i still face the same problem, can not delete the record and get the same result possible index corrupted

i run the DBCC CHECKDB , no error message show.

|||Ah. You will want to drop the statistics as well.

exec sp_helpstats 'IvMthEnd'
go
drop statistics IvMthEnd.<statname>
go

|||

erm..

After i run exec sp_helpstats 'IvMthEnd'

go

i get the result like below

Statistics Name

_WA_Sys_Adj_Qty_0880433F

_WA_Sys_Avg_Iv_Cost_0880433F

_WA_Sys_Close_Bal_0880433F

_WA_Sys_I_Cd_0880433F

_WA_Sys_Issue_Qty_0880433F

_WA_Sys_Last_Update_0880433F

_WA_Sys_M_Year_0880433F

_WA_Sys_Open_Bal_0880433F

_WA_Sys_Receipt_Qty_0880433F

_WA_Sys_UOM_0880433F

_WA_Sys_User_ID_0880433F

_WA_Sys_WHouse_Cd_0880433F

then i go for

DROP INDEX PK_IvMthEnd

ON IvMthEnd;

GO

then i create the index again

IF EXISTS (SELECT name FROM sys.indexes

WHERE name = N'PK_IvMthEnd')

DROP INDEX PK_IvMthEnd ON IvMthEnd;

GO

CREATE INDEX PK_IvMthEnd

ON IvMthEnd (M_Period, M_Year, I_Cd, WHouse_Cd);

GO

But i still facing the same problem.... i still can not delete the record in the SQL server management studio.

P/S : i would like to ask something about the command

sp_helpindex N'IvMthEnd'

What's the different between

clustered, unique, primary key located on PRIMARY and nonclustered located on PRIMARY

|||You need to run the "drop statistic lvMthEnd._WA_Sys_Adj_Qty_0880433F" etc.

Dropping the index is not the same as dropping the stats.

clustered, unique, primary key on PRIMARY means you've created a clustered index on the key which resides on the primary filegroup. You can lookup for "clustered" and "nonclustered" in book online for more info.

|||

i have done drop the statistic and drop the index also ...

but still the same ...

so if i want to create back the clustered, unique, primary key , how to do it.

thanks.. ..

|||To create the clustered primary key, you can do something like this.

alter table <tb_name>
add constraint <pk_name> primary key clustered (<col1, 2,...n>)

Now to your problem, something doesn't jive here. So, you deleted all indexes and statistics on the table and you still got the "index corruption" warning?

Perhaps, this is a case for MS support to closely work with you to track down the root cause.

ms sql 2005 delete record problem

I'm facing problem when delete a record in the ms sql 2005 .

The error message i got is stated below:

No rows were deleted

A problem occured attempting to delete row 1304.

Error: .Net Sql Clint Data Provider

Error Message: Possible index corruption detected. Run DBCC CHECKDB.

Correct the errors and atempt to delete the row again or press ESC to cancel the changes.

just certain record i can not delete and face this problem.

i detach the database and attached in the ms sql 2000, and select the same record to delete. there is no problem at all.

i wander is it ms sql 2005 bugs? can anyone tell me how to fix it .. how to to use the DBCC CHECKDB ?

thanks alot....

P/s : if i posted at the wrong section just let me know, I'm beginner in this forum here ...

thanks...

Just like the error message tells you:

Use a SqlCommand to execute "DBCC CHECKDB" or use SQL Management Studio, create a new empty query and execute DBCC CHECKDB

--
SvenC

|||

so i just type DBCC CHECKDB in SQL Management Studio..... amd i got this result

what it means ? i still can not delete the record in the table. can some one tell me how to solve it ? index corruption error....

DBCC results for 'CPMLife'.

Service Broker Msg 9675, State 1: Message Types analyzed: 14.

Service Broker Msg 9676, State 1: Service Contracts analyzed: 6.

Service Broker Msg 9667, State 1: Services analyzed: 3.

Service Broker Msg 9668, State 1: Service Queues analyzed: 3.

Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0.

Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0.

Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0.

DBCC results for 'sys.sysrowsetcolumns'.

There are 2294 rows in 15 pages for object "sys.sysrowsetcolumns".

DBCC results for 'sys.sysrowsets'.

There are 199 rows in 2 pages for object "sys.sysrowsets".

DBCC results for 'sysallocunits'.

There are 217 rows in 3 pages for object "sysallocunits".

DBCC results for 'sys.sysfiles1'.

There are 2 rows in 1 pages for object "sys.sysfiles1".

DBCC results for 'sys.syshobtcolumns'.

There are 2294 rows in 17 pages for object "sys.syshobtcolumns".

DBCC results for 'sys.syshobts'.

There are 199 rows in 2 pages for object "sys.syshobts".

DBCC results for 'sys.sysftinds'.

There are 0 rows in 0 pages for object "sys.sysftinds".

DBCC results for 'sys.sysserefs'.

There are 217 rows in 1 pages for object "sys.sysserefs".

DBCC results for 'sys.sysowners'.

There are 14 rows in 1 pages for object "sys.sysowners".

DBCC results for 'sys.sysprivs'.

There are 156 rows in 1 pages for object "sys.sysprivs".

DBCC results for 'sys.sysschobjs'.

There are 436 rows in 6 pages for object "sys.sysschobjs".

DBCC results for 'sys.syscolpars'.

There are 3114 rows in 33 pages for object "sys.syscolpars".

DBCC results for 'sys.sysnsobjs'.

There are 1 rows in 1 pages for object "sys.sysnsobjs".

DBCC results for 'sys.syscerts'.

There are 0 rows in 0 pages for object "sys.syscerts".

DBCC results for 'sys.sysxprops'.

There are 39 rows in 20 pages for object "sys.sysxprops".

DBCC results for 'sys.sysscalartypes'.

There are 27 rows in 1 pages for object "sys.sysscalartypes".

DBCC results for 'sys.systypedsubobjs'.

There are 0 rows in 0 pages for object "sys.systypedsubobjs".

DBCC results for 'sys.sysidxstats'.

There are 1143 rows in 14 pages for object "sys.sysidxstats".

DBCC results for 'sys.sysiscols'.

There are 2391 rows in 10 pages for object "sys.sysiscols".

DBCC results for 'sys.sysbinobjs'.

There are 23 rows in 1 pages for object "sys.sysbinobjs".

DBCC results for 'sys.sysobjvalues'.

There are 1288 rows in 280 pages for object "sys.sysobjvalues".

DBCC results for 'sys.sysclsobjs'.

There are 14 rows in 1 pages for object "sys.sysclsobjs".

DBCC results for 'sys.sysrowsetrefs'.

There are 0 rows in 0 pages for object "sys.sysrowsetrefs".

DBCC results for 'sys.sysremsvcbinds'.

There are 0 rows in 0 pages for object "sys.sysremsvcbinds".

DBCC results for 'sys.sysxmitqueue'.

There are 0 rows in 0 pages for object "sys.sysxmitqueue".

DBCC results for 'sys.sysrts'.

There are 1 rows in 1 pages for object "sys.sysrts".

DBCC results for 'sys.sysconvgroup'.

There are 0 rows in 0 pages for object "sys.sysconvgroup".

DBCC results for 'sys.sysdesend'.

There are 0 rows in 0 pages for object "sys.sysdesend".

DBCC results for 'sys.sysdercv'.

There are 0 rows in 0 pages for object "sys.sysdercv".

DBCC results for 'sys.syssingleobjrefs'.

There are 133 rows in 1 pages for object "sys.syssingleobjrefs".

DBCC results for 'sys.sysmultiobjrefs'.

There are 1331 rows in 9 pages for object "sys.sysmultiobjrefs".

DBCC results for 'sys.sysdbfiles'.

There are 2 rows in 1 pages for object "sys.sysdbfiles".

DBCC results for 'sys.sysguidrefs'.

There are 0 rows in 0 pages for object "sys.sysguidrefs".

DBCC results for 'sys.sysqnames'.

There are 92 rows in 1 pages for object "sys.sysqnames".

DBCC results for 'sys.sysxmlcomponent'.

There are 93 rows in 1 pages for object "sys.sysxmlcomponent".

DBCC results for 'sys.sysxmlfacet'.

There are 97 rows in 1 pages for object "sys.sysxmlfacet".

DBCC results for 'sys.sysxmlplacement'.

There are 17 rows in 1 pages for object "sys.sysxmlplacement".

DBCC results for 'sys.sysobjkeycrypts'.

There are 0 rows in 0 pages for object "sys.sysobjkeycrypts".

DBCC results for 'sys.sysasymkeys'.

There are 0 rows in 0 pages for object "sys.sysasymkeys".

DBCC results for 'sys.syssqlguides'.

There are 0 rows in 0 pages for object "sys.syssqlguides".

DBCC results for 'sys.sysbinsubobjs'.

There are 0 rows in 0 pages for object "sys.sysbinsubobjs".

DBCC results for 'IvItemStatus'.

There are 7 rows in 1 pages for object "IvItemStatus".

DBCC results for 'PrShfPlan'.

There are 127 rows in 1 pages for object "PrShfPlan".

DBCC results for 'IvLabor'.

There are 1 rows in 1 pages for object "IvLabor".

DBCC results for 'PrShfPlanDtl'.

There are 181 rows in 1 pages for object "PrShfPlanDtl".

DBCC results for 'PlMRNDtl'.

There are 306 rows in 3 pages for object "PlMRNDtl".

DBCC results for 'PlMRN'.

There are 60 rows in 5 pages for object "PlMRN".

DBCC results for 'sys.queue_messages_121767491'.

There are 0 rows in 0 pages for object "sys.queue_messages_121767491".

DBCC results for 'IvClass'.

There are 18 rows in 1 pages for object "IvClass".

DBCC results for 'IvMthEnd'.

There are 46731 rows in 1252 pages for object "IvMthEnd".

DBCC results for 'sys.queue_messages_153767605'.

There are 0 rows in 0 pages for object "sys.queue_messages_153767605".

DBCC results for 'IvTrxType'.

There are 0 rows in 0 pages for object "IvTrxType".

DBCC results for 'sys.queue_messages_185767719'.

There are 0 rows in 0 pages for object "sys.queue_messages_185767719".

DBCC results for 'IvMachine'.

There are 10 rows in 1 pages for object "IvMachine".

DBCC results for 'PlSchProcessHis'.

There are 0 rows in 0 pages for object "PlSchProcessHis".

DBCC results for 'PlMRP'.

There are 5890 rows in 353 pages for object "PlMRP".

DBCC results for 'PrShift'.

There are 9 rows in 1 pages for object "PrShift".

DBCC results for 'PlMRPMsg'.

There are 58 rows in 8 pages for object "PlMRPMsg".

DBCC results for 'IvICust'.

There are 763 rows in 20 pages for object "IvICust".

DBCC results for 'ExportLog'.

There are 21010 rows in 577 pages for object "ExportLog".

DBCC results for 'PlSchProcess'.

There are 3041 rows in 73 pages for object "PlSchProcess".

DBCC results for 'PlSchDetailHis'.

There are 0 rows in 0 pages for object "PlSchDetailHis".

DBCC results for 'PlSchHis'.

There are 0 rows in 0 pages for object "PlSchHis".

DBCC results for 'PlCRP'.

There are 4877 rows in 132 pages for object "PlCRP".

DBCC results for 'IvTrxBatchPSize'.

There are 1300 rows in 117 pages for object "IvTrxBatchPSize".

DBCC results for 'PlSchDetail'.

There are 9644 rows in 233 pages for object "PlSchDetail".

DBCC results for 'IvIBalPSize'.

There are 2021 rows in 68 pages for object "IvIBalPSize".

DBCC results for 'PlMRPDtl'.

There are 12848 rows in 374 pages for object "PlMRPDtl".

DBCC results for 'SaInvoiceDtl'.

There are 1482 rows in 45 pages for object "SaInvoiceDtl".

DBCC results for 'PrDate'.

There are 0 rows in 0 pages for object "PrDate".

DBCC results for 'IvTrxHisPSize'.

There are 143966 rows in 3351 pages for object "IvTrxHisPSize".

DBCC results for 'PrDefAttachment'.

There are 0 rows in 0 pages for object "PrDefAttachment".

DBCC results for 'PrDefDtl'.

There are 7986 rows in 297 pages for object "PrDefDtl".

DBCC results for 'PlFloor'.

There are 1201 rows in 32 pages for object "PlFloor".

DBCC results for 'IvSubClass'.

There are 81 rows in 3 pages for object "IvSubClass".

DBCC results for 'PrDailyPrdDefect'.

There are 4 rows in 1 pages for object "PrDailyPrdDefect".

DBCC results for 'PODetail'.

There are 8261 rows in 237 pages for object "PODetail".

DBCC results for 'PrDefType'.

There are 1 rows in 1 pages for object "PrDefType".

DBCC results for 'IvMachineDtl'.

There are 10 rows in 1 pages for object "IvMachineDtl".

DBCC results for 'PrPreventive'.

There are 0 rows in 1 pages for object "PrPreventive".

DBCC results for 'PrSemiFGRecover'.

There are 0 rows in 0 pages for object "PrSemiFGRecover".

DBCC results for 'PrShfCal'.

There are 675 rows in 8 pages for object "PrShfCal".

DBCC results for 'ROPathList'.

There are 1 rows in 1 pages for object "ROPathList".

DBCC results for 'PlForecast'.

There are 282 rows in 17 pages for object "PlForecast".

DBCC results for 'POOrder'.

There are 2789 rows in 112 pages for object "POOrder".

DBCC results for 'PrShiftGrp'.

There are 28 rows in 1 pages for object "PrShiftGrp".

DBCC results for 'PrWrkCtr'.

There are 8 rows in 1 pages for object "PrWrkCtr".

DBCC results for 'PrDailyPrd'.

There are 19 rows in 1 pages for object "PrDailyPrd".

DBCC results for 'ROImportLog'.

There are 0 rows in 0 pages for object "ROImportLog".

DBCC results for 'ExportInvToOSK'.

There are 35 rows in 1 pages for object "ExportInvToOSK".

DBCC results for 'ROTemp'.

There are 3067 rows in 104 pages for object "ROTemp".

DBCC results for 'IvCyCnt'.

There are 25083 rows in 880 pages for object "IvCyCnt".

DBCC results for 'CoActFreightOutwards'.

There are 1 rows in 1 pages for object "CoActFreightOutwards".

DBCC results for 'CoIvMthEndWIP'.

There are 1 rows in 1 pages for object "CoIvMthEndWIP".

DBCC results for 'SmBuyer'.

There are 3 rows in 1 pages for object "SmBuyer".

DBCC results for 'CoLaborCostAct'.

There are 2 rows in 1 pages for object "CoLaborCostAct".

DBCC results for 'SmCalendar'.

There are 913 rows in 7 pages for object "SmCalendar".

DBCC results for 'PlSch'.

There are 805 rows in 31 pages for object "PlSch".

DBCC results for 'CYReconIvTrxHis'.

There are 1685 rows in 55 pages for object "CYReconIvTrxHis".

DBCC results for 'CoOverhead'.

There are 7 rows in 1 pages for object "CoOverhead".

DBCC results for 'SmCompany'.

There are 1 rows in 1 pages for object "SmCompany".

DBCC results for 'IMSVariance'.

There are 1388 rows in 19 pages for object "IMSVariance".

DBCC results for 'CoOverheadAct'.

There are 12 rows in 1 pages for object "CoOverheadAct".

DBCC results for 'SmCountry'.

There are 18 rows in 1 pages for object "SmCountry".

DBCC results for 'SmCur'.

There are 8 rows in 1 pages for object "SmCur".

DBCC results for 'IvIVendor'.

There are 613 rows in 21 pages for object "IvIVendor".

DBCC results for 'CoPrDefDtlCSim'.

There are 70 rows in 2 pages for object "CoPrDefDtlCSim".

DBCC results for 'SmDept'.

There are 12 rows in 1 pages for object "SmDept".

DBCC results for 'CPMDelSch'.

There are 154 rows in 8 pages for object "CPMDelSch".

DBCC results for 'SmRegister'.

There are 69521 rows in 1040 pages for object "SmRegister".

DBCC results for 'SaCDNDtl'.

There are 0 rows in 0 pages for object "SaCDNDtl".

DBCC results for 'CoPrDefProcessCSim'.

There are 17 rows in 1 pages for object "CoPrDefProcessCSim".

DBCC results for 'SmGroup'.

There are 6 rows in 1 pages for object "SmGroup".

DBCC results for 'SaCDNHdr'.

There are 0 rows in 0 pages for object "SaCDNHdr".

DBCC results for 'CoStdFreightOutwards'.

There are 3 rows in 1 pages for object "CoStdFreightOutwards".

DBCC results for 'IvMthEndStdCost'.

There are 1455 rows in 10 pages for object "IvMthEndStdCost".

DBCC results for 'SaInvoiceHdr'.

There are 849 rows in 66 pages for object "SaInvoiceHdr".

DBCC results for 'SmNumCuz'.

There are 64 rows in 6 pages for object "SmNumCuz".

DBCC results for 'SaPayTerms'.

There are 0 rows in 0 pages for object "SaPayTerms".

DBCC results for 'SaTraderTax'.

There are 21 rows in 3 pages for object "SaTraderTax".

DBCC results for 'SmPeriod'.

There are 48 rows in 1 pages for object "SmPeriod".

DBCC results for 'SmCurrExRate'.

There are 15 rows in 3 pages for object "SmCurrExRate".

DBCC results for 'PrDefMas'.

There are 561 rows in 19 pages for object "PrDefMas".

DBCC results for 'SmReason'.

There are 55 rows in 1 pages for object "SmReason".

DBCC results for 'SmCurrRate'.

There are 23 rows in 2 pages for object "SmCurrRate".

DBCC results for 'SmSaRep'.

There are 0 rows in 0 pages for object "SmSaRep".

DBCC results for 'SmTraderContact'.

There are 351 rows in 8 pages for object "SmTraderContact".

DBCC results for 'SmTaxCat'.

There are 1 rows in 1 pages for object "SmTaxCat".

DBCC results for 'SmUOM'.

There are 18 rows in 1 pages for object "SmUOM".

DBCC results for 'SmTaxGrp'.

There are 1 rows in 1 pages for object "SmTaxGrp".

DBCC results for 'SmUOMConv'.

There are 1 rows in 1 pages for object "SmUOMConv".

DBCC results for 'SmTraderSub'.

There are 83 rows in 1 pages for object "SmTraderSub".

DBCC results for 'SmUser'.

There are 19 rows in 2 pages for object "SmUser".

DBCC results for 'IvItemTax'.

There are 0 rows in 0 pages for object "IvItemTax".

DBCC results for 'SmWHouse'.

There are 15 rows in 1 pages for object "SmWHouse".

DBCC results for 'POPR'.

There are 0 rows in 0 pages for object "POPR".

DBCC results for 'POPRDtl'.

There are 0 rows in 0 pages for object "POPRDtl".

DBCC results for 'POQuote'.

There are 4 rows in 1 pages for object "POQuote".

DBCC results for 'POQuoteDtl'.

There are 10 rows in 1 pages for object "POQuoteDtl".

DBCC results for 'SmMthBudget'.

There are 9 rows in 2 pages for object "SmMthBudget".

DBCC results for 'SaOrder'.

There are 2484 rows in 85 pages for object "SaOrder".

DBCC results for 'SaOrderDtl'.

There are 5086 rows in 139 pages for object "SaOrderDtl".

DBCC results for 'dtproperties'.

There are 0 rows in 0 pages for object "dtproperties".

DBCC results for 'SmDocNo'.

There are 128 rows in 2 pages for object "SmDocNo".

DBCC results for 'SmTrader'.

There are 309 rows in 30 pages for object "SmTrader".

DBCC results for 'CYReconIMS'.

There are 1084 rows in 28 pages for object "CYReconIMS".

DBCC results for 'SmPara'.

There are 1 rows in 1 pages for object "SmPara".

DBCC results for 'SmMenu'.

There are 231 rows in 3 pages for object "SmMenu".

DBCC results for 'SmGrouprights'.

There are 790 rows in 6 pages for object "SmGrouprights".

DBCC results for 'IvTrxBatchHdr'.

There are 273 rows in 6 pages for object "IvTrxBatchHdr".

DBCC results for 'CoPrDefMasCSim'.

There are 5 rows in 1 pages for object "CoPrDefMasCSim".

DBCC results for 'IvTrxBatch'.

There are 1550 rows in 99 pages for object "IvTrxBatch".

DBCC results for 'IvTrxHis'.

There are 175814 rows in 6613 pages for object "IvTrxHis".

DBCC results for 'CoOverheadCSim'.

There are 35 rows in 1 pages for object "CoOverheadCSim".

DBCC results for 'PrDailyPrdMachine'.

There are 13 rows in 1 pages for object "PrDailyPrdMachine".

DBCC results for 'PrProcess'.

There are 8 rows in 1 pages for object "PrProcess".

DBCC results for 'PrDefProcess'.

There are 2040 rows in 58 pages for object "PrDefProcess".

DBCC results for 'CoSalesInvoice'.

There are 0 rows in 0 pages for object "CoSalesInvoice".

DBCC results for 'SmNum'.

There are 19 rows in 2 pages for object "SmNum".

DBCC results for 'IvIMas'.

There are 1455 rows in 130 pages for object "IvIMas".

DBCC results for 'IvCyCntPSize'.

There are 26708 rows in 640 pages for object "IvCyCntPSize".

DBCC results for 'IvIBal'.

There are 2390 rows in 68 pages for object "IvIBal".

DBCC results for 'IvILoc'.

There are 1647 rows in 85 pages for object "IvILoc".

DBCC results for 'IvILocMas'.

There are 1097 rows in 18 pages for object "IvILocMas".

DBCC results for 'IvISubstitute'.

There are 0 rows in 0 pages for object "IvISubstitute".

CHECKDB found 0 allocation errors and 0 consistency errors in database 'CPMLife'.

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

|||

i found some solution from other thread.

first i set the database in single user mode.

ALTER DATABASE CPMLife SET SINGLE_USER WITH ROLLBACK IMMEDIATE

then i run the code below to fix the database.

DBCC CHECKDB
(
CPMLife ,
REPAIR_ALLOW_DATA_LOSS
)

but i still get the same error message which is not allow me to delete the record in the table.


|||

Try rebuilding the indexes on the table.

DBCC DBReIndex ('TableName')

|||

hi,

i have run the code you ask me to try which is

DBCC DBReIndex ('IvMthEnd')

Msg 9100, Level 23, State 2, Line 1

Possible index corruption detected. Run DBCC CHECKDB.

then i go to ru nthe DBCC CHECKDB again. and the result is no error

CHECKDB found 0 allocation errors and 0 consistency errors in database 'CPMLife'.

DBCC execution completed. If DBCC printed error messages, contact your system administrator.

I still can not delete the record and get the same error ... anything else i can do ?

|||You have 2 options:
1. restore from backup.
2. find the offending index(es) and delete/recreate - sp_helpindex should give you a list.|||

i do not have backup version of the database..

so i would like to go to option 2, but how to find the offending index(es) record ? to delete or recreate ?

and guide me more to solve it ?

thanks

|||execute 'sp_helpindex table_name' to get the list of the indexes. Make note of the result before you drop the indexes. To drop the index, execute "drop index".

http://msdn2.microsoft.com/en-us/library/ms188771.aspx
http://msdn2.microsoft.com/en-us/library/ms188783.aspx
http://msdn2.microsoft.com/en-us/library/ms176118.aspx

You can post the result here if you need further help.

Actually, before you start anything, backup your database.

BACKUP DATABASE [your db name]
TO DISK='c:\mydb.bak'

http://msdn2.microsoft.com/en-us/library/ms186865.aspx|||

i run

sp_helpindex N'IvMthEnd'

then i got the result as below

index name PK_IvMthEnd

index_description nonclustered located on PRIMARY

index_keys M_Period, M_Year, I_Cd, WHouse_Cd

then i drop the index with the code below

GO

DROP INDEX PK_IvMthEnd

ON IvMthEnd;

GO

Command(s) completed successfully.

then i create the index again with the code below

GO

IF EXISTS (SELECT name FROM sys.indexes

WHERE name = N'PK_IvMthEnd')

DROP INDEX PK_IvMthEnd ON IvMthEnd;

GO

CREATE INDEX PK_IvMthEnd

ON IvMthEnd (M_Period, M_Year, I_Cd, WHouse_Cd);

GO

Command(s) completed successfully.

i still face the same problem, can not delete the record and get the same result possible index corrupted

i run the DBCC CHECKDB , no error message show.

|||Ah. You will want to drop the statistics as well.

exec sp_helpstats 'IvMthEnd'
go
drop statistics IvMthEnd.<statname>
go

|||

erm..

After i run exec sp_helpstats 'IvMthEnd'

go

i get the result like below

Statistics Name

_WA_Sys_Adj_Qty_0880433F

_WA_Sys_Avg_Iv_Cost_0880433F

_WA_Sys_Close_Bal_0880433F

_WA_Sys_I_Cd_0880433F

_WA_Sys_Issue_Qty_0880433F

_WA_Sys_Last_Update_0880433F

_WA_Sys_M_Year_0880433F

_WA_Sys_Open_Bal_0880433F

_WA_Sys_Receipt_Qty_0880433F

_WA_Sys_UOM_0880433F

_WA_Sys_User_ID_0880433F

_WA_Sys_WHouse_Cd_0880433F

then i go for

DROP INDEX PK_IvMthEnd

ON IvMthEnd;

GO

then i create the index again

IF EXISTS (SELECT name FROM sys.indexes

WHERE name = N'PK_IvMthEnd')

DROP INDEX PK_IvMthEnd ON IvMthEnd;

GO

CREATE INDEX PK_IvMthEnd

ON IvMthEnd (M_Period, M_Year, I_Cd, WHouse_Cd);

GO

But i still facing the same problem.... i still can not delete the record in the SQL server management studio.

P/S : i would like to ask something about the command

sp_helpindex N'IvMthEnd'

What's the different between

clustered, unique, primary key located on PRIMARY and nonclustered located on PRIMARY

|||You need to run the "drop statistic lvMthEnd._WA_Sys_Adj_Qty_0880433F" etc.

Dropping the index is not the same as dropping the stats.

clustered, unique, primary key on PRIMARY means you've created a clustered index on the key which resides on the primary filegroup. You can lookup for "clustered" and "nonclustered" in book online for more info.

|||

i have done drop the statistic and drop the index also ...

but still the same ...

so if i want to create back the clustered, unique, primary key , how to do it.

thanks.. ..

|||To create the clustered primary key, you can do something like this.

alter table <tb_name>
add constraint <pk_name> primary key clustered (<col1, 2,...n>)

Now to your problem, something doesn't jive here. So, you deleted all indexes and statistics on the table and you still got the "index corruption" warning?

Perhaps, this is a case for MS support to closely work with you to track down the root cause.

Monday, February 20, 2012

MS Security patch MS03-031

I am trying to install ms03-031 (q815495) on a couple of our sql servers and
get the following error message:
'No sql server instances installed on this computer qualify for this Hotfix.
Check the version, language and
service pack requirement for this Hotfix', and the patch does not go on. I h
ave successfully put this fix
onto 35 other SQL Server 2000 SP3 servers.
The two I am getting the errors on are SQL Server 2000, sp3, and the languag
e is English. I cant seem to find
any log files to point me any Further. Would appreciate any suggestions, thi
ngs to check, etc. to find why we are getting
this error. Thanks, Johnlogfiles are put in c:\%windows%\sqlhotfix
Kevin Connell, MCDBA
----
The views expressed here are my own
and not of my employer.
----
"John Anthony" <anonymous@.discussions.microsoft.com> wrote in message
news:EB38C53E-02C2-4E78-88EB-9D915FC06975@.microsoft.com...
quote:

> I am trying to install ms03-031 (q815495) on a couple of our sql servers

and get the following error message:
quote:

> 'No sql server instances installed on this computer qualify for this

Hotfix. Check the version, language and
quote:

> service pack requirement for this Hotfix', and the patch does not go on. I

have successfully put this fix
quote:

> onto 35 other SQL Server 2000 SP3 servers.
> The two I am getting the errors on are SQL Server 2000, sp3, and the

language is English. I cant seem to find
quote:

> any log files to point me any Further. Would appreciate any suggestions,

things to check, etc. to find why we are getting
quote:

> this error. Thanks, John
|||Thanks, found the log files.
Here is the tail end, where the error occurs.
Im not sure what it is saying. We are running SQL Server 2000 SE, product ve
rsion 8.00.760(sp3).
First error seems to be a product code issue. Any suggestions on how to fix
or what to do next
would be gratly appreciated. thanks, John.
<Func Name='CService::~CService'><Func Name='GetProductCodeForInstance'><End
Func Name='GetProductCodeForInstance' Return='2' GetLastError='997'><EndFunc
Name='PerformSQLDetection' Return='0' GetLastError='997'><Func Name='Qualif
ySQLComputer'><Func Name='Q
ualifySQLInstance'>
Verifying Instance MSSQLSERVER to see if it qualifies for this hotfix
Instance MSSQLSERVER does not meet the requirements for this HotFix or there
is no such instance installed on this computer
<EndFunc Name='QualifySQLInstance' Return='87' GetLastError='997'>
HotFix Installer did not find any installation or instance of SQL that quali
fies for this hotfix
<EndFunc Name='QualifySQLComputer' Return='1168' GetLastError='997'>
No components of SQL found on this computer that qualifies for this package.
<EndFunc Name='SQLHotfix' Return='1168' GetLastError='997'><EndFunc Name='Ha
ndlePackage' Return='1168' GetLastError='997'>
And:
Verifying Instance MSSQLSERVER to see if it qualifies for this hotfix
Instance MSSQLSERVER does not meet the requirements for this HotFix or there
is no such instance installed on this computer
<EndFunc Name='QualifySQLInstance' Return='87' GetLastError='997'>
HotFix Installer did not find any installation or instance of SQL that quali
fies for this hotfix
<EndFunc Name='QualifySQLComputer' Return='1168' GetLastError='997'>
No components of SQL found on this computer that qualifies for this package.
<EndFunc Name='SQLHotfix' Return='1168' GetLastError='997'><EndFunc Name='Ha
ndlePackage' Return='1168' GetLastError='997'>
=== Completed processing package defined in Hotfix2.inf with return code: 11
68
=== Of the 2 packages no package qualified to run on this computer
<EndFunc Name='ProcessPackages' Return='1168' GetLastError='1813'><EndFunc N
ame='WinMain' Return='1168' GetLastError='1813'>|||Have you run SQLDiag.exe on the machines that are having problems and
reviewed the output of SQLdiag.txt?
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Reviewed output of SQLDiag.txt and nothing stands out. Compared with other S
P3 systems, and everything seems the
same. Could you please advise what to do next, Thanks, John|||Attach the SQLdiag.txt . I'd like to take a look.
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Kevin,
Here is the output of the hot fix. I cant seem to attach the sqldiag.txt her
e. Can I email it? Thanks for looking at this.
John.
Microsoft SQL Server Group of Products HotFix beginning Mon Dec 08 13:40:43
2003
<Func Name='WinMain'><Func Name='InitGlobals'>
OS Detected: Windows 2000 family
<EndFunc Name='InitGlobals' Return='0' GetLastError='203'><Func Name='Proces
sPackages'><Func Name='LoadPackages'><Func Name='ReadPackageInformation'><En
dFunc Name='ReadPackageInformation' Return='0' GetLastError='0'><Func Name='
ReadTargetProductInformatio
n'><EndFunc Name='ReadTargetProductInformation' Return='0' GetLastError='0'>
<Func Name='ReadPackageInformation'><EndFunc Name='ReadPackageInformation' R
eturn='0' GetLastError='0'><Func Name='ReadTargetProductInformation'><EndFun
c Name='ReadTargetProductIn
formation' Return='0' GetLastError='0'><EndFunc Name='LoadPackages' Return='
0' GetLastError='2'>
=== Processing package defined in Hotfix1.inf
<Func Name='HandlePackage'>
=== PACKAGE INFORMATION
=== Starting Hotfix Build : 0818
=== Hotfix KB Article : 815495
=== Installer Base: Hotfix
=== TARGET PRODUCT FOR THIS HOTFIX (Requirements)
=== Target Product Name : SQL
=== Target Product Version : 8.00
=== Target Product Service Pack requirement : 3
<Func Name='SQLHotfix'>
=== Hotfix targetting SQL Installations
<Func Name='PerformSQLDetection'><Func Name='CService::CService'><Func Name=
'CServiceNT::CServiceNT'><Func Name='CServiceNT::Open'><EndFunc Name='CServi
ceNT::Open' Return='T' GetLastError='997'><Func Name='CServiceNT::UpdateServ
iceStatus'><Func Name='CSer
viceNT::~CServiceNT'><Func Name='CServiceNT::Close'><EndFunc Name='CServiceN
T::Close' Return='T' GetLastError='997'><Func Name='CService::~CService'><Fu
nc Name='CService::CService'><Func Name='CServiceNT::CServiceNT'><Func Name=
'CServiceNT::Open'><EndFunc
Name='CServiceNT::Open' Return='T' GetLastError='997'><Func Name='CServiceNT
::UpdateServiceStatus'><Func Name='CServiceNT::~CServiceNT'><Func Name='CSer
viceNT::Close'><EndFunc Name='CServiceNT::Close' Return='T' GetLastError='99
7'><Func Name='CService::~
CService'><Func Name='GetProductCodeForInstance'><EndFunc Name='GetProductCo
deForInstance' Return='2' GetLastError='997'><EndFunc Name='PerformSQLDetect
ion' Return='0' GetLastError='997'><Func Name='CorrectCSDVersion'><EndFunc N
ame='CorrectCSDVersion' Ret
urn='0' GetLastError='0'><Func Name='PerformSQLDetection'><Func Name='CServi
ce::CService'><Func Name='CServiceNT::CServiceNT'><Func Name='CServiceNT::Op
en'><EndFunc Name='CServiceNT::Open' Return='T' GetLastError='997'><Func Nam
e='CServiceNT::UpdateServic
eStatus'><Func Name='CServiceNT::~CServiceNT'><Func Name='CServiceNT::Close'
><EndFunc Name='CServiceNT::Close' Return='T' GetLastError='997'><Func Name=
'CService::~CService'><Func Name='CService::CService'><Func Name='CServiceNT
::CServiceNT'><Func Name='C
ServiceNT::Open'><EndFunc Name='CServiceNT::Open' Return='T' GetLastError='9
97'><Func Name='CServiceNT::UpdateServiceStatus'><Func Name='CServiceNT::~CS
erviceNT'><Func Name='CServiceNT::Close'><EndFunc Name='CServiceNT::Close' R
eturn='T' GetLastError='997
'><Func Name='CService::~CService'><Func Name='GetProductCodeForInstance'><E
ndFunc Name='GetProductCodeForInstance' Return='2' GetLastError='997'><EndFu
nc Name='PerformSQLDetection' Return='0' GetLastError='997'><Func Name='Qual
ifySQLComputer'><Func Name=
'QualifySQLInstance'>
Verifying Instance MSSQLSERVER to see if it qualifies for this hotfix
Instance MSSQLSERVER does not meet the requirements for this HotFix or there
is no such instance installed on this computer
<EndFunc Name='QualifySQLInstance' Return='87' GetLastError='997'>
HotFix Installer did not find any installation or instance of SQL that quali
fies for this hotfix
<EndFunc Name='QualifySQLComputer' Return='1168' GetLastError='997'>
No components of SQL found on this computer that qualifies for this package.
<EndFunc Name='SQLHotfix' Return='1168' GetLastError='997'><EndFunc Name='Ha
ndlePackage' Return='1168' GetLastError='997'>
=== Completed processing package defined in Hotfix1.inf with return code: 11
68
=== Processing package defined in Hotfix2.inf
<Func Name='HandlePackage'>
=== PACKAGE INFORMATION
=== Starting Hotfix Build : 0818
=== Hotfix KB Article : 815495
=== Installer Base: Hotfix
=== TARGET PRODUCT FOR THIS HOTFIX (Requirements)
=== Target Product Name : SQL
=== Target Product Version : 8.00
=== Target Product Service Pack requirement : None
<Func Name='SQLHotfix'>
=== Hotfix targetting SQL Installations
<Func Name='PerformSQLDetection'><Func Name='CService::CService'><Func Name=
'CServiceNT::CServiceNT'><Func Name='CServiceNT::Open'><EndFunc Name='CServi
ceNT::Open' Return='T' GetLastError='997'><Func Name='CServiceNT::UpdateServ
iceStatus'><Func Name='CSer
viceNT::~CServiceNT'><Func Name='CServiceNT::Close'><EndFunc Name='CServiceN
T::Close' Return='T' GetLastError='997'><Func Name='CService::~CService'><Fu
nc Name='CService::CService'><Func Name='CServiceNT::CServiceNT'><Func Name=
'CServiceNT::Open'><EndFunc
Name='CServiceNT::Open' Return='T' GetLastError='997'><Func Name='CServiceNT
::UpdateServiceStatus'><Func Name='CServiceNT::~CServiceNT'><Func Name='CSer
viceNT::Close'><EndFunc Name='CServiceNT::Close' Return='T' GetLastError='99
7'><Func Name='CService::~
CService'><Func Name='GetProductCodeForInstance'><EndFunc Name='GetProductCo
deForInstance' Return='2' GetLastError='997'><EndFunc Name='PerformSQLDetect
ion' Return='0' GetLastError='997'><Func Name='CorrectCSDVersion'><EndFunc N
ame='CorrectCSDVersion' Ret
urn='0' GetLastError='0'><Func Name='PerformSQLDetection'><Func Name='CServi
ce::CService'><Func Name='CServiceNT::CServiceNT'><Func Name='CServiceNT::Op
en'><EndFunc Name='CServiceNT::Open' Return='T' GetLastError='997'><Func Nam
e='CServiceNT::UpdateServic
eStatus'><Func Name='CServiceNT::~CServiceNT'><Func Name='CServiceNT::Close'
><EndFunc Name='CServiceNT::Close' Return='T' GetLastError='997'><Func Name=
'CService::~CService'><Func Name='CService::CService'><Func Name='CServiceNT
::CServiceNT'><Func Name='C
ServiceNT::Open'><EndFunc Name='CServiceNT::Open' Return='T' GetLastError='9
97'><Func Name='CServiceNT::UpdateServiceStatus'><Func Name='CServiceNT::~CS
erviceNT'><Func Name='CServiceNT::Close'><EndFunc Name='CServiceNT::Close' R
eturn='T' GetLastError='997
'><Func Name='CService::~CService'><Func Name='GetProductCodeForInstance'><E
ndFunc Name='GetProductCodeForInstance' Return='2' GetLastError='997'><EndFu
nc Name='PerformSQLDetection' Return='0' GetLastError='997'><Func Name='Qual
ifySQLComputer'><Func Name=
'QualifySQLInstance'>
Verifying Instance MSSQLSERVER to see if it qualifies for this hotfix
Instance MSSQLSERVER does not meet the requirements for this HotFix or there
is no such instance installed on this computer
<EndFunc Name='QualifySQLInstance' Return='87' GetLastError='997'>
HotFix Installer did not find any installation or instance of SQL that quali
fies for this hotfix
<EndFunc Name='QualifySQLComputer' Return='1168' GetLastError='997'>
No components of SQL found on this computer that qualifies for this package.
<EndFunc Name='SQLHotfix' Return='1168' GetLastError='997'><EndFunc Name='Ha
ndlePackage' Return='1168' GetLastError='997'>
=== Completed processing package defined in Hotfix2.inf with return code: 11
68
=== Of the 2 packages no package qualified to run on this computer
<EndFunc Name='ProcessPackages' Return='1168' GetLastError='1813'><EndFunc N
ame='WinMain' Return='1168' GetLastError='1813'>|||Run the following command and post the results.
OSQL -E -Q"select @.@.version"
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Here is the output from the command. Thanks, John
Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copy
right (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows N
T 5.0 (Build 2195: Service Pack 3)|||Review the following registry keys on your machine.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer\CurrentVersion
\CSDVersion
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\MSSQLServer\CurrentVersion
\CSDVersionNumber
They should look like this:
CSDVersion (string) 8.00.761
CSDVersionNumber (dword) 300 (hex)
Update these keys as needed, and retry applying the Security Update.
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

MS Search

We have problem on our 2 original sql instances in a 4-node cluster.
Both the 2 old instances get one warning and one error message in the
event log.
This is the warning message for one of the instances:
****
Source:Microsoft Search
Category:Gatherer
Event ID:3055
Description:
The Gatherer property mapping file cannot be opened. Error: 80070002.
The default values are being used. You may have to copy the property
mapping file from the setup CD, or reinstall the application.
****
Here comes the error message for the same instance:
****
Source:Microsoft Search
Category:Gatherer
Event ID:10006
Description:
An error occured during the online operation for instance <SQL Server
Fulltext (Inst2)>: 80070002 - The system cannot find the file
specified
****
The service Microsoft Search is running, it's the cluster resource
that freak out. Since the full text is not used we removed the
resources from the clustergroups. without them it all works as it
should.
We have 2 new sql instances and they run the SQL Server Fulltext in
the cluster on whatewer node of the 4 witch the group is moved to. The
account used for sql is the same in all 4 instances and it's in the
administators group on all 4 nodes. The same goes fore the account
that runs the cluster.
What I would like to know is what file is the event message pointing
to? We can't se anything odd.
What is the default values?
If I copy it from the install CD, what directory?
If I reinstall, what will I have to reinstall?
In both cases. what about servicepack and hotfixes after?
/Peter
Hello Peter,
Please refer to the following Knowledge Base article concerning this issue:
304282 PRB: Full Text Resource Fails to Come Online on a Cluster with
"Event ID
http://support.microsoft.com/?id=304282
Regards,
Farooq Mahmud [MS SQL Support]
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.
|||Hi there Farooq!
I have checked out that article already.
Since we have 2 instances that work we compare them with each other.
We found no differenses. That's why I ask the questions about
reinstalling from the CD.
I.E how to do the part I quote, what about the reinstall from CD or
rebuild. Where can I find the steps, and if I take it from the CD what
about SP and hotfixes? I hope you can help me.
"
From Knowledge Base-artikel - 304282
MORE INFORMATION
If the files in the FTDATA folder are replaced, corrupted, or deleted,
or if the FTDATA folder itself is deleted, the SQL Server Fulltext
cluster resource may have to be rebuilt to be restored to a stable
state.
"
/Peter
On Tue, 11 May 2004 13:08:15 GMT, farooqm@.online.microsoft.com (Farooq
Mahmud [MS]) wrotc:

>Hello Peter,
>Please refer to the following Knowledge Base article concerning this issue:
>304282 PRB: Full Text Resource Fails to Come Online on a Cluster with
>"Event ID
>http://support.microsoft.com/?id=304282
>Regards,
>Farooq Mahmud [MS SQL Support]
>This posting is provided "AS IS" with no warranties, and confers no rights.
>Are you secure? For information about the Strategic Technology Protection
>Program and to order your FREE Security Tool Kit, please visit
>http://www.microsoft.com/security.