Hello everyone,
I need your help. I have been struggling with this error since days and I don't seem to find the solution.
For a Devops mapping purpose, I had to rename my Virtual Machine (did it with SQL). I made sure the updates were made.
After since, Whenever I compile a model I get this error in Visual Studio 2019 (see below). On the other hand, Synchronize Database is not showing any erros.
When I open the Log file of the model result compilation, (file name : BuildModelResult) I noticed that it is calling the old name of the VM :
<Moniker>Initialization of cross reference database failed. Connection:Data Source=OLDNAME;Initial Catalog=master;Integrated Security=True;Connect Timeout=100;ConnectRetryCount=5;ConnectRetryInterval=10 failed with exception message:System.Data.SqlClient.SqlException (0x80131904)</Moniker>
I will be greatful for any thoughts to help me with this.
Thanks alot!