Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
232 views
in Technique[技术] by (71.8m points)

Unable to Create Azure Storage Queue Messages with ASP.NET 4.6.1 App

I have an old ASP.NET 4.6.1 app running in a VM on Azure.

I’m trying to create messages in an Azure Storage Queue and nothing is happening when I run it on production VM. However, on my dev machine, it works fine and I can create messages in the same queue that I’m trying to access from the production VM.

The call to the queue is within a try catch block and it’s not throwing any errors.

Another important point is that I had use the old/deprecated WindowsAzure.Storage NuGet package as that’s the one that seems to work on this ASP.NET MVC 4.6.1 app.

Any idea what could be the issue here? Because I don’t see any errors, I’m not sure how to go about fixing this problem.

question from:https://stackoverflow.com/questions/65859572/unable-to-create-azure-storage-queue-messages-with-asp-net-4-6-1-app

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

According to MS Docs, one troubleshooting option you can try is "Redeploy Windows virtual machine to new Azure node"

The doc says,

If you have been facing difficulties troubleshooting Remote Desktop (RDP) connection or application access to Windows-based Azure virtual machine (VM), redeploying the VM may help.

Source: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/redeploy-to-new-node-windows

See also additional troubleshooting steps:

  1. Restart the virtual machine
  2. Recreate the endpoint / firewall rules / network security group (NSG) rules
  3. Connect from different location, such as a different Azure virtual network
  4. Recreate the virtual machine

There are various reasons when you cannot start or connect to an application running on an Azure virtual machine (VM). Reasons include the application not running or listening on the expected ports, the listening port blocked, or networking rules not correctly passing traffic to the application.

Source: https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-app-connection


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...