Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBA Dash Error for one of the data type #855

Closed
DavidWiseman opened this issue Apr 17, 2024 Discussed in #849 · 0 comments
Closed

DBA Dash Error for one of the data type #855

DavidWiseman opened this issue Apr 17, 2024 Discussed in #849 · 0 comments
Assignees
Labels
Completed DEV work completed. To be included in next release if issue is still open. DBA Dash Agent Issue affecting the agent defect Something is off and needs to be addressed

Comments

@DavidWiseman
Copy link
Collaborator

Discussed in #849

Originally posted by IndrajitMurgude March 29, 2024
I am getting below error for one of the target server, I see these error in DBA Dash Errors (24 Hrs)
Microsoft.Data.SqlClient.SqlException (0x80131904): The conversion of a datetimeoffset data type to a datetime data type resulted in an out-of-range value.
I am unable to find for which data collection, this is happening and how this can be fixed.

Issue occurs in this collection. @LastMemoryDump is DATETIME and creation_time is DATETIMEOFFSET which has a larger range.

IF OBJECT_ID('sys.dm_server_memory_dumps') IS NOT NULL
BEGIN
	select @LastMemoryDump=MAX(creation_time),@DumpCount=COUNT(*) 
	from sys.dm_server_memory_dumps
END
@DavidWiseman DavidWiseman self-assigned this Apr 17, 2024
@DavidWiseman DavidWiseman added defect Something is off and needs to be addressed DBA Dash Agent Issue affecting the agent Completed DEV work completed. To be included in next release if issue is still open. labels Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed DEV work completed. To be included in next release if issue is still open. DBA Dash Agent Issue affecting the agent defect Something is off and needs to be addressed
Projects
None yet
Development

No branches or pull requests

1 participant