Azure MarsAgent Upgrade Failed - azure

I have an issue, I am trying to upgrade the MarsAgent (Azure agent) on a Windows 7 PC. When I try to update it I get the error:
"An unexpected error occurred during the installation. For more details check the setup error logs.(Error ID: 116)".
You then press OK on that error and I am then presented with
"Error starting the Microsoft Azure Recovery Services Agent Setup Wizard"
Can you please help!!!

I was also getting same error whet tried to installed MarsAgent on win2016 server. I tried many articles but no luck. When I selected installed with window updates it shown me error for window update service. so I checked Windows update service found it was in disabled state, hence I set startup type automatic and started service then tried. Issue resolved no error found.

Related

Can't publish Azure Function from Visual Studio for Mac

I am trying to publish my Azure Functions from Visual Studio for Mac (8.10.6, build 10) and it does not work.
Everything works fine when running func start (obviously running from Visual Studio does not work as my Macbook has M1 processor and that is not supported yet).
What's more, when I created new function from template, I can publish it normally. I've read that it could be because of antivirus working on machine, but I expect that if I can publish other functions then it should work fine.
When trying to publish from Visual Studio I am getting:
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.)
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error :
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Web Deploy experienced a connection problem with the server and had to terminate the connection. Contact your server administrator if the problem persists. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.
/usr/local/share/dotnet/sdk/5.0.302/Sdks/Microsoft.NET.Sdk.Publish/targets/PublishTargets/Microsoft.NET.Sdk.Publish.MSDeploy.targets(140,5): error : Unexpected end of file has occurred. The following elements are not closed: results. Line 1, position 550.
Do you have any ideas why could that be?
Sounds like a firewall/access issue, check that VS is trusted and has access to connect to the internet
https://learn.microsoft.com/en-us/visualstudio/mac/install-behind-a-firewall-or-proxy-server?view=vsmac-2019

Hololens emulator showing NullReferenceException

I'm trying to run a Hello World kind of problem for a HoloLens on emulator but it is showing error:
The following unexpected error occurred during bootstrapping stage
'Connecting to the device '<device>'.': NullReferenceException - Object reference not set to an instance of an object. [0x80004003]
I have tried making a new project, reinstalling emulator and checked Hyper-V on my system
Please refer to the Troubleshooting section of https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator. I suspect you're hitting an installation issue where XDE is installed to the wrong folder. The documentation includes a solution for this. Please let me know if this does not resolve the issue.

'Microsoft.WindowsAzure.Diagnostics.DirectoryConfiguration' is obsolete: 'this API is deprecated.'

I had to reinstall a version of Visual Studio 2013 Update 4 on my machine.
I had v2.3 of the Azure toolset working with my cloud service just fine.
When I loaded the project again into Visual Studio, it asked me if I wanted to upgrade to v2.5 or download v2.3. I tried to download v2.3, but the link wouldn't work.
I then upgraded to v2.5 which blew my cloud service to bits when it tried to publish it.
I'm getting the following attached errors:
The first dialog is basically is asking me to upgrade to 2.5 or download 2.3.
The images are returning the three errors when the service tries to get published:
1.Starting role... Unhandled Exception: System.NullReferenceException
2.Role has encountered an error and has stopped. Unhandled Exception: System.NullReferenceException
3.'microsoft.windows.azure.diagnostics.directoryconfiguration' is obsolete: 'this api is deprecated.'
It worked fine with v2.3 and now with 2.5, it's getting the above errors.
Can someone please inform me how I can correct this issue so my cloud service will be published correctly?

IIS error when attempting to start WebMatrix

When I attempt to start WebMatrix, I get an alert saying "IIS Express could not be initialized. Please make sure that it is installed and configured correctly."
I've uninstalled and reinstalled both IIS Express and WebMatrix, with no change in this behavior. The advice I've been able to find on the net has been to assume ownership of the HKEY_CLASSES_ROOT\Microsoft.IIS.VersionManager registry key and replace all child object permissions with the permissions from that registry key. This didn't seem to help.
Looking in Event Viewer, I can see .net runtime exceptions whenever iisexpresstray.exe or webmatrix.exe try to launch:
System
Provider
[ Name] .NET Runtime
EventID 1026
[ Qualifiers] 0
Level 2
Task 0
Keywords 0x80000000000000
TimeCreated
[ SystemTime] 2012-09-29T21:28:02.000000000Z
EventRecordID 162768
Channel Application
Security
EventData
Application: iisexpresstray.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentNullException >Stack: at System.Runtime.InteropServices.Marshal.FinalReleaseComObject(System.Object) at Microsoft.Web.VersionManager.IisExpressVersion.Dispose(Boolean) at Microsoft.Web.VersionManager.IisVersion.Finalize()
I would greatly appreciate any help in diagnosing and fixing this issue. WebMatrix is going to be almost essential to a project I have coming up soon. Thanks!
For some reason, installing IIS 8 Express fixed the problem.
Just wanted to note that I too had this problem. Based on a previous suggestion, I downloaded IIS 8 Express. It did not install but gave me a chance to repair (so I assume WebMatrix installed it). I selected the repair button and restarted WebMatrix. I am no longer getting the aforementioned error.

Issue with Remove Deployment in Myeclipse

I am trying to remove deployment from the Myeclipse blue edition. I have added the IBM Websphere 6.1 application into the server. Created the AppServer1 profile and then i deployed project there. Now when I want to remove the project from there and when I do so, It says
"An internal error occurred during: "Remove Deployment".
java.lang.UnsupportedOperationException"
I have deleted the C:\Data\IBM\WebSphere\AppServer\profiles\AppSrv01\temp and C:\Data\IBM\WebSphere\AppServer\profiles\AppSrv01\wstemp folder, but that also did not help me.
Please help in same regard.
Thank you !
Check that the application is still deployed by using the WebSphere admin console. If it is, try uninstalling the application from the admin console. Then delete it from the installedApps folder in the profile (if it hasn't gone). Now when you try to remove the deployment in MyEclipse Blue, I think it will give you an error to say it isn't installed on the server but it should remove the record of the deployment from the server connector.
If you still have problems, I suggest you post to the MyEclipse forums at http://www.myeclipseide.com/forums

Resources