You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When run on a server with filestream files configured you get the error "Arithmetic overflow error for data type tinyint. value = 65537.
To Reproduce
Steps to reproduce the behavior:
Create a new database file of type FILESTREAM Data for any database on the server by following these steps.
Right click on the database.
Click on the files tab.
Click on the Add button.
Enter a value in the Logical name field, Change File Type to FILESTREAM Data.
Enter a value for Size (MB).
Click OK.
Run Inspector.InspectorDataCollection, or the appropriate job.
Expected behavior
Updated data to be added to Inspector.DatabaseFileSizes.
Desktop (please complete the following information):
OS: Windows 10
Browser: Chrome
Version [e.g. 22]: 79.0.3945.130
Additional context
This error is caused by the file_id value for FILESTREAM files which is 65537. This is set by Microsoft and so not changeable.
My local fix for this was:
ALTER TABLE [Inspector].[DatabaseFileSizes]
ALTER COLUMN [File_id] INT NOT NULL;
GO
The text was updated successfully, but these errors were encountered:
Describe the bug
When run on a server with filestream files configured you get the error "Arithmetic overflow error for data type tinyint. value = 65537.
To Reproduce
Steps to reproduce the behavior:
Create a new database file of type FILESTREAM Data for any database on the server by following these steps.
Expected behavior
Updated data to be added to Inspector.DatabaseFileSizes.
Desktop (please complete the following information):
Additional context
This error is caused by the file_id value for FILESTREAM files which is 65537. This is set by Microsoft and so not changeable.
My local fix for this was:
ALTER TABLE [Inspector].[DatabaseFileSizes]
ALTER COLUMN [File_id] INT NOT NULL;
GO
The text was updated successfully, but these errors were encountered: