Forum Discussion
rpreston845
Sep 24, 2024Copper Contributor
IIS issue - apsnetcore.dll not found
Hi, I am working on upgrading a server from 2012 to 2022 (on AWS). I have installed a fresh 2022 instance and have sued webdeploy to copy the entire IIS configuration from the 2012 server to the ...
rpreston845
Sep 27, 2024Copper Contributor
HridayDutta thanks for your reply.
I have installed .Net 8.x to resolve the issue of using a .Net version that is no longer supported, and that is what has introduced this issue.
Something is referencing aspnetcore.dll, which I assume is installed by .NET 2.x but not .Net 8.x, but I don't know where that call to aspnetcore.dll is being made.
I am guessing that if I can identify that I can amend it with the DLL that .Net 8.x installs. So, I think I need the following to fix this :
1. Where is apsnetcore.dll being referenced from on an IIS server ?
2. What is the .Net 8.x replacement for aspnetcore.dll ?
3. How/where do I amend my configuration to reference the .Net 8.x aspnetcore.dll replacement ?
Thanks.
HridayDutta
Microsoft
Oct 01, 2024Since your application is built on .NET 2.X, the same runtime version is required on the server. Please note that support for .NET 2.X has ended, and it is recommended to upgrade your application to a supported version.
- rpreston845Oct 02, 2024Copper ContributorThanks for the update.