Search code examples
visual-studio-2015axaptadynamics-365-operations

Unable to connect to Azure storage


I have to save report to PDF. I am using this line of code:

File::SendFileToUser(stream, printSettings.parmFileName(_fileName + #extension));

And getting this error on user screen:

Error image

Error text: Sorry, something went wrong and the file wasn't downloaded.
Sorry, something went wrong and the file wasn't uploaded.
Unable to connect to the remote server at Microsoft.WindowsAzure.Storage...


Solution

  • The AzureStorageEmulator.exe service was not running on the machine.

    You should run the Microsoft Azure Storage Emulator on the PC.
    I was running it through Command Line as AzureStorageEmulator.exe