Attempting to publish using Azure SDK 2.5 results in null-ref (object reference not set to object instance)

We upgraded our azure deployment project from SDK 2.4 to SDK 2.5 .

The project has two working roles.

Publishing project 2.4 for the cloud service used to work, but after upgrading to 2.4, we see that the publication does not work with the following output in the Microsoft Azure activity log window:

4:44:19 PM - Verifying the Remote Desktop Certificate ...

4:44:20 PM - Application of the diagnostic extension.

4:44:20 PM - The reference to the object is not installed in the object instance.

We also did not see the "application of the diagnostic extension" in 2.4.

Any idea what causes this error above?

+4
source share
1 answer

It turns out that this can happen if you have a combination of roles for which diagnostics are enabled / disabled. This can happen in several situations.

  • You explicitly disabled the diagnostics of some roles by editing the wadcfgx file.
  • You explicitly disabled diagnostics for some roles from the user interface that you get with a double click - Deployment Project> Roles> RoleName.
  • 2.4 2.5. SDK 2.5 (.wadcfgx). , visual studio .wadcfg .wadcfgx. - / .

- , . wadcfgx , /.

+5

All Articles