We have an old 2008r2 server running SQL server express 10.50.4042.0 running an old human resources program that we only access once maybe twice/month.
I recently migrated this server (using azure migrate) to an Azure machine on a connected azure network.
I get an error, "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied", when starting the program. FYI, The program is installed and running off the same server.
The server was migrated with same name, DNS updated to new address. It appears that when the program was originally installed that the sql connection was configured via ip address as the program will work and run when the old server (name changed, same old ip) is turned on. I have gone through all the program files searching for a config file and have come up empty handed. I assume the connection string was coded into the program files at the time of installation. I cannot re-install the program as the installation is password protected and the company has since gone under.
I thought i'd try using NAT on our firewall to redirect traffic from the old IP to the new server. This actually works while using SSMS. I can connect via SSMS from my PC using both the old IP and the NEW IP and server name. I can even RDP into the new server using the old ip address. I can ping the old ip from the server itself and my pc and the new server answers. But I still get the same error using the program. it cannot connect. I tried messing around with aliases to no avail, but the fact that SSMS can connect but the program cannot has got me perplexed. All credentials were transferred to the new SQL server and mirror the old. TCP/IP enabled, port 1433, currently have both old an new ip's under IP1 and IP2.
At my wits end. program has no export function. our only other alternative is to manually transfer information to spreadsheets. ugh.
Posting here as a last ditch effort.