We have an application in C#, ASP.NET, which connects to Jiwa and logs in to create a service claim in service manager. Everything was working fine for a while, and recently it started giving an error.
Server Error in '/' Application.
Add failed. Duplicate key value supplied.
Line 192: maintenanceBL.GenericObjectCollection.Add(readItem);
Source File: C:\ProgramData\Jiwa Financials\Jiwa 7\7.0.157\Admin\<ServerIP>\<DBName>\Plugins\admin\Compile\Performance Metrics\Performance Metrics.cs Line: 192
Error points to the line mentioned above.
If we run the same code and program on our development server, it is working fine, but not on the production server. And previously even on the production server it was working fine, and we didn't update anything in our application, nor re deployed. Basically we didn't even touch the ASP.NET application.
Any help would be greatly appreciated.
Thanks.