To reslove this error,
i first tried registering ASP.NET 2.0
1. Open a command prompt.
2. Navigate to ‘C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\’
3. Run this: aspnet_regiis.exe -i
Followed by adding the “domain\username” to the “IIS_IUSRS” group.
This resolved the error.