Azure Blob issue

Dec 3, 2012 at 4:17 PM

Hello, 

I have an issue during upload stream to blob storage. I have an application that uses DAC services to backup a database using this code (in worker role).

 

var blob = container.GetBlobReference(blobName);

DacServices service = new DacServices(connectionString);

                var ms = new MemoryStream();

                service.ExportBacpac(ms, dbName); 

              ms.Seek(0, SeekOrigin.Begin);

                blob.UploadFromStream(ms); 

ms.Dispose();

When i run this app in local azure emulator, I don't have any issues. All backups are made and everything is okay.

However when i come to actual Azure, i got in stuck:

A blob is created, and worker role writes smth to it. But it's "Last Modified" time is changing all the time, and the blob uploading is never end...

Could you please provide me some help?