Repeated erros referring to CUDA dlls

I’m running windows 10 and have a 1080 GPU. [Tensorftow Version] 2.6.2.

Could not load library cudnn_ops_infer64_8.dll. Error code 126
Please make sure cudnn_ops_infer64_8.dll is in your library path!

Previous to this I was getting the following error:

tensorflow/stream_executor/platform/default/dso_loade
r.cc:64] Could not load dynamic library ‘cudnn64_8.dll’; dlerror: cudnn64_8.dll not found

I downloaded cudnn64_8.dll and droped it in the C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin

Please advise as I can not use tensorflow.

Thanks