I'm building out a Win 2022 VM for a customer. I've installed SQL Anywhere 17.0.11 with the latest EBF and am testing with their database. All is good, database works, Sybase central and cmd line start/stop server all work :) HOWEVER: I need to create a package with latest ODBC drivers for distribution. When I run "Deploy to Windows" I get a ".NET 2.0 is not installed" error. Windows Server 2022 comes with the latest DOTNET 7 which should cover all previous versions of Dotnet runtime and Framework. If I run the DeploymentWizard.exe, I get "The following feature could not be installed: .NET Framework 3.5 (includes .NET 2.0 and 3.0) I cannot install the feature myself as this requires the install disk/ISO with does not exist in this VM world. Any ideas? |
I cannot find any information supporting that .NET 7 is fully backward compatible with .NET 4 and earlier. At least for Windows 10 and 11, the OS installs .NET Framework 4 and can optionally (via Turn Windows features on or off) install .NET Framework 3.5 (includes .NET 2.0 and 3.0). You mention that you need ODBC. Do you require .NET? In the deployment wizard, you can selectively choose what clients to install. If you require .NET 3.0, you will likely need to enable it at the OS level and then install SQLA.
Many thanks for your quick response Chris.
Windows Server 2022 is new to me. On a Win 2012/2019 install, we'd install .NET 4.x but it's all different with Win 2022.
The issue is that the Deployment Wizard won't even run.
As far as I know, installing .Net 3 is now completed with the "Turn Windows features on or off". It can also be downloaded here: https://www.microsoft.com/en-ca/download/details.aspx?id=21.
But again, you can construct the install without .NET 3.5. This is done on the Select Features wizard page by deselecting ADO.NET 3.0 from the SQL Anywhere client option (there may be 32 and 64 bit variants) to direct the wizard to exclude that "feature".
Thanks once again. Awesome response times. I will try this when I'm back in the office tomorrow.