Quantcast
Channel: Ivanti User Community : Popular Discussions - Inventory
Viewing all articles
Browse latest Browse all 13197

LANDESK Inventory Server Error ID 4100

$
0
0

Ran into a huge backlog of scans and errorscans.  New machines were just not showing up.  So, we did some digging.  I found the following in the event logs :

 

Database exception: SCAAE93.SCN, LDInv.dll

-2147217833

Arithmetic overflow error converting IDENTITY to data type int.

 

 

Error comitting on table FILEINFOINSTANCE:   ARITHMETIC OVERFLOW ERROR CONVERTING IDENTITY TO DATA TYPE INT.

Increased column size might be necessary, Thread ID: 2292.

 

The FileInfoInstance_Idn field is an Int.  And we'd unfortunately run out of room.  We have our database in a cluster so using the CoreDBUtil.exe wasn't an option for us.  We did update the datamart.xml file for the FileInfoInstance table :

 

<column name="FileInfoInstance_Idn" type="BigInt" identity="Yes" null="No" />

 

I then fired up Microsoft SQL Server Management Studio (my database is named 'LDMS') and ran the following :

 

USE [LDMS]
GO
ALTER TABLE [dbo].[FileInfoInstance] DROP CONSTRAINT [XPKFileInfoInstance]
GO
DROP INDEX [XIFFileInfoInstIdent] ON [dbo].[FileInfoInstance]
GO
alter table fileinfoinstance alter column FileInfoInstance_Idn bigint;
ALTER TABLE [dbo].[FileInfoInstance] ADD  CONSTRAINT [XPKFileInfoInstance] PRIMARY KEY CLUSTERED
(
[Computer_Idn] ASC,
[FileInfoInstance_Idn] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [XIFFileInfoInstIdent] ON [dbo].[FileInfoInstance]
(
[FileInfoInstance_Idn] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO

Viewing all articles
Browse latest Browse all 13197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>