Friday, September 7, 2012

Unable to access the Sliverlight Storage area path to open the saved documents like Excel and Document

Unable to access the Sliverlight Storage area path to open the saved documents like Excel and Document

Hi,

I have an issue with launching any file which i store in the Silverlight Apllication Storage using the IsolatedStorageFileStream.

I can store the file there, but there is nothing by which i can launch my file from there, if i try to access the rootDirectory using the

dynamic storage = IsolatedStorageFile.GetUserStoreForApplication(); it gives the permission error.

I even tried to retrive using storage.RootDirectory but unable to get the name. then I tried to save it at some other path but every where i was getting access denied. I cannot save my file anywhere else in the system using, everywhere i wa getting access denied, even though i have given full permission to that folder.

Can you please help in launching any document from my Silverlight Application.

Answers & Comments...

Answer: 1

Hi nijcapur,

You may try run the application in Out-of-Browser and run the app in elevated trust mode to have the ability of accessing Isolated Storage.

http://blogs.silverlight.net/blogs/msnow/archive/2010/04/20/tip-of-the-day-112-how-to-configure-your-silverlight-app-to-run-in-elevated-trust-mode.aspx

Best Regards,





No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog