TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.27k stars 418 forks source link

.NET Core Runtime Updated to 7.0.7 from 7.0.5 #658

Closed Hemsby closed 1 year ago

Hemsby commented 1 year ago

When updating the .NET Framework Core 7.0.5 to 7.0.7 the DNSServer service fails to start. Tested on multiple servers. Only way for it to work is to remove the Update and again install the previous version.

Seems for me it only affects Server 2022, Win 11 with the update it still starts.

Potterli20 commented 1 year ago

https://github.com/dotnet/installer/compare/v7.0.203...v7.0.304 https://github.com/dotnet/installer/releases/tag/v7.0.304

Hemsby commented 1 year ago

dotnet/installer@v7.0.203...v7.0.304 https://github.com/dotnet/installer/releases/tag/v7.0.304

I dont understand why you posted me these links.

ShreyasZare commented 1 year ago

Thanks for the feedback. I have Windows Server 2022 running with .NET 7.0.7 and the DNS server is running without any issues. So not sure why its not working for you.

Do check the Windows Event Viewer and check if there is any error logged for the DNS service. You can also check the DNS logs which you will find in C:\Program Files (x86)\Technitium\DNS Server\config\logs folder. Post here if you find anything in logs.

Hemsby commented 1 year ago

Hi Shreyas,

Thanks for the reply, and pointing me in the right direction. The issue is resolved :-)

I used Winget to update the .NET Core to 7.0.7 but I failed to update also the Desktop Runtime to 7.0.7 so im guessing this causes some kind of mismatch. After updating the Desktop Runtime to 7.0.7 the service does start. Thankyou!

Feel free to close this one off as user stupidity LOL.

ShreyasZare commented 1 year ago

Good to know it got resolved.