I am developing an ASP.Net MVC and WebApi site that uses table storage in Visual Studio 2015 on Windows 8. It worked fine in the development environment (when I set UseDevelopmentStorage=true to my web.config). I am trying to click " http: // localhost: 80 " I have to use this and cannot use a different port, have a different program that I send to my site, and it will only publish in this place.
I recently launched a site and received the following error when my code falls into the following line of code: Table CloudTable = cloudTableClient.GetTableReference (table name);
Error:
No connection could be made because the active target machine refused it 127.0.0.1:10002
I tried the following:
1) Uninstall-Package WindowsAzure.Storage -Version 6.1.0 and reinstall it from NuGet
2) Reboot Windows
3) Viewed here C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.7\bin and ran cspack.ext (I could not see anything else that apparently relates to the repository)
It still does not work. Any ideas on what I could try?
Update:
After receiving the error above, I opened the Cloud Explorer window and saw the tables that I created locally in dev with my code (suppose this means that my local storage emulator is running), but I still got the error. Then I closed the window and opened it again. It turned around a little while expanding the "Storage Accounts (Classic)", but ended up showing the tables that I created.
It is strange that the only node in the "Cloud Explorer" window is "Storage Accounts (Classic)", I'm sure there used to be a list of other nodes (i.e. WebApps, etc.). If someone can help with this, you can send step-by-step instructions on what to do (not something like "emulator is not working"). New to this, so you are looking for simple instructions that my hornbeam will understand.
Great importance.
Garth source share