BLOB Storage
How can i restrict BLOB storage to store only Video files ?
Hi,
As per my understanding with RBLOB, you can't restric such way only store this type of files in the blob storage.
And if you want more information regarding RBS, please refer the below one.
http://technet.microsoft.com/en-us/library/ff628583(v=office.15).aspx
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer
Similar Messages
-
Getting issue while downloading 4 to 5 gb file from blob storage.
Hi i have to download a file from blob storage upto 3 to 5 gb .
Below is my code:
Label lblfilename = (Label)row.FindControl("lblGrid_filename");
Label lblfilesize = (Label)row.FindControl("lblGrid_hidfileSize");
string downloadfile = lblfilename.Text.ToString();
// DownloadFileFromBlob(downloadfile, CONTAINER, ACCOUNTKEY);
AccountFileTransfer = CloudStorageAccount.Parse("DefaultEndpointsProtocol=https;AccountName=" + ACCOUNTNAME + ";AccountKey=" + ACCOUNTKEY);
if (AccountFileTransfer != null)
BlobClientFileTransfer = AccountFileTransfer.CreateCloudBlobClient();
ContainerFileTransfer = BlobClientFileTransfer.GetContainerReference(CONTAINER);
ContainerFileTransfer.CreateIfNotExist();
BlobRequestOptions options = new BlobRequestOptions();
options.Timeout = new TimeSpan(0, 180, 0);
var data = Regex.Match(lblfilesize.Text.ToString(), @"\d+").Value;
int value32;
Int64 value64;
var blobSize = 0L;
var blockSize = 0L;
var offset = 0L;
if (int.TryParse(data, out value32))
blobSize = Convert.ToInt32(lblfilesize.Text.ToString());
else if (Int64.TryParse(data, out value64))
blobSize = Convert.ToInt64(lblfilesize.Text.ToString());
var blob = ContainerFileTransfer.GetBlockBlobReference(downloadfile);
var sasUrl = blob.Uri.AbsoluteUri;
CloudBlockBlob blockBlob = new CloudBlockBlob(sasUrl);
//blobSize = Convert.ToInt32(lblfilesize.Text.ToString());
blockSize = 5 * 1024 * 1024;
Response.Clear();
Response.ContentType = "APPLICATION/OCTET-STREAM";
System.String disHeader = "Attachment; Filename=\"" + blockBlob.Name + "\"";
//Response.AppendHeader("Content-Disposition", disHeader);
for (offset = 0; offset < blobSize; offset += blockSize)
using (var blobStream = blockBlob.OpenRead())
if ((offset + blockSize) > blobSize)
blockSize = (blobSize - offset);
byte[] buffer = new byte[blockSize];
blobStream.Read(buffer, 0, buffer.Length);
Response.BinaryWrite(buffer);
Response.Flush();
Response.End();
SNAPSHOT of error:
PawanHi Will thanks per the reply
I have make some changes in the code and now i am using the v4.0.30319 azure storage for downloading and able to download a file upto 3.5 GB. Now the problem is that each file size is showing 0 KB.
Here is my code and snapshot:
Button btndownloadrow = (Button)sender;
GridViewRow row = (GridViewRow)btndownloadrow.NamingContainer;
Label lblfilename = (Label)row.FindControl("lblGrid_filename");
Label lblfilesize = (Label)row.FindControl("lblGrid_hidfileSize");
string downloadfile = lblfilename.Text.ToString();
CloudStorageAccount AccountFileTransfer = CloudStorageAccount.Parse("DefaultEndpointsProtocol=http;AccountName=" + ACCOUNTNAME + ";AccountKey=" + ACCOUNTKEY);
// Create the blob client.
CloudBlobClient BlobClientFileTransfer = AccountFileTransfer.CreateCloudBlobClient();
// Retrieve reference to a previously created container.
CloudBlobContainer ContainerFileTransfer = BlobClientFileTransfer.GetContainerReference("filetransfer");
if (AccountFileTransfer != null)
BlobClientFileTransfer = AccountFileTransfer.CreateCloudBlobClient();
CloudBlockBlob pageBlob = ContainerFileTransfer.GetBlockBlobReference(CONTAINER);
ContainerFileTransfer.CreateIfNotExists();
BlobRequestOptions options = new BlobRequestOptions();
options.ServerTimeout= new TimeSpan(0, 180, 0);
var data = Regex.Match(lblfilesize.Text.ToString(), @"\d+").Value;
int value32;
Int64 value64;
var blobSize = 0L;
var blockSize = 0L;
var offset = 0L;
if (int.TryParse(data, out value32))
blobSize = Convert.ToInt32(lblfilesize.Text.ToString());
else if (Int64.TryParse(data, out value64))
blobSize = Convert.ToInt64(lblfilesize.Text.ToString());
CloudBlockBlob blob = ContainerFileTransfer.GetBlockBlobReference(downloadfile);
var sasUrl = blob.Uri;
CloudBlockBlob blockBlob = new CloudBlockBlob(sasUrl);
//blobSize = Convert.ToInt32(lblfilesize.Text.ToString());
blockSize = 4 * 1024 * 1024;
Response.Clear();
Response.ContentType = "APPLICATION/OCTET-STREAM";
System.String disHeader = "Attachment; Filename=\"" + blockBlob.Name + "\"";
Response.AppendHeader("Content-Disposition", disHeader);
// blob.DownloadToStream(Response.OutputStream);
// byte[] bytes = new byte[blockSize];
for (offset = 0; offset < blobSize; offset += blockSize)
using (var blobStream = blockBlob.OpenRead())
if ((offset + blockSize) > blobSize)
blockSize = (blobSize - offset);
byte[] buffer = new byte[blockSize];
blobStream.Read(buffer, 0, buffer.Length);
Response.BinaryWrite(buffer);
Response.Flush();
Response.End();
SNAPSOT:
Please suggest me if i am missing any logic.
Pawan -
How to set CORS properties for BLOB Storage using node?
Hi - I just got started with Azure using a Node-based web site and mobile services.
I am following various documentation in order to provide an API for users to upload images via a time-restricted SAS for the BLOB Storage.
In order to upload my image, I need to set the CORS configuration for the BLOB Storage. Unfortunately this cannot be done via the management portal.
I'm unclear as to how to accomplish this. I'm considering using the startup.js file in my mobile service to make a post request to the BLOB Storage REST API:
http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx
Are there appropriate methods in the Node SDK to make this easier, especially the signing part?
What is the recommended way for setting CORS properties for the BLOB Storage via Node?
Thanks for your help
StefanUnfortunately Node SDK does not support CORS functionality yet. Your option would be to write code which consumes the REST API for setting CORS. Not sure if it helps but there's a free tool out there written by my company which you can use to set CORS
on your storage account. More information about this tool can be found here:
http://blog.cynapta.com/2013/12/cynapta-azure-cors-helper-free-tool-to-manage-cors-rules-for-windows-azure-blob-storage/
Hope this helps. -
How to implement remote blob storage in SharePoint 2013
How to implement remote blob storage in SharePoint 2013
Try below:
http://blogs.technet.com/b/wbaer/archive/2013/05/23/deploying-remote-blob-storage-with-sql-server-2012-alwayson-availability-groups.aspx
If this helped you resolve your issue, please mark it Answered. You can reach me through http://itfreesupport.com/ -
Remote Blob Storage Install - APPCOMPAT: no matching ProductCode found in database.
I am trying to install Remote Blob Storage in Sharepoint Server 2013 with SQL Server 2008 R2 Express, but it is not creating the table in the database.
Here is my script
msiexec /qn /lvx* rbs_install_log.txt /i RBS.msi TRUSTSERVERCERTIFICATE=true FILEGROUP=PRIMARY DBNAME="WSS_Content_Blob_001" DBINSTANCE="SHAREPOINT" FILESTREAMFILEGROUP=RBSFilestreamProvider FILESTREAMSTORENAME=FilestreamProvider_1
Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
APPCOMPAT: looking for appcompat database entry with ProductCode '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}
My SQL server version is 10.50.6000.34
In the log file I found the following lines in the bottom of the file, but the table is not in the content database.
Product: SQL Server 2008 R2 Remote Blob Store -- Configuration completed successfully.
I am struggling with this issue for long. It would be great if someone could help.
=== Verbose logging started: 3/4/2015 15:27:16 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (E4:A4) [15:27:16:166]: Resetting cached policy values
MSI (c) (E4:A4) [15:27:16:166]: Machine policy value 'Debug' is 0
MSI (c) (E4:A4) [15:27:16:166]: ******* RunEngine:
******* Product: RBS.msi
******* Action:
******* CommandLine: **********
MSI (c) (E4:A4) [15:27:16:166]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (E4:A4) [15:27:16:166]: Grabbed execution mutex.
MSI (c) (E4:A4) [15:27:16:182]: Cloaking enabled.
MSI (c) (E4:A4) [15:27:16:182]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (E4:A4) [15:27:16:182]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (00:94) [15:27:16:182]: Running installation inside multi-package transaction D:\RBS.msi
MSI (s) (00:94) [15:27:16:182]: Grabbed execution mutex.
MSI (s) (00:54) [15:27:16:182]: Resetting cached policy values
MSI (s) (00:54) [15:27:16:182]: Machine policy value 'Debug' is 0
MSI (s) (00:54) [15:27:16:182]: ******* RunEngine:
******* Product: D:\RBS.msi
******* Action:
******* CommandLine: **********
MSI (s) (00:54) [15:27:16:197]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (00:54) [15:27:16:197]: Setting cached product context: User non-assigned for product: FB42F99F09B0E3646985F32DFE3C9C29
MSI (s) (00:54) [15:27:16:197]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:197]: SRSetRestorePoint skipped for this transaction.
MSI (s) (00:54) [15:27:16:197]: End dialog not enabled
MSI (s) (00:54) [15:27:16:197]: Original package ==> D:\RBS.msi
MSI (s) (00:54) [15:27:16:197]: Package we're running from ==> C:\Windows\Installer\6847f.msi
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: Uninstall Flags override found.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: Uninstall VersionNT override found.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: Uninstall ServicePackLevel override found.
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: looking for appcompat database entry with ProductCode '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'.
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: MSCOREE not loaded loading copy from system32
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'DisablePatch' is 0
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (00:54) [15:27:16:213]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: looking for appcompat database entry with ProductCode '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'.
MSI (s) (00:54) [15:27:16:213]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (00:54) [15:27:16:213]: Transforms are not secure.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'D:\rbs_install_log.txt'.
MSI (s) (00:54) [15:27:16:213]: Command Line: TRUSTSERVERCERTIFICATE=true FILEGROUP=PRIMARY DBNAME=WSS_Content_Blob_001 DBINSTANCE=SHAREPOINT FILESTREAMFILEGROUP=RBSFilestreamProvider FILESTREAMSTORENAME=FilestreamProvider_1 CURRENTDIRECTORY=D:\ CLIENTUILEVEL=3 CLIENTPROCESSID=10980
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{1AC68E73-94F1-4A01-B229-82B2F73C3326}'.
MSI (s) (00:54) [15:27:16:213]: Product Code passed to Engine.Initialize: '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'
MSI (s) (00:54) [15:27:16:213]: Product Code from property table before transforms: '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'
MSI (s) (00:54) [15:27:16:213]: Product Code from property table after transforms: '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}'
MSI (s) (00:54) [15:27:16:213]: Product registered: entering maintenance mode
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Determined that existing product (either this product or the product being upgraded with a patch) is installed per-machine.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is admin assigned: LocalSystem owns the publish key.
MSI (s) (00:54) [15:27:16:213]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is managed.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: MSI_LUA: Credential prompt not required, user is an admin
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding ProductState property. Its value is '5'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (s) (00:54) [15:27:16:213]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Specifed source is already in a list.
MSI (s) (00:54) [15:27:16:213]: User policy value 'SearchOrder' is 'nmu'
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'DisableBrowse' is 0
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'AllowLockdownBrowse' is 0
MSI (s) (00:54) [15:27:16:213]: Adding new sources is allowed.
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Package name retrieved from configuration data: 'RBS.msi'
MSI (s) (00:54) [15:27:16:213]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'DisableMsi' is 1
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (00:54) [15:27:16:213]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (00:54) [15:27:16:213]: Using cached product context: machine assigned for product: 50E12D65B9762F04491CBDD0E72B4E16
MSI (s) (00:54) [15:27:16:213]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is admin assigned: LocalSystem owns the publish key.
MSI (s) (00:54) [15:27:16:213]: Product {56D21E05-679B-40F2-94C1-DB0D7EB2E461} is managed.
MSI (s) (00:54) [15:27:16:213]: Running product '{56D21E05-679B-40F2-94C1-DB0D7EB2E461}' with elevated privileges: Product is assigned.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding TRUSTSERVERCERTIFICATE property. Its value is 'true'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Modifying FILEGROUP property. Its current value is 'default'. Its new value: 'PRIMARY'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding DBNAME property. Its value is 'WSS_Content_Blob_001'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding DBINSTANCE property. Its value is 'SHAREPOINT'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Modifying FILESTREAMFILEGROUP property. Its current value is 'default'. Its new value: 'RBSFilestreamProvider'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding FILESTREAMSTORENAME property. Its value is 'FilestreamProvider_1'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'D:\'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '10980'.
MSI (s) (00:54) [15:27:16:213]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding MsiRestartManagerSessionKey property. Its value is 'f13e91ecbfc5d34cae7163e948e320cc'.
MSI (s) (00:54) [15:27:16:213]: RESTART MANAGER: Session opened.
MSI (s) (00:54) [15:27:16:213]: TRANSFORMS property is now:
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding PRODUCTLANGUAGE property. Its value is '1033'.
MSI (s) (00:54) [15:27:16:213]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '300'.
MSI (s) (00:54) [15:27:16:213]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming
MSI (s) (00:54) [15:27:16:213]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\Favorites
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\Documents
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Recent
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\SendTo
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Templates
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Local
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\Pictures
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (s) (00:54) [15:27:16:229]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\Users\medsvradmin\Desktop
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (s) (00:54) [15:27:16:244]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
Property(S): PhysicalMemory = 8192
Property(S): VirtualMemory = 7158
Property(S): AdminUser = 1
Property(S): MsiTrueAdminUser = 1
Property(S): LogonUser = medsvradmin
Property(S): UserSID = S-1-5-21-300911508-3398273753-3262312657-1000
Property(S): UserLanguageID = 1033
Property(S): ComputerName = JPNTKYINT01
Property(S): SystemLanguageID = 1033
Property(S): ScreenX = 1024
Property(S): ScreenY = 768
Property(S): CaptionHeight = 19
Property(S): BorderTop = 1
Property(S): BorderSide = 1
Property(S): TextHeight = 16
Property(S): TextInternalLeading = 3
Property(S): ColorBits = 32
Property(S): TTCSupport = 1
Property(S): Time = 15:27:21
Property(S): Date = 3/4/2015
Property(S): MsiNetAssemblySupport = 4.0.30319.34209
Property(S): MsiWin32AssemblySupport = 6.1.7601.17514
Property(S): RedirectedDllSupport = 2
Property(S): MsiRunningElevated = 1
Property(S): DATABASE = C:\Windows\Installer\6847f.msi
Property(S): OriginalDatabase = D:\RBS.msi
Property(S): UILevel = 2
Property(S): ACTION = INSTALL
Property(S): ROOTDRIVE = D:\
Property(S): CostingComplete = 1
Property(S): OutOfDiskSpace = 0
Property(S): OutOfNoRbDiskSpace = 0
Property(S): PrimaryVolumeSpaceAvailable = 0
Property(S): PrimaryVolumeSpaceRequired = 0
Property(S): PrimaryVolumeSpaceRemaining = 0
Property(S): DOTNETCOREPATH = 1
Property(S): SourcedirProduct = {56D21E05-679B-40F2-94C1-DB0D7EB2E461}
Property(S): SOURCEDIR = D:\
MSI (s) (00:54) [15:27:21:049]: Note: 1: 1728
MSI (s) (00:54) [15:27:21:049]: Product: SQL Server 2008 R2 Remote Blob Store -- Configuration completed successfully.
MSI (s) (00:54) [15:27:21:049]: Windows Installer reconfigured the product. Product Name: SQL Server 2008 R2 Remote Blob Store. Product Version: 10.50.1600.1. Product Language: 1033. Manufacturer: Microsoft Corporation. Reconfiguration success or error status: 0.
MSI (s) (00:54) [15:27:21:049]: Deferring clean up of packages/files, if any exist
MSI (s) (00:54) [15:27:21:049]: MainEngineThread is returning 0
MSI (s) (00:94) [15:27:21:049]: RESTART MANAGER: Session closed.
MSI (s) (00:94) [15:27:21:049]: No System Restore sequence number for this installation.
=== Logging stopped: 3/4/2015 15:27:21 ===
MSI (s) (00:94) [15:27:21:049]: User policy value 'DisableRollback' is 0
MSI (s) (00:94) [15:27:21:049]: Machine policy value 'DisableRollback' is 0
MSI (s) (00:94) [15:27:21:049]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (00:94) [15:27:21:049]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (00:94) [15:27:21:049]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (00:94) [15:27:21:049]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (00:94) [15:27:21:049]: Restoring environment variables
MSI (s) (00:94) [15:27:21:049]: Destroying RemoteAPI object.
MSI (s) (00:A8) [15:27:21:049]: Custom Action Manager thread ending.
MSI (c) (E4:A4) [15:27:21:049]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (E4:A4) [15:27:21:049]: MainEngineThread is returning 0
=== Verbose logging stopped: 3/4/2015 15:27:21 ===Hi stecorp75,
To troubleshoot above error, please make sure the following things.
1. Use the RBS.msi file on this link http://www.microsoft.com/download/en/details.aspx?id=16978.
Do not download the rbs_x64 link given in TechNet article
https://technet.microsoft.com/en-us/library/ee748631.aspx .
2. Ensure that you run command prompt as administrator and then run your commands for RBS installation.
3. Follow the steps in this similar
blog to install RBS on SharePoint 2013.
However, if you still fail to install Remote Blob Storage, I would like to recommend you post the question in the SharePoint 2013 forum at
https://social.technet.microsoft.com/Forums/en-US/home?forum=sharepointadmin . It is appropriate and more experts will assist you.
There is a similar thread for your reference.
https://social.technet.microsoft.com/Forums/en-US/23a410bd-9afe-438d-abcb-44363847802a/product-sql-remote-blob-storage-installation-failed
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support -
How to use Blob storage to office 365 sharepoint online library documents
Hello,
Considering that we cant uploade a file with size more than 250 MB and it is recommended using Remote
Blob Storage (RBS) if large files are supposed to store in SharePoint.
My question is, how to use RBS or Azure Blob storage to store files instead of SQL database.
What is the configuration or code i need to write to accomplished this where i would prefer if it can be done simply using some configuration.
any sample or tutorial would be great help.
Thanks,
AsjadHI,
What we did, we deploy small Azure PaaS application what used Azure Blob Storage and table and then show it in Office365 SharePoint online trough iframe. This gives you flexibility to customimze the PaaS application and show the content at blog storage.
We tested this in SharePoint ONline multitenant and Dedicated plus in On Premise SharePoint with the custom code in separate IIS server published trough UAG to Internet. This allows you to save or replace your file server with Azure and small PaaS apps in
and show the content on SharePoint ONline trough Iframe.
Br Petri -
How integrate azure media services with blob storage?
I need to upload lots of content over blob storage which contains different types of files.
Now my problem is that files contains lots of videos also.
I want to way by which i can integrate azure media services with blob storage so that i can stream that video.
So probably i don't want to upload my videos on azure media services storage because i want all my content to be at one place which is blob storage.
Is there any way to achieve this?
Thanks,
Rajesh Khunt
Blog : http://programmersgeek.wordpress.com/
Twitter : http://twitter.com/#!/r_rajeshkhunt
Linkedin : http://in.linkedin.com/in/rajeshkhuntHi Rajesh
Every Media Services account needs a blob storage account associated with it. You can choose an existing blob storage account for that purpose. In order for Media Services to work with your videos you need to create an asset using the Media Services APIs.
That call results in the creation of a container which has the name in the following format asset-<AssetId>. The actual video files need to go as blobs within this container but these files need to be known to Media Services and you can do so by adding
AssetFiles to the asset using the Media Services APIs. Once you do that the asset is well known to Media Services and you can stream it. -
Sharepoint 2010 - how to move content database when RBS (remote blob storage) is enabled
Good day.
I have two Sharepoint Server 2010 instances - test and production.
i've turned on RBS(remote blob storage) on test. In future i want to copy content database from prod to test. What should i do, if RBS is not enabled on production?
And second question. After RBS is on, all new files moves to external storage. I want to move to ext storage files, that already exists in my content DB. I found that i need to create second filestreamprovider
and execute Migrate() for new provider. Can i do this for first provider without creating second?Why dont you plan to use Site backup then instead of database backup
In your case you will have to restore the backup to a RBS enabled SQL server. Then remove RBS from that database.
http://technet.microsoft.com/en-us/library/ff628259%28v=office.15%29.aspx
http://technet.microsoft.com/en-us/library/ff628257%28v=office.14%29.aspx
$site=Get-SPSite "<http://yourSiteURL>"
$rbss=$site.ContentDatabase.RemoteBlobStorageSettings
$rbss.SetActiveProviderName("")
If this helped you resolve your issue, please mark it Answered -
Hi,
My application deployed on azure, and I managed all my file to blob storage.
When i created container with public permission then it accessible for all anonymous users. When i hit URL of file (blob) from different browser, then i will get that file.
In Our application we have some important file and images that we don't want to expose. When we render HTML page then in <img> tag we define src="{blob file url}" when i mention this then public file are accessible, but same URL i copied
and hit to anther browser then still it is visible. My requirement is my application domain only able to access that public file in blob storage.
Amazon S3 which provide bucket policy where we define that for specific domain only file will accessible. see http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html
Restricting Access to a Specific HTTP Referrerhi Prasad,
Thanks for your post back.
All of SAS and CORS could work, but not comprehensive.
For your requirement, " My requirement is my application domain only able to access that public file in blob storage.", If you want to stop the other domain site access your blob, you may need set the CORS for your blob. When
the origin domain of the request is checked against the domains listed for the
AllowedOrigins element. If the origin domain is included in the list, or all domains are allowed with the wildcard character '*', then rules evaluation proceeds. If the origin domain is not included, then the request fails. So other domain didn't access
your resource. You also try the Gaurav's blog:
http://gauravmantri.com/2013/12/01/windows-azure-storage-and-cors-lets-have-some-fun/
If you access CROS resource, you also need use SAS authenticated.
However SAS means that you can grant a client limited permissions to your blobs, queues, or tables for a specified period of time and with a specified set of permissions, without having to share your account access keys. The SAS is a URI that encompasses
in its query parameters all of the information necessary for authenticated access to a storage resource (http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/
). So if your SAS URI is available and not expired ,this URI could be used to other domain site. I think you can try to test it.
If I misunderstood, please let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Unzip contents to a container in blob storage
Hi,
I have a worker role which zips a folder and its contents from the local resource and uploads it to blob storage. Is it possible to unzip the contents of the zip file to a different container in same blob storage ?
Am using ionic.zip to zip the folder.Might be wondering why I am zipping the folder if finally needs to unzip it but what I can tell you is its one of the requirements.
- Ranjit If you found this post useful, Please "Mark as Answer" or "Vote as Helpful".Another option is to zip it into local storage then transfer it back to a new blob container:
CloudBlobContainer container = blobClient.GetContainerReference("myfiles");
CloudBlob blob = container.GetBlobReference("2b5f8ea6-3dc2-4b77-abfe-4da832e02556/AppList/isjirleq/mydocs1.doc");
LocalResource myStorage = RoleEnvironment.GetLocalResource("myLocalStorage");
string filePath = Path.Combine(myStorage.RootPath, "mydocs1.doc");
blob.DownloadToFile(filePath);
http://stackoverflow.com/a/18853179/1280068
http://stuartdobson.net -
How to Secure or mask the Video Streaming on Azure Blob Storage
I have a problem on using my Azure Blob Storage, this is for streaming specifically MP4 files.
I have a wordpress site and I use Azure Blob Storage for my Storage, I use CloudberryExplorer for my browsing and editting
My problem is that, the wordpress site Video Option which is MediaElemtJs have an exposed Video Source (This mean they can use the video source for their own project)
Is their a way to mask or hide the video source? or I can limit the video source that it should only be coming from my sitehi Franz,
Base on my experience, there has two approaches for this issue.
1.Using the SAS in js request.
Like this:
<source src="https://MY-AZURE-STORAGE.blob.core.windows.net/asset-b1ebfc63-4e1f-4c76-b2dd-b040113aa493/MigratingWebSitesAndDatabasesToWindowsAzure_mid.mp4?sv=2012-02-12&st=2013-09-03T17%3A17%3A20Z&se=2015-09-03T17%3A17%3A20Z&sr=c&si=efc57c3c-a025-41cd-a8b1-908231c7aed2&sig=xyiIxmqNdF%2Bo1x7eq89xCUgXkenZLEEpq%2B%2Bo715dT0U%3D" type="video/mp4">
Please see this blog:http://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/
You could set the start time,expire time and permission into your request. And you could use javascript to create the request and set src value. please see this sample (http://gauravmantri.com/2013/02/16/uploading-large-files-in-windows-azure-blob-storage-using-shared-access-signature-html-and-javascript/
2.Create a web handler to handle the request url
You could create a .ashx page and handle the url in .ashx page. Like this:
<video src="videos.ashx?source=file.mp4" width="640" height="480" controls></video>
Please try it.
Also, you could see this threads
http://stackoverflow.com/questions/9756837/prevent-html5-video-from-being-downloaded-right-click-saved form some ideas.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Error when connecting to windows azure blob storage
While trying to upload an image to blob storage i keep getting can connect to ****.blob.core.windows.net
try {
//Get the rocket data
FileInputStream fis = new FileInputStream(mFilePath);
int bytesRead = 0;
ByteArrayOutputStream bos = new ByteArrayOutputStream();
byte[] b = new byte[1024];
while ((bytesRead = fis.read(b)) != -1) {
bos.write(b, 0, bytesRead);
byte[] bytes = bos.toByteArray();
fis.close();
// Post our rocket data (byte array) to the server
URL url = new URL(mBlobUrl.replace("\"", ""));
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection();
urlConnection.setDoOutput(true);
urlConnection.setRequestMethod("PUT");
urlConnection.addRequestProperty("Content-Type", "image/jpeg");
// Write image data to server
DataOutputStream wr = new DataOutputStream(urlConnection.getOutputStream());
wr.write(bytes);
wr.flush();``
wr.close();
int response = urlConnection.getResponseCode();
//If we successfully uploaded, return true
if (response == 201
&& urlConnection.getResponseMessage().equals("Created")) {
return true;
} catch (Exception ex) {
Log.e(TAG, ex.getMessage());Hi,
What detailed error have you encountered? Please try to add content-length as below, hope it helps, if not, please give more information here.
urlConnection.setDoOutput(true);
urlConnection.setRequestMethod("PUT");
urlConnection.addRequestProperty("Content-Type", "image/jpeg");
urlConnection.setRequestProperty("Content-Length", ""+ bytes.length);
Best Regards,
Jambor
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Renaming files in blobs storage
Hi,
I want to rename files in blobs storage which are inside the container. I can't find any demo code. Please help
Regards,
NitinPlease note that rename operation is not natively supported in blob storage. So in order to rename blobs, you would need to perform 2 operations - Copy & Delete.
So what you will do is copy the blob to a new name. Because copy operation is async, you must wait for the copy operation to finish. Once copy operation is completed successfully, you would then delete the blob.
Hope this helps. -
Hi,
I'm starting to use Azure Java APIs; blob storage to be precise. I would like to know more about the Storage SDK. Have a specific question about Azure Storage SDK:
Does it use REST APIs internally to store and retrieve files? How about the performance?
Note: I'll be running all my code on a Azure Virtual Machine.
Thanks in advance.You might want to post this in storage forum. Just my thoughts (not authoritative)
I am not sure about the performance. I will expect Java SDK to use the REST service and performance targets are specified here.
https://msdn.microsoft.com/en-us/library/azure/dn249410.aspx. Assuming you are trying to do read from with in the same region, performance should be good.
Another tip to improve the performance is to create an affinity group and have virtual machines and storage accounts created with in same affinity group (which should give better performance, as affinity group is a small/nearby set with in a single region).
More than API performance, I will suggest to choose the right design for your blob types, based on your requirements.
https://msdn.microsoft.com/en-us/library/azure/ee691964.aspx -
Best Blob Storage Locations for Russia
Hi,
Which is the best region/location of Blob Storage for serving Russia Region?hi,
You could select the data center nearest to your location. I suggest you could refer to this blog (http://joranmarkx.wordpress.com/2012/01/16/microsoft-azure-data-center-locations-worl-wide/).
You could choose Netherlands (Amsterdam) to host your project.
And you could refer to this CDN node list (http://blogs.msdn.com/b/windowsazure/archive/2010/08/09/20-nodes-available-globally-for-the-windows-azure-cdn.aspx)
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hi All,
I just started playing with the stream analytics to build a proof of concept app for our analytics. We're developing a widget that has millions of "loads" each day, these are the events we want to have analytics for.
Due to the amount of data I'm trying to store the data in blob instead of sql. I've managed to configure the output to use blob storage. Is there a way to configure output to create a new blob every hour/day or similar?
BR,
Max.Hi,
I guess I can have a scheduled job running in my worker role that uses the management rest api to execute the following steps at predefined intervals.
1. Stop the job
2. Update the name of the job output file
3. Start the job again using a custom time equal to when the job was stopped.
Do you see any issues with this solution until support for partitioning the output is available?
BR, Max.
Maybe you are looking for
-
How Can You Tell if the URLRequest Variables Are Posted?
Hi, This sounds really odd, because I happen to have three variables I am supposed to pass to an httpservice and have the results output to my Flex app. The problem is, I don't know how I can tell if a variable has been posted or not, because no matt
-
Hello, I'm trying to plan a ConfigMgr 2012 site that will be used by multiple groups who do not interact with one another. I'd like to divide this site into managerial groups using security scopes and RBAC, ideally so members of one group cannot view
-
Call browser based css file in Design Manager master page
I created a sharepoint 2013 master page from design manager and now i want to add a reference file to call a css file when the site is opened in internet explorer 8,i called the css file in my master page as below <!--[if IE 8]> <link href="/Styl
-
Adding to the play count number
Is there a way to add to the playcount without: playing the song and clicking the end of the timeline bar and repeating? I like to keep the playcount, espcially when getting rid of duplicate songs.
-
Logon Failed: Invalied username or password displayed on CCM User Page
Can anyone help me finding the solution for above error message. My Call Manager version is 6.0.1. Please provide the steps for troubleshooting it.