Click here to Skip to main content
15,352,236 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So i have this app on iis which runs tasks to gather api data but when i enter this url
"http://localhost/FleetManagement/Tasks/RunTasks.aspx?BatchSize=20&DelayedReload=true&AutoReload=true&GroupID=3"

it gives me "Server Error in '/FleetManagement' Application.
Object serialized to Null. JArray instance expected." along with a stack trace that states a similer error.

another weird thing is the error it points to in the runtasks file is the same line every time even if i change the file and update the server. it even shows a snapshot of the code and the line with nothing on it.
any help would be great thanks

What I have tried:

Refreshing server and changing code. as well as restarting laptop
Posted
Updated 24-Mar-22 22:12pm

1 solution

Object serialized to Null. JArray instance expected

Your code is expecting an array to be passed in, but is gets nothing, hence the error message. You need to check the code to see what is supposed to be input to that API call.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900