The current released version NCDatasets has been marked incompatible with the problematic NetCDF_jll (for Windows).
Can you run these commands and share the output of the ]status commands?
]status --manifest NCDatasets NetCDF_jll
]up
]status --manifest NCDatasets NetCDF_jll
Having the version number of your installed package is very helpful to troubleshoot this problem.
If the error persists can you try this:
]add NetCDF_jll@400.702.400
]pin NetCDF_jll