web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

"This site can't be reached" after VM domain change

(0) ShareShare
ReportReport
Posted on by 3,542

Hi

VM X of mine was on my organisation's domain (it's local - runs on my PC). Today I had to move (physically) to some client. The VM no longer had internet, long story short, I fixed it by removing the VM from the domain. I did not change the computer name.

Now I get "This site can't be reached":

pastedimage1570097202782v1.png

I've tried restarting the VM and an iisreset. I guess this is more to do with iis and MS2016 server than D365. I have done some reading on iis and server name changes - looks like I can spend a few weeks on it.

I should probably just get a new VM. But I was hoping someone has a quick solution for me.

I am posting here because I am sure some AX developer must have experienced the same issue. 

Thanks for your attention

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Can you access any website from the VM?

    Did you try to reset IIS? Do you see any errors in the event log, regarding AOS Startup?

  • Pete Alberts Profile Picture
    3,542 on at

    Well, when I google ismyinternetworking.com on the VM, it tells me "Yes!" :D

    I am currently configuring a new VM. But the old one is still open.

    This is my first time opening the event viewer - not sure what or where to click.

    I am currently looking at this page:

    Screenshot-2019_2D00_10_2D00_03-at-13.36.59.png

    The D365 F&O line hasn't thrown any error events in the last 24 hours. However Management Reporter 2012 services has thrown 251 errors.

    And then I noticed that General tab (when I click on a line), the "Computer" property displays two different computer names for old errors and recent errors - the old one was "MyVM.OrganizationDomain.local" and the new one is just MyVM. So I guess I did change the computer name by changing the domain.... But still I have changed VM computer names thousands of times. I've never had any issues with the IIS.

  • Pete Alberts Profile Picture
    3,542 on at

    Sorry I need to ask - Where do I search for AOS Startup events?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    If you open IIS Manager and go to Application Pools - AOSService - right click - Recycle, you should see two events in Application log, with source ASP.NET 4.0.30319.0:

    - Application is shutting down

    - Application is starting

    Do you get any errors in the log during the startup? Or, perhaps you can access the system after this refresh is done?

  • Pete Alberts Profile Picture
    3,542 on at

    I started a new VM - had some pressing work. But I want to understand this problem and fix it. Just don't have time at the moment - I will be leaving this on ice for the week end.

  • Pete Alberts Profile Picture
    3,542 on at

    Hi Nikolaos.

    In the end I canned that VM. I have the same issue again on another VM. Not sure what caused it. The only reason I can think of is the fact that at a certain point in time there were two VMs on my PC with the same computer name.

    I checked the event log: Management Reporter 2012 Services and Microsoft Dynamics 365 for Finance and Operations log errors that come down to "Login failed for user axdbadmin"

  • Pete Alberts Profile Picture
    3,542 on at

    I opened Reporting Services and SQL Management: I checked that I am able to connect with axdbadmin and I can.

    Error for MS D365 F&O:

    The description for Event ID 110 from source Microsoft Dynamics 365 for Finance and Operations cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

    If the event originated on another computer, the display information had to be saved with the event.

    The following information was included with the event:

    AX is shutting down due to an error.

    Error during initialization of Message Broker. Please verify that your AOS instance has connection to the AOS Database. Error messages follow:

    Could not execute operation against the SQL Database.

    Cannot open database "AxDB" requested by the login. The login failed.

    Login failed for user 'axdbadmin'.

    Exception details:

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Dynamics.Ax.Xpp.Messaging.MessageBrokerStartupException: Could not execute operation against the SQL Database. ---> System.Data.SqlClient.SqlException: Cannot open database "AxDB" requested by the login. The login failed.

    Login failed for user 'axdbadmin'.

       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

       at System.Data.SqlClient.SqlConnection.Open()

       at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.<>c__DisplayClass1.<ExecuteAction>b__0()

       at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)

       at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.OpenConnection(SqlConnection conn)

       at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.OpenConnnection()

    --- End of stack trace from previous location where exception was thrown ---

       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

       at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.HandleException(ExceptionDispatchInfo edi, SqlExecutionInfo execInfo)

       at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.OpenConnnection()

       at Microsoft.Dynamics.Ax.Xpp.Messaging.MessageBroker.RegisterInternal(String path, MessageReceivedHandler handler, Boolean isQueue)

       --- End of inner exception stack trace ---

       at Microsoft.Dynamics.Ax.Xpp.Messaging.MessageBroker.RegisterInternal(String path, MessageReceivedHandler handler, Boolean isQueue)

       at Microsoft.Dynamics.Ax.Xpp.Messaging.MessageBroker.Start(String connectionString)

       --- End of inner exception stack trace ---

       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

       at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)

    Error for Management Reporter 2012 Services:

    {"Class":11,"Number":4060,"State":1,"Message":"Cannot open database \"AxDB\" requested by the login. The login failed.\u000d\u000aLogin failed for user 'AOSUser'.","ErrorCode":-2146232060,"Procedure":"","LineNumber":65536,"Errors":[{"Class":11,"Number":4060,"State":1,"Message":"Cannot open database \"AxDB\" requested by the login. The login failed.","Procedure":"","LineNumber":65536,"Source":".Net SqlClient Data Provider"},{"Class":14,"Number":18456,"State":1,"Message":"Login failed for user 'AOSUser'.","Procedure":"","LineNumber":65536,"Source":".Net SqlClient Data Provider"}],"ConnectionId":"a86c5f1e-4c9d-4dbe-9d30-51de3b9a9cff","Source":".Net SqlClient Data Provider"}

    Machine: CORNE29

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans