Avensoft Help Desk
Home
Submit Service Request
Knowledge
Sign In
Knowledge Base
Submit Service Request error Object cannot be cast from DBNull to other types
Submit Service Request Error
Object cannot be cast from DBNull to other types. at System.DBNull.System.IConvertible.ToInt32(IFormatProvider provider) at a3.ac(be A_0) at a3.ag() at Sr_AddPage.OnInitialDisplay()
This is caused by a technician not assigned to any organization. Run these SQL statements in MS SQL Management Studio against your nService 4 database.
SELECT * FROM ns4_user WHERE usr_org_id IS NULL
GO
SELECT * FROM ns4_user WHERE usr_org_id NOT IN (SELECT org_id FROM ns4_organization)
GO
UPDATE ns4_user SET usr_org_id = 90 WHERE usr_org_id IS NULL
GO
Article #1520
Updated On: 11/1/2023
Index
Was this article helpful?
Yes
|
No
© 2024 Avensoft
nService
| help desk software and service management software
Auto Detect Language
English (United States)
English (Canada)
English (United Kingdom)
English (Ireland)
English (New Zealand)
English (Australia)
Español (Spain)
Español (México)
Español (Argentina)
Français (France)
Français (Belgium)
Français (Canada)
German (Standard)
German (Switzerland)
Italian
Polish
Português (Brasil)
Português (Portugal)
Russian
Czech